0 votes
I have been using the AEB examples for sometime but for no particular reason the events schedule program 5.2 seems to fail. I keep getting the following errors:

Unsuccessful stat on filename containing newline at /usr/share/perl5/XML/Simple.pm line 926.
Unsuccessful stat on filename containing newline at /usr/share/perl5/XML/Simple.pm line 939.
$VAR1 = 'Can\'t connect to api.betfair.com:443

LWP::Protocol::https::Socket: Timeout at /usr/share/perl5/LWP/Protocol/http.pm line 51.
';
File does not exist: Can't connect to api.betfair.com:443

LWP::Protocol::https::Socket: Timeout at /usr/share/perl5/LWP/Protocol/http.pm line 51.
 at /home/ricky/AEB/lib/BetfairAPI6Examples.pm line 121

get_markets call failed at /home/.../.../lib/BetfairAPI6Examples.pm line 122.

Is anyone else having the same problem and/or have a suggested fix?

Cheers
in Automatic Exchange Betting by rick_1066 Novice (220 points)

1 Answer

0 votes

Hi,

The error output here suggests that the Betfair API may have been down, since the program couldn't connect to the Betfair URL or "endpoint" for the API call:

File does not exist: Can't connect to api.betfair.com:4

So I would think the problem would be temporary.  Are you still getting this error?

 

by colin Frankel (19.7k points)
Thanks. Much appreciated. As you say the API must have been down. I'm no longer getting the error and things seems to be running normally again
...