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

HttpRequestException from SendMessageTemplate #206

Open
brunoblank opened this issue Sep 27, 2018 · 0 comments
Open

HttpRequestException from SendMessageTemplate #206

brunoblank opened this issue Sep 27, 2018 · 0 comments

Comments

@brunoblank
Copy link

Hi, we have started seeing HttpRequestExceptions from the SDK when the send-load increase

Here is the stacktrace:

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: The server returned an invalid or unrecognized response.
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Mandrill.MandrillApi.Post[T](String path, RequestBase data)
   at Mandrill.MandrillApi.SendMessageTemplate(SendMessageTemplateRequest request)

I assume there should be a Mandrill-Exception for this case.

Thanks
Bruno

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