3

Logs

# [START app_yaml]
runtime: nodejs
env: flex
service: 'frontend'
env_variables:
  DEPLOY_ENV: 'PRODUCTION'
handlers:
- url: /.*
  script: IGNORED
  secure: always
resources:
  cpu: 2
  memory_gb: 4
# [END app_yaml]

Autoscaling is working but continuously 502 coming on Google Flexible Environment (NodeJs). See logs, response time is only 0, 1 and sometimes it's more than that. Any help would be very appreciated.

Log

Log

Shakir Khan
  • 289
  • 3
  • 12

1 Answers1

0

Are all your requests getting 502s or only some of them? Did you have it working before? What changes did you make?

If all your requests are getting 502s and it's never worked before, then it's likely you don't have it setup properly. Please make sure your app is listening to port 8080 and it should work.

If it worked before and it's continue to work now without any code change, then any transient issue should be investigated on our end. Please file a issue on our Public Issue Tracker, thanks.

Ying Li
  • 2,500
  • 2
  • 13
  • 37
  • Some requests are getting 502 (Randomly). It's not like one or two end point is getting 502. Its coming on random requests and 502 comes continuously around 10 per second. App setup is fine (https://hero.wooplr.com/) and we have been using gae from last 4 years. – Shakir Khan Oct 01 '18 at 08:51
  • If no code changes were made and it does work a majority of the time, then it's like an issue that needs to be investigated on our end. I updated my answer. – Ying Li Oct 04 '18 at 15:03