Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HttpRequestException in Socket.Receive #209

Open
christoofar opened this issue Dec 22, 2019 · 0 comments
Open

Fix HttpRequestException in Socket.Receive #209

christoofar opened this issue Dec 22, 2019 · 0 comments

Comments

@christoofar
Copy link
Owner

Version: 1.1.0 (17) | com.philadelinquency.phillyblotter

Stacktrace

0 System.Net.Sockets Socket Receive 1 System.Net.Sockets NetworkStream Read 2 System.Net.Sockets NetworkStream Read 3 Mono.Net.Security MobileAuthenticatedStream+<>c__DisplayClass66_0 b__0 4 System.Threading.Tasks Task`1[TResult] InnerInvoke 5 System.Threading.Tasks Task Execute 6 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 7 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 8 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 9 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 10 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 11 Mono.Net.Security MobileAuthenticatedStream+d__66 MoveNext 12 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 13 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 14 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 15 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 16 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 17 Mono.Net.Security AsyncProtocolRequest+d__25 MoveNext 18 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 19 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 20 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 21 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 22 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 23 Mono.Net.Security AsyncProtocolRequest+d__24 MoveNext 24 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 25 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 26 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 27 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 28 System.Runtime.CompilerServices ConfiguredTaskAwaitable+ConfiguredTaskAwaiter GetResult 29 Mono.Net.Security AsyncProtocolRequest+d__23 MoveNext 30 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 31 Mono.Net.Security MobileAuthenticatedStream+d__47 MoveNext 32 System.Threading.Tasks Task ThrowIfExceptional 33 System.Threading.Tasks Task Wait 34 System.Threading.Tasks Task Wait 35 Mono.Net.Security MobileAuthenticatedStream AuthenticateAsClient 36 Mono.Net.Security MonoTlsStream CreateStream 37 System.Net WebConnection CreateStream 38 System.Net HttpWebRequest EndGetRequestStream 39 System.Threading.Tasks TaskFactory`1[TResult] FromAsyncCoreLogic 40 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 41 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 42 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 43 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 44 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 45 System.Net.Http HttpClientHandler+d__63 MoveNext 46 System.Net.Http HttpClientHandler+d__63 MoveNext 47 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 48 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 49 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 50 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 51 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 52 System.Net.Http.Extensions.Compression.Client ClientCompressionHandler+d__10 MoveNext 53 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 54 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 55 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 56 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 57 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 58 System.Net.Http HttpClient+d__49 MoveNext 59 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 60 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 61 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 62 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 63 System.Runtime.CompilerServices TaskAwaiter`1[TResult] GetResult 64 PhillyBlotter.Models JsonWebClient+<>c__DisplayClass6_0`1+<b__2>d[T] MoveNext 65 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 66 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 67 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 68 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 69 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 70 Polly Policy+<>c__DisplayClass120_0`1+<b__0>d[TResult] MoveNext 71 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 72 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 73 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 74 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 75 System.Runtime.CompilerServices ConfiguredTaskAwaitable+ConfiguredTaskAwaiter GetResult 76 Polly RetrySyntaxAsync+<>c__DisplayClass21_0+<b__1>d MoveNext 77 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 78 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 79 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 80 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 81 System.Runtime.CompilerServices ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult] GetResult 82 Polly.Retry RetryEngine+d__1`1[TResult] MoveNext 83 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 84 Polly.Retry RetryEngine+d__1`1[TResult] MoveNext 85 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 86 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 87 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 88 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 89 System.Runtime.CompilerServices ConfiguredTaskAwaitable+ConfiguredTaskAwaiter GetResult 90 Polly Policy+d__120`1[TResult] MoveNext 91 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 92 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 93 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 94 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 95 System.Runtime.CompilerServices TaskAwaiter`1[TResult] GetResult 96 PhillyBlotter.Models JsonWebClient+d__6`1[T] MoveNext 97 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 98 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 99 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 100 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 101 System.Runtime.CompilerServices TaskAwaiter`1[TResult] GetResult 102 PhillyBlotter.Models Data+d__29 MoveNext 103 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 104 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 105 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 106 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 107 System.Runtime.CompilerServices TaskAwaiter`1[TResult] GetResult 108 PhillyBlotter BlotterPage+d__20 MoveNext 109 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 110 System.Runtime.CompilerServices TaskAwaiter ThrowForNonSuccess 111 System.Runtime.CompilerServices TaskAwaiter HandleNonSuccessAndDebuggerNotification 112 System.Runtime.CompilerServices TaskAwaiter ValidateEnd 113 System.Runtime.CompilerServices TaskAwaiter`1[TResult] GetResult 114 PhillyBlotter BlotterPage+d__16 MoveNext 115 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 116 System.Runtime.CompilerServices AsyncMethodBuilderCore+<>c b__6_0 117 Android.App SyncContext+<>c__DisplayClass2_0 b__0 118 Java.Lang Thread+RunnableImplementor Run 119 Java.Lang IRunnableInvoker n_Run 120 mono.java.lang RunnableImplementor n_run 121 mono.java.lang RunnableImplementor run 122 android.os Handler handleCallback 123 android.os Handler dispatchMessage 124 android.os Looper loop 125 android.app ActivityThread main 126 java.lang.reflect Method invoke 127 com.android.internal.os Zygote$MethodAndArgsCaller run 128 com.android.internal.os ZygoteInit main Java.Lang.Thread 2 

Reason

android.runtime.JavaProxyThrowable: System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: SecureChannelFailure (One or more errors occurred.) ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer

Link to HockeyApp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant