network error?

Please post any questions regarding the program here.

Moderator: 2020vision

network error?

Postby mak » Mon Nov 07, 2011 3:52 pm

Gary hi
I am testing a few things lately, and I am having problems with a bot i am trying to make...some times BA freezes - probably something wrong with the code of vba...

Before a while happened again.I did a restart (vps) and when i tried to connect BA i got a message regarding api fail to response etc...

after a while i manage to log

the following says anything to you?

14:26:20:560: Error getting market details. System.Exception: getMarket timed out (active connections:0) ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 84.20.200.10:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at Betting_Assistant.BetfairAPI.getMarket(Int32 marketId, String locale, Boolean ausMarket, Int32 timeout)
--- End of inner exception stack trace ---
at Betting_Assistant.BetfairAPI.getMarket(Int32 marketId, String locale, Boolean ausMarket, Int32 timeout)
at Betting_Assistant.betfairTabPage.getMarketDetails(String newMarketId, eventTreeNode nde, Boolean fetchMarket, GetMarketResp marketResp)
14:26:20:560: Failed to load market. NET ERROR
14:26:43:789: Error getting market details. System.Exception: getMarket timed out (active connections:0) ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 84.20.200.10:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at Betting_Assistant.BetfairAPI.getMarket(Int32 marketId, String locale, Boolean ausMarket, Int32 timeout)
--- End of inner exception stack trace ---
at Betting_Assistant.BetfairAPI.getMarket(Int32 marketId, String locale, Boolean ausMarket, Int32 timeout)
at Betting_Assistant.betfairTabPage.getMarketDetails(String newMarketId, eventTreeNode nde, Boolean fetchMarket, GetMarketResp marketResp)
14:26:43:789: Failed to load market. NET ERROR
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby GaryRussell » Tue Nov 08, 2011 9:24 am

That error message means the API server did not respond within the timeout period. This definitely indicates a connection issue. The issue is either with your VPS or Betfair.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby mak » Tue Nov 08, 2011 10:16 am

You are right...Probably vps connection...

Meanwhile, I am almost certain that there is a problem with my vba code, because BA sometimes freezes... What I have noticed this happens more when I am opening the ladder interface...

Which diagnostic should i sent you if this happens again?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby GaryRussell » Tue Nov 08, 2011 11:11 am

It depends on what is causing the freeze, it might not be recorded in the diagnostic file. Do you mean you are linked to a spreadsheet on one tab and open the ladder interface on another tab or the popup ladder? How long does it freeze for?
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby mak » Tue Nov 08, 2011 12:46 pm

GaryRussell wrote:It depends on what is causing the freeze, it might not be recorded in the diagnostic file. Do you mean you are linked to a spreadsheet on one tab and open the ladder interface on another tab or the popup ladder? How long does it freeze for?


I am opening the pop up ladder ( To be honest I don't know how to open the non pop up anymore...)

I have a tab linked to excel and some times I need to watch the popup ladder...

Sometimes I am opening the pop up ladder on another tab..

It freeze forever.. I have to close it from task manager...
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am


Return to Help

Who is online

Users browsing this forum: No registered users and 86 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.