Why am I getting “Connection reset by peer” with Indy only on a HTTPS (SSL) site?
问题 I am trying to use Indy HTTP (Delphi Seattle) to get the contents of a https webpage and I always seem to get Error 10054 - Connection reset by peer. Other sites seem to work just fine. The website in cause is https://www.adultwork.com . I have added the SSL, Cookie and Compressor components, but maybe I'm missing something, some settings, IDK... If anybody could help, it would be greatly appreciated. 回答1: I was able to reproduce the issue, and it is due to Indy's TIdIOHandlerSocketOpenSSL