-
Notifications
You must be signed in to change notification settings - Fork 52
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
Header problem on Mono #111
Comments
@Evengard Hmmmmm..... the unit tests in CI are running against Mono. I have some integration tests started that call this method, so perhaps that will help to diagnose and fix. In the meantime, can you try switching its mode from async to sync? It's something like: client.CustomSettings.SendingMode = SendingModes.Sync; If you switch to this mode, there is no need for the |
I tried both modes. The problem is exactly the same. |
Well fiddlesticks. Get Outlook for iOS On Fri, Oct 7, 2016 at 10:00 AM -0500, "Evengard" [email protected] wrote: I tried both modes. The problem is exactly the same. — |
If it matters, Mono is running under Linux x64 (debian, Xamarin packages), versions 4.4.2 and 4.6.1 affected. |
Thank you @Evengard. I don't know what Travis uses by default but I'll try it there first. If it doesn't fail there I'll try running the tests thru docker. |
After all the original problem was from my side - the api key was somehow null in the Mono config, that was the cause of this error. But the problem is that fixing it didn't helped. The new stacktrace is even more weird than the previous.
|
This library worked like a charm under Windows and .NET 4.5, but when trying to run the same app under Mono, it crashed somewhere inside the sending logic with a System.FormatException with this stacktrace:
All I was trying is to do a
sparkpostClient.Transmissions.Send(message).Wait();
The text was updated successfully, but these errors were encountered: