Relative Content

Tag Archive for delphiindy

Delphi Indy connection through Proxy using NTLM gives a POST exception

I am trying to connect to a web server through an NTLM proxy using Delphi 11.3 and the supplied Indy library.
I can make this work for GET commands, but for POST I get an EAbort exception.
If I access the server without using the proxy, it all works.
Simple program that demonstrates this below. There are options to select GET/POST and use proxy or not:

Runtime error 216 in Client/Server indy connection

This is simple code extract from my project (running in a school’s lab) to test Client/Server connection with the TIdTCPClient and TIdTCPServer objects.
Project worked fine for many years, but in a new school LAN (that works without problem), on the server side a message “Runtime error 216 at XXXXXXXXXXX” is rised every time client make connection.
It is some know issue on this procedure?
Thank you.