These are chat archives for IndySockets/Indy

24th
Jun 2017
Remy Lebeau
@rlebeau
Jun 24 2017 16:38
@ByteJuggler there is very little difference between wrapping the Get() in a try/except that catches EIdHTTPProtocolException, and enabling hoNoProtocolErrorException and then checking the ResponseCode manually. The end result is the same.
Remy Lebeau
@rlebeau
Jun 24 2017 16:46
@ByteJuggler It is possible that the proxy simply wasn't asking for authentication before, and now it is. It is possible that TIdSSPINTLMAuthentication succeeds (SSPI uses credentials stored in the calling thread, and the OS handles the actual authentication data) whereas TIdNTLMAuthentication fails (it requires username/password, and performs authentication manually). Just adding the IdAuthentication units to your uses clause to register the classes does not guarantee success, you still have to make sure things are setup correctly in TIdHTTP. There is just not enough information to go on to diagnose what the actual problem is. You are going to have to debug it further.