Qt 4.7 Browser example
I'm reviewing Qt code from a previous employee, who used Qt to develop a service to download data from a web service, example link, http://waterservices.usgs.gov/nwis/iv?sites=01059000,01053500,01054000,01066000,01046000,01054500,01047000,01054300,01057000,01047150,01055500,01048000,01055000,01054200¶meterCd=00060. The code has several problems, but the main problem is when accessing the web service through our corporate network, the user account used by the proxy server keeps getting locked out. As a test, I compiled and ran the Qt browser example shipped with Qt4.7 and I have the same problem. I'm using Visual Studio 2008 to compile the browser example. I add our corporate proxy settings to the Qt browser, through preferences when accessing any page, including the default page, http://qt.nokia.com/ I'm presented with authentication dialog, I enter the valid username/password, by the time the page loads, the account gets locked out of the network.
The debug output shows several messages (~193) like;
QNetworkAccessCache::addEntry: overriding active cache entry 'auth:proxy-http://email@example.com:8080#hatchglobal'
QNetworkAccessCache::addEntry: overriding active cache entry 'auth:proxy-http://firstname.lastname@example.org:8080'
QNetworkAccessCache::addEntry: overriding active cache entry 'auth:proxy-http://proxy.hatch.local:8080'
I've been scanning the documentation and the code for weeks trying to solve this problem, our IT group insist it a software problem. The company also uses something called a WebMarshal Server: (Version: 184.108.40.20674), not sure if that's adding to the problem?
I'm new to Qt, but not to C++, can anyone offer any suggestions, on how to resolve this lock out issue?