Closed determo13 closed 6 years ago
yeah but that doesn't mean it should exit with exception is it? if connections drops same thing happens...
Ahh I didn't realise it exited on a connection drop. Yep it shouldnt do that.
@determo13 can you attach your full log file?
Sorry mate I've removed it and using old version now, you can simulate error by running it and then disabling internet connection.
OK, guessing your Linux and not Windows with a recycling bin?
Hi just done another test, here is the log file:
Fixed in 1.6
going back to more stable version, this is exception below happens 2 times.
Unhandled Exception: System.Net.Http.HttpRequestException: An error occurred whi le sending the request. ---> System.Net.Http.WinHttpException: A connection with the server could not be established at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.RendezvousAwaitabled58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at Binance.Api.BinanceHttpClient.d 25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at Binance.Api.BinanceApi.d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at services.services.BinanceWebsocketService.Struct11.MoveNext()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(Action ac
tion, Boolean allowInlining, Task& currentTask)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
1.GetResult() at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext() --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot ification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable
1.ConfiguredTaskAw aiter.GetResult() at System.Net.Http.HttpClient.