Timeout calling getAccountFunds - still

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bnl
    Junior Member
    • Nov 2012
    • 108

    #1

    Timeout calling getAccountFunds - still

    Hi!
    I still get exception a lot when calling getAccountFunds
    I've got 87 times since 16:30 today
    They all look like


    2015-11-02 16:39:42.996 RPC.Get_JSON_Reply : posting:
    Code:
    {
    	"method": "AccountAPING/v1.0/getAccountFunds",
    	"jsonrpc": "2.0",
    	"id": 15,
    	"params": {
    		
    	}
    }

    2015-11-02 16:39:43.190 RPC.Get_JSON_Reply : Got reply:
    Code:
    {
    	"id": 15,
    	"jsonrpc": "2.0",
    	"error": {
    		"code": -32099,
    		"data": {
    			"AccountAPINGException": {
    				"requestUUID": "prdaan002-10281041-0003568c77",
    				"errorCode": "UNEXPECTED_ERROR",
    				"errorDetails": ""
    			},
    			"exceptionname": "AccountAPINGException"
    		},
    		"message": "AANGX-0003"
    	}
    }
    2015-11-02 16:39:43.190 RPC. : error.code -32099
    2015-11-02 16:39:43.191 RPC. : APINGException.errorCode UNEXPECTED_ERROR
    2015-11-02 16:39:43.191 RPC. : Error.Message AANGX-0003

    times is in CET

    Last successful call is at 2015-11-02 16:29:37.325
    Then all failures
    Then it works again at
    2015-11-02 17:15:36.862

    /Björn
  • Neophyte
    Junior Member
    • Sep 2016
    • 12

    #2
    I get the same problem. I see from a previous post that Betfair told you it was a timeout problem. I am checking my account balance before each potential bet and mostly it works but sometimes I get exactly the same response as you except the requestUUID response may be different

    I am thinking I should either keep track of my account balance some other way or ignore the error and try again until it works. At the moment i am trying to get it to restart the getAccountBalance function when the error happens but it refuses to do so. i am programming in Javascript and using the handleError function from the sample code only I have deleted process.exit(1) and replaced it with

    setTimeout(checkAvailableToBet(options, marketId, selection,counter1,counter2),1000);

    The idea is to delay a second to give it a better chance of working. Apart from the timeout delay this is the same invocation to checkAvailableToBet that normally works

    Only trouble is the program still halts.

    Any ideas how to keep it running.

    Also did Betfair ever come back to you about the timeout problems as promised in the other thread

    Comment

    • Mr Magoo
      Junior Member
      • Jan 2011
      • 86

      #3
      I see the same problem, the errors occur multiple times a day for getAccountFunds(), but there were many more on the 10th. (all seemed to be on the UK endpoint)

      I see two kinds of errors, one is like yours, with the UNEXPECTED_ERROR code and a AANGX-0003 message, and another is witha TIMEOUT_ERROR code and a AANGX-0006 message.

      As I write this, I haven't seen any of these errors today yet, but > 50 timeouts from listCurrentOrders() ...

      Comment

      • bnl
        Junior Member
        • Nov 2012
        • 108

        #4
        Originally posted by Neophyte View Post
        Also did Betfair ever come back to you about the timeout problems as promised in the other thread
        No, I don't think so. Not by mail, and not in the forum as I recall.
        /Björn

        Comment

        Working...
        X