Google App Engine: Backends not responding - google-app-engine

I have been using google app engine for months now and have 2 hourly cron jobs in the backends.
For the past 24 hours we are seeing very strange behavior in the backends:
Both cron jobs are marked failed with no error. There is no trace in the logs that they started and failed.
When trying to upload a new version to the backend, the following error appeared: java.lang.RuntimeException: Version not ready.
I also tried to stop the backend from the admin console but when I try to start it again I get a Server Error: "A server error has occurred."
Help! Anyone?

There's some Server side issues occuring with GAE at the moment. They have also indicated a server-outage at Feb-29. Not sure if these are related.

Related

App Engine Deployment with Cloud Build failed with an "operation is already in progress" error

I try to deploy a new version of app engine service with google cloud build with following steps:
deploy maintenance dispatch.yml to route all requests to maintenance page
Upgrade database
deploy new version
deploy dispatch.yml to route requests back to default service
The first three steps are working, but step 4 results in the following error:
an operation is already in progress
Screenshot of error message
The running GAE process is the one which is stopping the previous version.
So how can I find the running process and wait until it is stopped before
I deploy the dispatch.yml?
Per the documentation, to migrate traffic from one version to another, you should use the set-traffic command. So I think your step 4 should be replaced by the set-traffic command
I could solve the problem by myself with the following statement:
gcloud app operations wait $(gcloud app operations list --format="value(id)" --pending --limit=1) || true
This would wait for a running operation. In my case I had to add this line twice because there where to running operations to wait for.

Google Cloud Server suddenly stopped working with 408 Error

Google Cloud Server suddenly stopped working. Yesterday I got the error , " Error establishing database connection".
Today it is "Request Timeout
Server timeout waiting for the HTTP request from the client"
Any suggestions to get over this issue??
This could happen based on the configuration you have on your app.yaml. If the instances are overloaded you might encounter a 408 when trying to communicate with the server, in that case changing the scaling configuration on your yaml file might fix the issue.
This document can help you with configuration of your yaml file, information with auto and manual scaling, healthcheck, readiness check etc.
And this article would give you general information on how scaling work on App Engine and best practices.
Also, if you’re using WordPress, this is a common issue with WordPress

App Engine: deploy error

I was trying to deploy my service on app engine, It's my 6th service (including the default service). And I got this error after significant amount of time:
Error Response: [4] Timed out waiting for the app infrastructure to become healthy.
I deleted all my services from the app engine. And tried again and i got that error again, but this time i was deploying my services in a different order, so the 6th service was different. But the error occurred on 6th service deploy again.
I searched the logs and found this suspicious record:
write_gcm: wg_transmit_unique_segment failed.
Also from the logs I understood that the service was run, but after some time the system shut it down.
In this condition i can't deploy any services, i get this error.
What am i doing wrong?

Google app engine Server Error. Where is the log?

After deploying my application on google app engine I get this error:
Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
Brower tab says "500 Server Error".
The problem is there any way to actually know where the error occurred? Or why am I seeing this error?
You can see the app's logs in the Developer Console.
If your app has multiple modules you should check the logs for each module, see log messages from non-default module not showing up in google app engine console.

Error when deploying application on Google App Engine

I have created an application using google app engine platform. Initially I tested the application locally using the GAE SDK with Eclipse and everything works fine. When I m trying to deploy it on Google`s server I get the following error:
" Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it. "
This is a very generic error. Is there a way to see the server`s log to get an idea of what might have went wrong?
Thnx
Well after looking around on GAE site , I found that you can view the server log in the following location:
Admin console -> "MyAppplication" -> Logs

Resources