Forum

FAQs and other general questions are answered here
By piplewis
#11818
Hi Rade,

Bot only placed one bet today, getting errors in log txt.
Just wondering if it's my end or betfair??

24/08/2013 13:03:24: GetMarketPricesCompressed: PerformRequest Exception: System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at BetfairAPI.UKBFAPI.BFExchangeService.getMarketPricesCompressed(GetMarketPricesCompressedReq request)
at Framework.Requests.GetMarketPricesCompressedRequest.BooSFL6tM0SyDVyFSRR(Object , Object )
at Framework.Requests.GetMarketPricesCompressedRequest.PerformRequest()
24/08/2013 13:03:24: GetMarketPrices: PerformRequest Exception: System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at BetfairAPI.UKBFAPI.BFExchangeService.getMarketPrices(GetMarketPricesReq request)
at Framework.Requests.GetMarketPricesRequest.Oo2Q6RYu4YC6G0xUng0(Object , Object )
at Framework.Requests.GetMarketPricesRequest.PerformRequest()
24/08/2013 13:03:24: RequestsController: RequestError = ERROR, RequestStatus = DONE, Exchange = UK, StartTime = 24/08/2013 13:03:02, EndTime = 24/08/2013 13:03:24
24/08/2013 13:03:24: RequestsController: RequestError = ERROR, RequestStatus = DONE, Exchange = UK, StartTime = 24/08/2013 13:03:02, EndTime = 24/08/2013 13:03:24
24/08/2013 13:03:44: BetfairLiteResultService:GetUKRSSResults Exception: System.Xml.XmlException: Expected DTD markup was not found. Line 1, position 51.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.Throw(Exception e)
at System.Xml.DtdParser.Throw(Int32 curPos, String res, String arg)
at System.Xml.DtdParser.ScanSubsetContent()
at System.Xml.DtdParser.ParseSubset()
at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space)
at Framework.Results.BetfairLiteResultService.sKaHMfqt7G()
24/08/2013 13:03:44: GetMarketPricesCompressed: PerformRequest Exception: 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 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at BetfairAPI.UKBFAPI.BFExchangeService.getMarketPricesCompressed(GetMarketPricesCompressedReq request)
at Framework.Requests.GetMarketPricesCompressedRequest.BooSFL6tM0SyDVyFSRR(Object , Object )
at Framework.Requests.GetMarketPricesCompressedRequest.PerformRequest()
24/08/2013 13:03:44: RequestsController: RequestError = ERROR, RequestStatus = DONE, Exchange = UK, StartTime = 24/08/2013 13:03:04, EndTime = 24/08/2013 13:03:44
24/08/2013 13:04:05: GetMarketPricesCompressed: PerformRequest Exception: 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 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at BetfairAPI.UKBFAPI.BFExchangeService.getMarketPricesCompressed(GetMarketPricesCompressedReq request)
at Framework.Requests.GetMarketPricesCompressedRequest.BooSFL6tM0SyDVyFSRR(Object , Object )
at Framework.Requests.GetMarketPricesCompressedRequest.PerformRequest()
24/08/2013 13:04:05: RequestsController: RequestError = ERROR, RequestStatus = DONE, Exchange = UK, StartTime = 24/08/2013 13:03:08, EndTime = 24/08/2013 13:04:05
24/08/2013 13:07:24: Stopped bot Back/Lay Multiple Favorites
24/08/2013 13:07:35: Started bot Back/Lay Multiple Favorites
24/08/2013 13:48:41: HandleOnPlaceBets: Placed bet, betId: 29225615772, resultCode: OK, sizeMatched: 24.8, success: True
24/08/2013 13:48:42: BetsController: HandleOnGetSpecifiedMUBets: OK,
24/08/2013 13:48:42: BetsController: HandleOnGetSpecifiedMUBets: Requested and now removed bets: 29225615772
24/08/2013 13:48:42: BetsController: HandleOnGetSpecifiedMUBets: Updated bets: 29225615772 M P:1.15 S:24.8
24/08/2013 13:52:56: Stopped bot Back/Lay Multiple Favorites
24/08/2013 13:53:14: Started bot Back/Lay Multiple Favorites
24/08/2013 14:03:58: Started
24/08/2013 14:06:18: Started bot Back/Lay Multiple Favorites
24/08/2013 14:44:43: Stopped bot Back/Lay Multiple Favorites
24/08/2013 14:44:50: Started bot Back/Lay Multiple Favorites
24/08/2013 15:05:07: Stopped bot Back/Lay Multiple Favorites
24/08/2013 15:06:31: Started bot Back/Lay Multiple Favorites
24/08/2013 15:25:22: Stopped bot Back/Lay Multiple Favorites
24/08/2013 15:26:15: Started
24/08/2013 15:27:25: Started bot Back/Lay Multiple Favorites
24/08/2013 15:58:06: Stopped bot Back/Lay Multiple Favorites
24/08/2013 15:58:15: Started bot Back/Lay Multiple Favorites
24/08/2013 16:46:25: Stopped bot Back/Lay Multiple Favorites
24/08/2013 16:47:15: Started
24/08/2013 16:48:19: Started bot Back/Lay Multiple Favorites
24/08/2013 16:49:05: GetMarketPricesCompressed: PerformRequest Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Framework.KnowledgeBase.tp5A5qPAoj(Object , Object )
at Framework.KnowledgeBase.MnvcwpoddQlOvbroryf(Object , Object )
at Framework.KnowledgeBase.NE7ACmbuhF(Object , Object , Object )
at Framework.KnowledgeBase.QbpnclhSMHwjuk6aHt2(Object , Object , Object )
at Framework.KnowledgeBase.dB0AOt557k(Object , Object , Object )
at Framework.EventsController.OnGetMarketPricesCompressedDelegate.Invoke(GetMarketPricesCompressedRequest getMarketPricesCompressed, GetMarketPricesResp ukGetMarketPricesResp, GetMarketPricesResp auGetMarketPricesResp)
at Framework.EventsController.qZ7N2b42LthWdP8kowE(Object , Object , Object , Object )
at Framework.EventsController.RaiseOnGetMarketPricesCompressed(GetMarketPricesCompressedRequest getMarketPricesCompressed, GetMarketPricesResp ukGetMarketPricesResp, GetMarketPricesResp auGetMarketPricesResp)
at Framework.Requests.GetMarketPricesCompressedRequest.x5kvyGBKEgZBcWcdHP0(Object , Object , Object )
at Framework.Requests.GetMarketPricesCompressedRequest.PerformRequest()
24/08/2013 16:49:05: RequestsController: RequestError = ERROR, RequestStatus = DONE, Exchange = UK, StartTime = 24/08/2013 16:49:02, EndTime = 24/08/2013 16:49:05
24/08/2013 17:46:31: Stopped bot Back/Lay Multiple Favorites
24/08/2013 17:46:44: Started bot Back/Lay Multiple Favorites
24/08/2013 17:56:03: Stopped bot Back/Lay Multiple Favorites
24/08/2013 17:56:09: Started bot Back/Lay Multiple Favorites
24/08/2013 17:59:08: Stopped bot Back/Lay Multiple Favorites
24/08/2013 17:59:18: Started bot Back/Lay Multiple Favorites
24/08/2013 18:15:19: Stopped bot Back/Lay Multiple Favorites
24/08/2013 18:21:40: Started
24/08/2013 18:22:32: Started bot Back/Lay Multiple Favorites
24/08/2013 18:22:56: GetEventsRequest: PerformRequest Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at CustomControls.Layouts.MarketsDataGridView.MarketsDataGridView.aMBQKHBFgwYrJXy0yZMG(Object , Object , Object )
at CustomControls.Layouts.MarketsDataGridView.MarketsDataGridView.K1ewwnefxy(GetEventsRequest , GetEventsResp )
at Framework.EventsController.OnGetEventsDelegate.Invoke(GetEventsRequest getEventsRequest, GetEventsResp getEventsResp)
at Framework.EventsController.xgALMk4KUBcln3pEcND(Object , Object , Object )
at Framework.EventsController.RaiseOnGetEvents(GetEventsRequest getEventsRequest, GetEventsResp getEventsResp)
at Framework.Requests.GetEventsRequest.WIqw1qcKX0CVNt1N0B2(Object , Object )
at Framework.Requests.GetEventsRequest.PerformRequest()
24/08/2013 18:22:56: RequestsController: RequestError = ERROR, RequestStatus = DONE, Exchange = GLOBAL, StartTime = 24/08/2013 18:22:52, EndTime = 24/08/2013 18:22:56
User avatar
By BfBotManager
#11819
Hi piplewis,

There are few errors, but probably because of your settings bot did not place bets. Please email me screenshots of your settings and I will check them.

Regards,
Rade