Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
uIdHttp
#2
(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?

Reply


Messages In This Thread
uIdHttp - by piaulino - 11-23-2022, 01:01 PM
RE: uIdHttp - by rlebeau - 11-24-2022, 03:32 AM
RE: uIdHttp - by piaulino - 11-25-2022, 12:58 PM
RE: uIdHttp - by rlebeau - 11-25-2022, 09:32 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)