>>> Microgateway initialisation logs current nodejs version is v6.6.0 info: products download from https://mycompany-test.apigee.net/edgemicro-auth/products returned 200 OK info: jwt_public_key download from https://mycompany-test.apigee.net/edgemicro-auth/publicKey returned 200 OK info: config download from https://edgemicroservices-us-east-1.apigee.net/edgemicro/bootstrap/organization/mycompany/environment/test returned 200 OK downloaded proxies [ { apiProxyName: 'edgemicro_sample', revision: '1', proxyEndpoint: { name: 'default', basePath: '/sample-api' }, targetEndpoint: { name: 'default', url: 'http://172.20.0.156:5000' } } ] warning: no products found in org downloaded jwt_public_key '-----BEGIN CERTIFICATE-----***-----END CERTIFICATE-----' starting in non-cluster mode logging to /var/tmp/edgemicro-57c6be351077-2389f7a0-86f6-11e6-a002-5b7cbfaca931 installed plugin from analytics installed plugin from oauth 2389f7a0-86f6-11e6-a002-5b7cbfaca931 edge micro listening on port 8000 edge micro started edgemicro started successfully. >>> Contacting service directly curl -i http://172.20.0.156:5000/hello HTTP/1.0 200 OK Content-Type: application/json Content-Length: 19 Server: Werkzeug/0.11.11 Python/2.7.12 Date: Fri, 30 Sep 2016 10:39:40 GMT {"hello": "world"} >>> Contacting microgateway withoug API key curl -i http://172.20.0.156/sample-api/hello HTTP/1.1 401 Unauthorized content-type: application/json Date: Fri, 30 Sep 2016 11:57:48 GMT Connection: keep-alive Content-Length: 84 {"error":"missing_authorization","error_description":"Missing Authorization header"} >>> Contacting service via edge microgateway curl -i http://172.20.0.156/sample-api/hello -H 'x-api-key: VOrP4opvBvCIfbmLqc9R7ft87ynTJPxy' HTTP/1.1 403 Forbidden content-type: application/json Date: Fri, 30 Sep 2016 10:28:40 GMT Connection: keep-alive Content-Length: 25 {"error":"access_denied"} >>> Micro gateway logs 1475231890219 error oauth m=GET, u=/sample-api/hello, h=172.20.0.156, r=::ffff:172.20.0.156:42440, s=403 1475231890220 error m=GET, u=/sample-api/hello, h=172.20.0.156, r=::ffff:172.20.0.156:42440, s=403, name=undefined, message=undefined, code=undefined, stack=undefined