question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exceptions thrown on/after May 31st, 2018 // Response did not indicate success: Status: 0 // TLS stuff

See original GitHub issue

System.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__01.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.Task1.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, IList1 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__01.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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

7reactions
pirkecommented, May 31, 2018

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;

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gmail Error :The SMTP server requires a secure ...
When you try to send mail from code and you find the error "The SMTP server requires a secure connection or the client...
Read more >
Untitled
How to remove glare form the sky in photos, Unusual things to do in chiang ... Patient zero 2018 online subtitrat, St eval...
Read more >
Untitled
Hellboy post credit scene baba yaga, How much is ashanti worth 2018, Commercial rubbish ... Amad khan district afghanistan, Not success status code...
Read more >
Automate Desktop and Automate Plus/Ultimate
has been fixed so evaluation object in Workflow evaluation does not throw an exception when evaluating a number and an empty variable that...
Read more >
Known Problem Report as of Aug 7 2023 4:00AM
KPR#:15 Shutdown events are not displayed on the software Status screen ... KPR#:343 Copy to Clipboard Function in Instrument Actuals throws exception error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found