I am trying out WSO2 api manager.
The sample api I am using is:
http://www.thomas-bayer.com/sqlrest/CUSTOMER
The hosted api url is
https://localhost:8243/customer/1.0.0/1
When I invoke the internal url, I see following headers in outbound message
GET http://www.thomas-bayer.com/sqlrest/CUSTOMER/1 HTTP/1.1
Accept-Encoding: gzip,deflate
Host: www.thomas-bayer.com
Connection: Keep-Alive
User-Agent: Synapse-PT-HttpComponents-NIO
However, I get following message
Connection closed by target host before receiving the request
If I access the url (http://www.thomas-bayer.com/sqlrest/CUSTOMER/1) directly, it works.
Any idea why this might be happening?