Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Betfair Streaming API
#2
(06-27-2023, 01:08 AM)cnielsen4211 Wrote: I am a regular user of Betfair and use their polling API with idHTTP components which has worked fin for years and now I'm getting endless SSL errors

I just replied to your other post about that.

(06-27-2023, 01:08 AM)cnielsen4211 Wrote: I get no response at all

That is because you are not initiating an SSL/TLS handshake after connecting to the server's SSL/TLS port. You need to set the SSLHandler.PassThrough property to False to invoke the handshake. You can do that either before calling Connect(), or after Connect() returns and before you call ReadLn().

(06-27-2023, 01:08 AM)cnielsen4211 Wrote: If I place the same url in a browser I do get the response, so why doesn't my code get a response?

Because the server is waiting for you to send it a TLS handshake to secure the connection before it will then send its greeting back to you.

Reply


Messages In This Thread
Betfair Streaming API - by cnielsen4211 - 06-27-2023, 01:08 AM
RE: Betfair Streaming API - by rlebeau - 06-28-2023, 01:53 AM
RE: Betfair Streaming API - by cnielsen4211 - 06-28-2023, 01:57 AM
RE: Betfair Streaming API - by rlebeau - 06-28-2023, 02:11 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)