Exceptions thrown on/after May 31st, 2018 // Response did not indicate success: Status: 0 // TLS stuff
See original GitHub issueSystem.AggregateException: One or more errors occurred. β> System.Net.Http.HttpRequestException: An error occurred while sending the request. β> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. β> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. β> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
β End of inner exception stack trace β
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
β End of inner exception stack trace β
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
β End of inner exception stack trace β
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ShopifySharp.ShopifyService.<>c__DisplayClass21_01.<<ExecuteRequestAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ShopifySharp.DefaultRequestExecutionPolicy.<Run>d__0
1.MoveNext()
β End of stack trace from previous location where exception was thrown β
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ShopifySharp.ShopifyService.<ExecuteRequestAsync>d__211.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ShopifySharp.RecurringChargeService.<GetAsync>d__2.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result() at ExicoShopifyCoreTools.Attributes.RequiresSubscription.OnAuthorization(AuthorizationContext filterContext) in C:\Users\ishahrier\Desktop\@Ishahrier\ExicoShopifyCoreV2\ExicoShopifyCoreV2\ExicoShopifyCoreTools\Attributes\RequiresSubscription.cs:line 63 at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList
1 filters, ActionDescriptor actionDescriptor)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState)
β> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. β> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. β> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. β> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
β End of inner exception stack trace β
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
β End of inner exception stack trace β
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
β End of inner exception stack trace β
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ShopifySharp.ShopifyService.<>c__DisplayClass21_01.<<ExecuteRequestAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ShopifySharp.DefaultRequestExecutionPolicy.<Run>d__0
1.MoveNext()
β End of stack trace from previous location where exception was thrown β
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ShopifySharp.ShopifyService.<ExecuteRequestAsync>d__21`1.MoveNext()
β End of stack trace from previous location where exception was thrown β
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ShopifySharp.RecurringChargeService.<GetAsync>d__2.MoveNext()<β
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:20 (6 by maintainers)
Been pulling my hair almost entire day cause of this. Try adding this to Global.asax.cs System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
I started a post here https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/anyone-else-stopped-receiving-webhoooks-522356