Hi,
Not sure why my apiproxy-to-swaagger nodejs proxy giving error connect EINVAL. I have node js configured to call management api and generate swagger for given api.
{"error":"Error: connect EINVAL","statusCode":null,"message":null}
I have attached the proxy.
apiproxy-to-swagger-rev1-2016-07-13.zip
Solved! Go to Solution.
Found Solution :
we have to edit this file:
/opt/apigee/edge-message-processor-4.16.01-0.0.557/token/default.properties Commented this line- #conf_nodejs_connect.ranges.denied=10.0.0.0/8,192.168.0.0/16,127.0.0.1/32 Added this line- conf_nodejs_connect.ranges.denied=
Changed this on all MessageProcessor and restarted :
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart
Found Solution :
we have to edit this file:
/opt/apigee/edge-message-processor-4.16.01-0.0.557/token/default.properties Commented this line- #conf_nodejs_connect.ranges.denied=10.0.0.0/8,192.168.0.0/16,127.0.0.1/32 Added this line- conf_nodejs_connect.ranges.denied=
Changed this on all MessageProcessor and restarted :
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart
Super Cool @Pravin , Thank you for sharing Apigee->OpenAPI (Swagger) proxy & the solution that works for onpremises. I am sure it's helpful for others too.