App server stopped responding 10054 (Google Cloud) - google-app-engine

I have deployed an app on gcloud and used to work regularly, then suddenly when I send request to it I receive this error:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
It happened before and then I created another Project and deployed the app and it worked, Now, when I do this, it is not working.
I also tried to disable the app and then enable it, but no use,
I tried to make manual or basic scaling, but no use.
I read that I may wait and run the app later as it is a problem of the cloud server. I ran the app later and it worked. Now it is not working again. What should I do to solve the issue?

Related

WebSocket connection to 'wss://<website>:<port>/ws' failed:

I am experiencing a web socket connection error when I have not used web sockets anywhere in my codebase.
Below is an image of my problem:
Breakdown
I have two applications hosted on Heroku, one for the frontend client and one for the backend server. The client is developed with React and the server is developed in Python / Flask. The server is not showing any of these error messages.
This error will periodically show up and I'm not too sure what the root cause is as there's no real way to trace back to the file shown in the image.
All the posts I've found relating to this error has code that uses web sockets in their codebase which is much different from my situation.
I was wondering if anyone else experienced this and found a work-around.
The problem was that I was using the development server in the production environment. This shows how to set up a production environment for Heroku.
Cheers.

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

Connection to Website possible in Chrome App but not in standalone app

I am testing links from a server which is only reachable via a VPN.
The test runs perfectly in the chrome app, but when I run it in the standalone app, I get the message:
The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
Connection closed without sending a data
Does anyone knows why this is happening and how I could possibly solve it?
I have the latest release of the chrome app and standalone app and I am using a Windows 10 64bit machine.

GAE Server Error when Opening App in Console

When I open up the Google App Engine console and click on one particular app I get:-
Server Error (500)
A server error has occurred.
Additional info:-
This only happens for one app (I have 8 in total).
The app is deployed and I can view it no dramas via the appspot URL.
It happens as soon as I click the app name in the "Applications Overview" page - I am unable to view the console for that app at all.
There are no errors when deploying from the GAE Launcher and I've tried re-deploying several times.
I was able to login yesterday morning but have been receiving this error since yesterday afternoon.
The app is Python (as are all my apps).
I tried logging in "incognito" and on a different PC without success.
I also tried deleting all the *.pyc files and re-compiling them but it made no difference.
Has anyone else come across this issue? Any suggestions on how to resolve it?
Thanks.
The issue was my YAML file contained:-
- url: /.*
script: about.application
Once I changed this so that the "about" page wasn't so greedy, it has worked.

Windows Azure Cloud Service connection with sql database

I have been making requests to my cloud REST Service over the two past weeks. Everything was fine until yesterday.
Over the past days, I kept re-publishing my service to the cloud to test some of its operations with a client. I DID NOT change anything in my web.config, just some method bodies.
Yesterday, by making the simplest GET request to my service, through my browser or Advanced Rest Client, i started getting the following error:
The server encountered an error processing the request. Please see the service help page for constructing valid requests to the service. The exception message is 'The underlying provider failed on Open.'. and so on
I suspect after doing my research that this means I clearly have a connection error with my database which I don't get since it was working fine so far.
I also tried to Stop and Start my service in the Azure Production Enviroment but without any luck. Also the server firewall is configured as it should be.
Any answers would be much appreciated.
Thanks.
In my experience these generally tend to be azure service outages. There is currently 'Scheduled maintenance' occurring on all DB instances which may be affecting you.
http://www.windowsazure.com/en-us/support/service-dashboard/

Resources