Coding n00b here - I have a website here which is a python site on appengine:
http://www.7bks.com/
And it's currently down. Completely unavailable. My appengine dashboard appears normal, no quota denials, no errors and when I try and visit there's no log generated (because I can't even reach the site).
I also can't reach the application directly via the appspot URL so it's not an issue with my domain name.
The Appengine status shows everything is groovy:
http://code.google.com/status/appengine/
So what gives? How do I figure out how to get it back online? Not even sure where to start debugging. I've not pushed any code for a few months so everything should be just ticking over?
UPDATE: hey guys, never got to the bottom of why this was happening but I shifted my DNS to the GoogleDNS (http://code.google.com/speed/public-dns/) and it seems to work fine now so I guess it's solved :)
Check if you have a DNS problem
Open the application with Google Chrome and when you get an error you will see the error code with the explanation on the bottom.
Check if you have a link issue
In a terminal type
traceroute http://www.7bks.com/
and see what it gives
Anyway it is more likely to be a DNS issue.
Related
Three days ago, I was able to access my website deployed onto Google App Engine with no issues. Since that time I haven't changed anything in the files for my project, but when I deployed recently I was given a site can't provide a secure connection error, and the website was sent an invalid response.
I'm not sure whether this is an issue on App Engine or my code, as this only occurs with the most recently deployed instance of the website on App Engine. For example, I have deployed once, been given this error, then deployed again a couple minutes later, and that initial instance that is now second in line (with 0% traffic) works fine, while the new most recent (active) instance with 100% traffic, has the same error.
I am working with a Flask framework with the correct file structure, including static & templates folders, app.yaml and main.py files. I'm happy to post specific code snippets as requested in comments, I just don't know what code would be helpful to diagnose since there haven't been any changes since it was working fine a couple days ago with the same code.
Any ideas and advice is greatly appreciated.
UPDATE:
Removing the 's' from https takes me to the following page... clicking 'proceed anyway' takes me to the website just fine though
Couple of things to try to diagnose:
Check for errors locally, on your dev server. May have a 5xx error in your new code.
Navigate to http(without the 's')://your-app-and-version.appspot.com to see if that loads.
I've recently started using selenium for a project I've been working on for a while that involves automation. One of the roadblocks in the plan was the ReCaptcha system, so I decided to use anti-captcha as the service that would solve the captchas when my bot encountered it. I properly installed the plugin and found some test code with selenium on their site.
I've followed the instructions and am receiving no errors while the code is running, but after it times out I am receiving the error message pertaining to this line at the very end:
WebDriverWait(browser, 120).until(lambda x: x.find_element_by_css_selector('.antigate_solver.solved'))
I don't know what I'm doing wrong and would appreciate some help figuring out the problem so I can get the service running. Apologies for my formatting and if my question is not very good I'm new to this.
What is the error message received that indicates there is a problem with the last line?
Does your code include the send form instruction after this line:
Sending form browser.find_element_by_css_selector('input[type=submit]').click()
You may search for more information here:
https://python-anticaptcha.readthedocs.io/en/latest/usage.html#solve-recaptcha
Since you haven't actually added exact errror you are getting, i believe it is a TimeoutException error. Go to your browser console and check for the error shown there. it will most likely be something to related to the api key and low funds in your account.
I've tried to resolve my problem but didn't succeed. When I start the Development Server from Django, I try to access http://127.0.0.1:8000/, but when entered in the Browser it always adds the part /catalog at the end of the URL. I then get an Error (http://i.imgur.com/4eMEqkc.png). I know that it should show the site "It worked!". I have tried to delete all projects and reset all settignd I have changed but it still redirects me every time.
Has someone an answer to this problem?
solution: By deleting the browser data about the page it works.
I went through the instructions on for the Google Glass Python Quick Start. I deployed the app and the app supposedly finished deploying successfully. I then went to the main URL for the app and attempted to open the page. The page asked me which Google Account I wanted to use to access the app, and I chose one. It went through some type of redirect and then came back to my app and tried to open up the openauth2callback page at which time nothing else happened. It just stopped on the openauth2callback page and sat there whitescreened.
I assume that the app is supposed to look like the sample app that was posted where I should see timeline cards and be able to send messages, but I don't see any of that.
I checked my oauth callbacks and they look exactly like the quick start instructions said to make them. What am I missing?
A couple of things that are standard debugging practices, and you may want to update the original question to clarify:
Did OAuth actually fail? What information do you have that it failed? Can you verify from web server logs that the callback URL was hit and that it contained non-error return values?
Can you check your web server and app server logs to see if there are any error messages or exceptions logged?
This is a direct follow up to the information provided in this question:
Enter website by logging in Google Account using Python
One of the suggestions I found, was to follow this google tutorial for python:
quick start for python
And I am having some problems because of the heavy changes in the interface.
My biggest problem is in Step 1 - 3b. Aparently I have to paste these values:
http://localhost:4567
http://mysite.example.com
https://mysite.example.com
in some place, but I have no idea where.
So I simply continued with the tutorial, and launched the application on my localhost on port 4567.
Now, the application launched fine, but when I click the login button I get an error:
Error:invalid_client
no registered origin
Request details:
scope=https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/plus.moments.write https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.profile.agerange.read https://www.googleapis.com/auth/plus.profile.language.read https://www.googleapis.com/auth/plus.circles.members.read
redirect_uri=postmessage
state=303270744|0.3942616991
origin=http://localhost:4567
display=page
request_visible_actions=http://schemas.google.com/AddActivity
cookie_policy_enforce=false
response_type=code token id_token gsession
access_type=offline
cookie_policy=single_host_origin
proxy=oauth2relay678941372
client_id=933139289991-iigr70l8u8rbjecm6vrrs3bj4fck0ptu.apps.googleusercontent.com
authuser=0
Am I getting this error because the tutorial I am following is very outdated, or because I didn't do Step 1 - 3b correctly?
How can I fix this? All I want is to log in into a google account, if there is an easier way to do it with python, feel free to let me know :S
The problem is that the tutorial tells you how to set up the project using the Google API Console (see the link in Step 1, the first item), but Google is slowly moving people to use the Cloud Console instead. So if you follow that link, you get redirected to the new Cloud Console. If you want to get back to the API Console (so you can follow the rest of the steps listed there), you should see a message at the top of that page that says:
If you click on the "Go back" link, you'll be back at the API Console and you can follow the rest of the steps listed in the tutorial.
Steps 1-3b are important, since they are how you setup a Project, indicate what API resources it has available to it, and indicate how you will be accessing the project. It also will give you the Client ID and Secret that your python program will use when connecting to Google's servers.