(11-23-2022, 01:01 PM)piaulino Wrote: I'm using idHttp and TIdSSLIOHandlerSocketOpenSSL, it works on the local machine, but on the server when running, the error "unknown protocol" occurs.
That error happens only under 1 situation - when the URL being requested is incomplete, specifically when it does not begin with either 'http:' or 'https:', and does not specify a port number explicitly, and a port number was not already established from an earlier request on the same TIdHTTP object (ie, when requesting a relative URL after requesting an absolute URL).
What is the actual value of your aUrl string?