[google-appengine] Re: 502 Server Error | App engine NodeJS, SocketIO

2020-04-30 Thread Mr Fambo


[image: Screenshot 2020-05-01 at 12.37.22 AM.png]

I have updated the resources to your suggested values. Let's see if it 
resolves the issue. If it doesn't i will report to public issue tracker.

On Thursday, April 30, 2020 at 1:54:36 PM UTC+5, Mr Fambo wrote:
>
> I am continuously having my App Engine instance restarted again and again. 
> It gives me 502 Server error. Logs not showing anything except for
>
> [error] 33#33: *7177 recv() failed (104: Connection reset by peer) while 
> reading response header from upstream, client: 35.191.1.226, server: , 
> request: "GET /readiness_check HTTP/1.1", upstream: "
> http://172.17.0.1:8080/readiness_check";, host: "10.128.0.45"
>
> I do have my /readiness_check up and running on Express. I am using 
> websockets (socket.io) on my instance. So far i see no any logs related 
> to app failures. 
>
> If i go to monitoring i see Nginx -> Agent CPU Utilisation 100% when the 
> app went down.
>
> How can i fix this?
>
> ```
> # [START appengine_websockets_yaml]
> runtime: nodejs
> env: flex
>
> inbound_services:
> - warmup
>
> automatic_scaling:
> max_idle_instances: 1
> min_num_instances: 2
> max_num_instances: 5
> cool_down_period_sec: 180
> cpu_utilization:
> target_utilization: 0.6
> target_concurrent_requests: 100
>
> network:
> session_affinity: true
>
> liveness_check:
> path: "/liveness_check"
> check_interval_sec: 30
> timeout_sec: 5
> failure_threshold: 2
> success_threshold: 2
>
> readiness_check:
> path: "/readiness_check"
> check_interval_sec: 5
> timeout_sec: 4
> failure_threshold: 2
> success_threshold: 2
> app_start_timeout_sec: 600
> # [END appengine_websockets_yaml]
>
> [image: Screenshot 2020-04-30 at 1.19.38 AM.png]
>
> [image: Screenshot 2020-04-22 at 11.11.16 PM.png]
>
> [image: Screenshot 2020-04-30 at 1.37.18 AM.png]
>
> [image: Screenshot 2020-04-30 at 1.37.46 AM.png]
>
> [image: Screenshot 2020-04-30 at 1.39.25 AM.png]
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bc8313ea-6246-434c-802b-95d174f5dd5b%40googlegroups.com.


[google-appengine] Re: 502 Server Error | App engine NodeJS, SocketIO

2020-04-30 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hello,

I see you are using the default resource settings 
in
 
your yaml file that doesn't seem to be sufficient. Could you increase the 
CPU (I recommend at least 4 cores) and memory to see if this resolves the 
issue? If the issue still persists, you may report it to the public issue 
tracker  so that we 
would be able to look into it efficiently. 


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ddc36936-2857-4438-ac63-185e422c5384%40googlegroups.com.


[google-appengine] Re: "502 Server Error" during Cloud-Build Deployment with customized nginx-config

2019-05-24 Thread 'Harmit Rishi (Cloud Platform Support)' via Google App Engine
Hi, 

Based on what you have described, it seems you are encountering issues with 
during the deploy step of your build. The downtime may be related the App 
engine environment that you have set up for the artifact. If you are on 
flexible, there is a known issue of prolonged serving time to be within the 
minutes range. You may find further details about this here 
. 

You may find the best practices document here 
 useful as 
there are a few tips and tricks included regarding for speeding up builds. 
Please feel free to determine if "Building leaner containers 
" 
would be useful in your use case as this helps separate the building of the 
application within your container image. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bc15d034-205d-45f2-8fa0-01f55d5e460d%40googlegroups.com.


[google-appengine] Re: 502 server error app engine flexible

2017-06-07 Thread Tejas Upmanyu
Thanks man !

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/59a4cd52-02ec-441e-ae65-1e68cef71228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 502 server error app engine flexible

2017-06-07 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
It looks like your application is not responding to the nginx health 
checks, and this is causing nginx to throw 502 bad gateway 
. 

I suggest you first follow a Vapor on App Engine tutorial  
to
 
get a working Vapor configuration running on App Engine. Once you have 
Vapor setup and running you can then add your application to the working 
configuration. 

Note that Google Groups is meant for general product discussions and not 
for technical support. If you require further technical aid with deploying 
Vapor on App Engine, it is recommended to post your questions on Stack 
Overflow  using the 
supported Google Cloud tags. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c13ae9db-926b-4fae-ad52-8a9089a41990%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 502 server error app engine flexible

2017-06-07 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
I see that you have set your project to be deleted, and this may be the 
reason why it will not server. You can follow the Restore a Project  
steps to attempt to 
recover your project from deletion. Note that if it has been more than 
seven days you may not be able to perform the recovery. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/55a0261f-c78c-4e8b-9df1-204290828083%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 502 server error

2017-03-17 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Teofilus,

This forum isn't meant for specific technical issues, and should be used 
for more high level and general discussion about the platform, services, 
design patterns, etc. If you'd like assistance with a technical issue, 
please post to Stack Overflow  on an appropriate 
tag (google-app-engine 
 perhaps). We 
monitor Stack Overflow regularly and you'll find a much larger community of 
users there to assist you.

Now before you go, I do have some advice:

First, have you tried searching online for other users who have seen an 
issue like this? Usually you won't be the first person to see an issue and 
the work of others can be leveraged to find solutions more quickly. 

Second, you should post more details when reporting a technical issue, such 
as: 

* what kind of app you deployed
* any relevant configuration file details
* what logs you had specifically checked
* confirmation that you set the log viewer levels correctly to capture all 
logs and/or all logs sources
* how long it's been since you deployed the app
* whether the issue recurs repeatedly or just occasionally


These sort of details will help the users on Stack Overflow to begin 
working on understanding what might have caused your issue.

Once you post there, feel free to provide a link here - I'll be happy to 
jump on the thread there and assist!

Cheers,

Nick
Cloud Platform Community Support

On Friday, March 17, 2017 at 3:07:09 PM UTC-4, Teofilus Candra wrote:
>
> My google appengine show 
> "Error: Server ErrorThe server encountered a temporary error and could 
> not complete your request.Please try again in 30 seconds.
> " when page opened..
>
> But no error in log and when i push new code, it will always say "internal 
> server error"
> Anyone can help?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9d9e7d9b-505b-4443-9373-e6870da99103%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 502 server error appears google appengine? Why

2009-02-17 Thread Marzia Niccolai
Hi,

Also, please check your application logs, as this may give some indication
as to what error has occurred.  Logs can be found at
http://appengine.google.com/logs?&app_id=YOURAPPID

-Marzia

On Mon, Feb 16, 2009 at 10:54 PM, app engine dude
wrote:

>
> i came across the same problem with my app.try correcting your
> app.yaml file.and name it correctly.also main file'/' should be named
> correctly.the main reason is your app.yaml might be broken.
>
> On Feb 17, 10:53 am, frank Shi  wrote:
> > Screenshothttp://
> picasaweb.google.com/frankshiapp/EcOuqF?authkey=UrB5Bqpe5l4#53...
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: 502 server error appears google appengine? Why

2009-02-16 Thread app engine dude

i came across the same problem with my app.try correcting your
app.yaml file.and name it correctly.also main file'/' should be named
correctly.the main reason is your app.yaml might be broken.

On Feb 17, 10:53 am, frank Shi  wrote:
> Screenshothttp://picasaweb.google.com/frankshiapp/EcOuqF?authkey=UrB5Bqpe5l4#53...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---