550 internal server error while starting edgemicrogatewy

Not applicable

HI,

I am following the steps at

https://docs.apigee.com/microgateway/content/edge-microgateway-home to install and configure microgateway on my local machine to connect with my trail Apigee Cloud Edge Account. On running the

the

edgemicro start -o yellapragada -e test -k ********************************************* -s

*******************************

i get the following error :

Warning: products download from https://yellapragada-test.apigee.net/edgemicro-auth/products returned 500 Internal Server Error
warning: error downloading config, please check bootstrap configuration [Error: Internal Server Error]
failed to retieve config from gateway. continuing, will try cached copy..
[Error: Internal Server Error]
cache configuration /home/sailendra/.edgemicro/yellapragada-test-cache-config.yaml does not exist. exiting.

PS - my configuration file was saved at

/home/sailendra/.edgemicro/yellapragada-test-config.yaml

Why is the server start up looking at a different location. Is there a way i can provide the config file location when i start the microgateway.

Any help is deeply appreciated.


0 2 244
2 REPLIES 2

How did your output look running your configure and verify commands?

Hi @Sailendra Yellapragada, to answer your question "Why is the server start up looking at a different location" it does not look like it is. You have tried to start edgemicro and it has failed and there is no cached configuration which would be in the file yellapragada-test-cache-config.yaml had you managed to start the gateway.

The error you are getting appears to be from the edgemicro-auth proxy in edge.

curl https://yellapragada-test.apigee.net/edgemicro-auth/products

{"fault":{"faultstring":"com.apigee.organizations.keymanagement.service.ApiProductService.getApiProducts(Lcom\/apigee\/messaging\/config\/beans\/OrganizationImpl;Ljava\/lang\/String;Ljava\/lang\/String;I)Lcom\/apigee\/organizations\/keymanagement\/APIProductsList;","detail":{"errorcode":"Internal Server Error"}}}

Best thing to do is to put a trace on your edgemicro-auth proxy and curl the products resource as above. This should give you some more insight into what is going on. It would be worth checking that you have created an edgemicro aware product as per https://docs.apigee.com/microgateway/latest/setting-and-configuring-edge-microgateway#Part2