[solved]Can proxy cause "connection timed out"?
General and Desktop
5
Posts
2
Posters
4.4k
Views
1
Watching
-
I am using QNAM to download a XML file from server but getting “connection timed out” error message in reply. In some mail thread I saw some was asking about proxy. My program is behind a corporate proxy, can it cause this issue? If yes, could you please let me know how to resolve the problem?
Note: Through browser I can access the page successfully.
-
Is your company's proxy set as a system wide proxy? If so, did you call
@
QNetworkProxyFactory::setUseSystemConfiguration(true)
@from your code? (If not, of course, you have to create and set a QNetworkProxy for your application, because Qt has no way to know that you're behind a proxy server).