RavenDB 4.0 Linux, .NET Core 2.0, exceltion on openssl

75 views
Skip to first unread message

Derek den Haas

unread,
Aug 17, 2017, 12:53:51 PM8/17/17
to RavenDB - 2nd generation document database
I was testing .NET Core 2.0 on my ASP.NET Core application, but it get's an exception:

System.PlatformNotSupportedException' in System.Private.CoreLib.dll: 'The handler does not support custom handling of certificates with this combination of libcurl (7.54.1) and its SSL backend ("OpenSSL/1.1.0f").

Complete stack:
at System.Net.Http.CurlHandler.SslProvider.SetSslOptionsForUnsupportedBackend(EasyRequest easy, ClientCertificateProvider certProvider)
   at System.Net.Http.CurlHandler.SslProvider.SetSslOptions(EasyRequest easy, ClientCertificateOption clientCertOption)
   at System.Net.Http.CurlHandler.EasyRequest.InitializeCurl()
   at System.Net.Http.CurlHandler.MultiAgent.ActivateNewRequest(EasyRequest easy)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at System.Net.Http.HttpClient.<FinishSendAsyncUnbuffered>d__59.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Client.Http.RequestExecutor.<ExecuteAsync>d__69`1.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Client.Documents.Session.AsyncDocumentQuery`1.<ExecuteActualQueryAsync>d__109.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Client.Documents.Session.AsyncDocumentQuery`1.<InitAsync>d__108.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Client.Documents.Session.AsyncDocumentQuery`1.<ToListAsync>d__98.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Client.Documents.LinqExtensions.<FirstOrDefaultAsync>d__45`1.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Identity.SignInManager`1.<PasswordSignInAsync>d__34.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

Yes it's on arch, so I'll switch back to windows for now, and check if our builds on ubuntu will work correctly...

Oren Eini (Ayende Rahien)

unread,
Aug 17, 2017, 1:28:09 PM8/17/17
to ravendb
What build is this, and what do you mean "arch" ?


Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Derek den Haas

unread,
Aug 17, 2017, 2:22:19 PM8/17/17
to RavenDB - 2nd generation document database
RavenDB Client 4.0.0018 on .NET Core 2.0.0-1 (Released 3 days ago).

Arch linux is a linux distro, like Ubuntu / Debian / Fedora etc

Op donderdag 17 augustus 2017 19:28:09 UTC+2 schreef Oren Eini:
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
Aug 17, 2017, 2:24:07 PM8/17/17
to ravendb
Oh, we haven't tested on 2.0 yet (we are running on it, but there is some perf regression that we are following)
And we only tested Ubuntu and RedHat so far
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

Derek den Haas

unread,
Aug 17, 2017, 3:15:51 PM8/17/17
to RavenDB - 2nd generation document database
Looks like an dotnet-runtime / dotnet error, since it's not able to set your custom certificates using libcurl and openssl. Though same version in dotnet 1.1 was working. I'll check on ubuntu once I freed up some space on my build server.

Op donderdag 17 augustus 2017 20:24:07 UTC+2 schreef Oren Eini:
Reply all
Reply to author
Forward
0 new messages