RaygunClient.send SSL/TLS exception
TClemens
Posted on
Jul 02 2013
I'm receiving this error when calling the RaygunClient.Send method and passing in my exception. I'm using .Net Framework 4 in a WPF app.
private RaygunClient _client = new RaygunClient("myAPIKey");
public App()
{
DispatcherUnhandledException += App_DispatcherUnhandledException;
}
void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
{
_client.Send(e.Exception);
}
Exception: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. InnerException: The remote certificate is invalid according to the validation procedure.
Has anyone ran into this?
John-Daniel Trask
Raygun
Posted on
Jul 02 2013
Hi,
This should be working fine, but perhaps you're behind a proxy which is surfacing its own SSL certs?
A quick check is to see what you get when you browse to https://raygun.io - do you get a cert warning? If so what does the cert info look like?
I hope that helps and hopefully we can get to the bottom of this with you quickly!
John-Daniel Trask