Reputation: 2246
I am connecting rest api call with wso2 api manager. I followed the steps from wso2 site
I am able to connect with rest api on my computer but following same procedure on another computer returns "Error: No Response from Server"
I had also configured the files as described here
Does anybody knows how to debug what is going wrong there ?
Upvotes: 0
Views: 619
Reputation: 695
You can enable wirelogs and headers in API Manager to analyze the request response flow.
Uncomment the following loggers.
log4j.logger.org.apache.synapse.transport.http.headers=DEBUG log4j.logger.org.apache.synapse.transport.http.wire=DEBUG
Save the changes and Restart the Server
Regarding your "Error: No Response from Server" response, other than the CORS issue, this can occur due to browser certificate issue as well.
Therefore, first check whether you can invoke the same API using a rest client like curl,
if yes go to your browser, accept the certificate for the gateway URL and try out invoking the API again.
Upvotes: 3