502 Error while downloading proxy configuration from edge server to edgemicro server

Hi Team,

We are getting 502 Error while downloading proxy configuration from edge server to edgemicro server. We are seeing the above errors intermittently in our production servers. During this error duration the edgemicro node process went down. We are seeing below errors in edgemicro start up log.

Checking for change in configuration

info: jwk_public_keys download from null returned 200 undefined

warning: products download from http://xxxxxx:8001/edgemicro-auth/productsreturned502Bad Gateway

warning: config download fromhttp://xxxxxx:8001/edgemicro/bootstrap/organization/wag-apigee-prod/environment/prodreturned502Bad Gateway

Thanks,

Satya

0 1 152
1 REPLY 1

Satya, one quick way to troubleshoot this problem might be to start a trace session in edgemicro-auth API proxy using New Edge UI and see whether edgemicro-auth API proxy is receiving above API requests which have failed with HTTP 502 Bad Gateway error:

https://docs.apigee.com/api-platform/debug/using-trace-tool-0#howtousetrace

Sometimes, you may have a firewall or another proxy server in the middle (between Edge Microgateway and Apigee Edge) and the requests might be failing there. If above API requests are received by the edgemicro-auth API proxy we should be able to find the reason for raising HTTP 502 errors via the trace session.