Heads Up for Betfair Tech Support on Streaming API github repo

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geoffw123
    Senior Member
    • Mar 2014
    • 250

    #1

    Heads Up for Betfair Tech Support on Streaming API github repo

    Hi

    I recently downloaded your latest Stream API github Repo as I wanted to integrate in your latest change (8th Dec 2020) where you added a cancelled date field to fix the problem with the Limit on Close SP orders.

    The current repo builds OK, but it generates an exception when you try to run it.
    An exception of type 'System.IO.IOException' occurred in Betfair.ESAClient.dll but was not handled in user code
    SSO Authentication - call failed:
    That would probably be enough to put off a newbie so you could do with fixing the repo. Its a trivial quick fix anyways

    2 choices to fix it

    Option 1)
    The repo is currently set for Net Framework 4.5. Framework 4.5 defaults to SSL TLS V1 (Which Betfair now no longer support)
    I think bumping this to 4.6 would fix it as 4.6 defaults to TLS12

    Option 2)
    You could leave the framework set to version 4.5 and add this line in the init code
    Code:
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
    Regards Geoff

  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi Geoff,

    Thanks for pointing this out.

    We'll get this updated as required.

    Neil

    Comment

    Working...
    X