Overview
Features
Download
Documentation
Community
Add-Ons & Services

HTTPClientSession fails when using proxy

Please post support and help requests here.

HTTPClientSession fails when using proxy

Postby suryakiran » 09 Apr 2013, 05:21

Hi,
Using poco-1.4.6 on linux using gcc 4.8, I'm facing problem with connecting outside servers (eg. http://www.google.com) 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. myproxy.company.com) instead of IP address, PocoNet is not able to resolve the address for the proxy server. What am i missing here.?

Thanks,
Surya
suryakiran
 
Posts: 1
Joined: 09 Apr 2013, 04:09

Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests