I have a Google App Engine application that runs locally and when uploaded. In order to make a certain kind of experiment, I make a copy of it and it runs locally, but when I upload it (to a different web location) I get a 403 error. I am stumped. Has anyone else using GAE encountered this problem? Is there some clever way to use the browser debugger to get more information about the problem?
It was just a stupid mistake, so never mind. Sorry.
Related
I've setup Google App Engine to run my AdonisJS API for my website. I update the code using the CLI for google cloud services ("gcloud app deploy"). I get a success message from the terminal, and I have checked both the cloud build and version number, and both are the most recent deployment. However, when I try to use my website, I get an error due to the API using old code and trying to access table columns from my database that no longer exist. I have downloaded the most recent cloud build file and checked the codebase within it and the updated code is there. I have also tried deploying multiple times, and it still is using the old code. Does anyone know why this is happening and/or how to fix this?
If you need more information, let me know. Thanks
ANSWER:
Fixed this a while ago, but wanted to update here just in case others ran into this. I discovered that when deploying to GAE through the command line, my build command wasn't running prior to the deploy since my script had an error, so it was uploading updated code, but not an updated build. So just make sure to run the build command prior to uploading to GAE and everything should work.
In console.cloud.google.com, go to your GAE project and check which version of your project is running I.e. which one is receiving traffic
Clear your cache.
Recently one of our sites got suspended by Google Ads due to "Destination Not Working". When I talked with Google Support they told me that my site is not accessible from all location globally. Then I tried to investigate, the site is hosted on Google App Engine. And I didn't find any 500 errors. But sometimes some website checking tools like "Uptrends" showed me inconsistent error "Http Protocol Error"/500 error. Then I tried to see closely on Google stackdriver logging and ran several tests on Uptrends and on other tools. But I saw something like this.
And on App Engine logging, I saw something like -
And also sometimes some HTTP request is not hitting my app so my app logging is not working and it's bothering us so much. We are losing tons of our marketing budget due to this facts. So it would be great if anybody come forward and tell me any clue to test and help me to investigate.
204s mostly happen because of RAM issue, so boosting to a bigger instance type usually clears these up
https://issuetracker.google.com/issues/35900014
I've gotten a 204 before and it was because there was a memory leak in app engine's ssl library. I was passing it the string to a cert file and it wasn't closing those files. The work-around to fix it was to handle the opening and closing of the file myself and pass it the file handle instead.
If you pay for Google Cloud Support, they may be able to help dig into things that are not visible to you.
i can;t deploy app to GAE anymore.
App deploy was always stuck with time out.
Some days ago app was working fine. I was able to deploy. I'm sure.
I pickup old version, just to eliminate possibility that something wrong with app
I try to deploy with all reasonable parameters.
I try delete all services (except default which i can't delete, however i uploaded basic one line app)
I already try most of advice which i found on web
I try to disable App engine.. It failed, however after some time i was able to Disable it.
Now i'm not able to enable GAE.. i see folowing error:
ERROR: (gcloud.app.deploy) Unable to deploy to application [**************] with status [USER_DISABLED]: Deploying to stopped apps is not allowed.
Any advice is welcome:
- How to enable GAE
- How to avoid time outs during deploy App to GAE
Thanks a lot
The public issue tracker is a good place to put bugs and/or feature requests. For faster and more urgent issues, contact the Google Cloud Platform support team directly and they will be able to assist you.
Your issue could also simple be a propagation delay, so if in 24/48 hours and you still can't, then it's likely a bug. Furthermore, you can always deploy to another project if it's all the same to you.
I have created an web application. It runs perfectly in localhost. when i deployed to Google App Engine, it works but one particular page is not running. It does not throw any exceptions but shows ERROR : NOT FOUND (404)
I understand this is file not found error but don't know why is this is error shown. even when i deploy it shows "application deployed successfully!".
can anyone help me to fix it.
thanks in advance!
Be careful with which slashes you use in your code when using paths and links. In windows, the backslash '\' is used, meanwhile Linux uses forward slashes '/'. Often this isin't an issue but it does cause problems once in a while. Also this explains why it would work fine on your localhost, but not once you deploy it.
I am using the Eclipse with the Google AppEngine plugins (Java) and following the http://code.google.com/appengine/docs/java/gettingstarted/uploading.html tutorial.
Everything works fine locally, but when I try to deploy to AppEngine I get an error
"Error While signing in"
An error occurred while trying to sign in 400 bad request. See the error logs for more details.
This error is before I enter any login info or anything.
I am copy/pasting the App ID from the AppEngine website so Im pretty sure I got it right.
I have no idea where the logs are on this thing, so any help there would also be appreciated.
Try logging out and back in again. That worked for me.
Change your proxy settings!
Please go to Window -> Preferences
Then from General find Network Connections and update your proxy settings.
This must solve your issue.