-
Rajkumar Paramasivam
- PowerBuilder
- Thursday, 5 November 2026 07:36 AM UTC
Hi,
We’re moving our PowerBuilder application from a third-party HTTP library to the native HTTPClient object. Our customers run the application on desktops and Remote Desktop servers. They also run it as unattended batch jobs under Windows service accounts.
Documentation says HTTPClient “uses your computer’s proxy settings directly”. Appeon troubleshooting article “HttpClient is not working on some machine in the same network” adds that it uses Internet Explorer’s LAN settings by default. We’d be grateful if you could confirm a few details, because our customers’ IT teams need to know where to set the proxy.
Environment: PowerBuilder 2025, runtime 25.0.0.3711, Windows 10, Windows 11 and Windows Server.
Machine-wide proxy: If the current Windows user has no proxy in Internet Options, does HTTPClient fall back to the machine-wide WinHTTP proxy (set with netsh winhttp set proxy)? Or does it connect directly?
Service accounts: When the application runs under a service account (LocalSystem, NetworkService or a domain service account), which proxy settings does HTTPClient use?
Automatic configuration: Does HTTPClient support “Automatically detect settings” and automatic configuration (PAC) scripts? Or should customers use a fixed proxy address, as your troubleshooting article suggests?
Proxy authentication: Is SetCredentials with the first argument set to TRUE (proxy authentication) supported for proxies that return HTTP 407? If so, which authentication schemes work (Basic, NTLM, Negotiate)?
Setting a proxy in code: Is there a supported way, now or planned, to set a proxy address and port on an HTTPClient object itself, rather than taking it from Windows?
Any guidance or documentation you can point us to would be much appreciated.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.