HTTPClientSession fails when using proxy

Please post support and help requests here.
Posts: 1
Joined: 09 Apr 2013, 04:09

HTTPClientSession fails when using proxy

Postby suryakiran » 09 Apr 2013, 05:21

Using poco-1.4.6 on linux using gcc 4.8, I'm facing problem with connecting outside servers (eg. when I'm behind a proxy. HTTPClientSession::sendRequest fails with 'Connection Refused' exception when it is trying to connect to proxy server. I've tested the httpget sample in Net directory. I rewrote the same sample using curl calls and found no problems in connecting to the said address.

Also when proxy is specified as name (eg. instead of IP address, PocoNet is not able to resolve the address for the proxy server. What am i missing here.?


Return to “Support”

Who is online

Users browsing this forum: No registered users and 5 guests