Page MenuHomePhabricator

Mono isn't using ECDH/ECDSA capabilities of BTLS on spearow
Closed, ResolvedPublic

Assigned To
Authored By
stwalkerster
Mar 31 2018, 2:56 AM
Tags
Referenced Files
None
Subscribers

Description

2018-03-31 02:49:22,168 [16] ERROR Helpmebot.Repositories.ShortUrlCacheRepository [(null)] - Error encountered resolving URL System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
   at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord(IAsyncResult asyncResult) <0xf43483c0 + 0x000e3> in <filename unknown>:0
   at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord(IAsyncResult ar, Boolean ignoreEmpty) <0xf4348318 + 0x0001f> in <filename unknown>:0
   at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker(IAsyncResult result) <0xf4343558 + 0x0019f> in <filename unknown>:0
   --- End of inner exception stack trace ---
   at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake(IAsyncResult result) <0xf3f6b3c8 + 0x000ab> in <filename unknown>:0
   at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback(IAsyncResult asyncResult) <0xf3f6b1d8 + 0x0005f> in <filename unknown>:0
   --- End of inner exception stack trace ---
   at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0xf4342330 + 0x00133> in <filename unknown>:0
   at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient(IAsyncResult asyncResult) <0xf4342198 + 0x00037> in <filename unknown>:0
   at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient(System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0xf435cd20 + 0x00050> in <filename unknown>:0
   at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) <0xf26273f0 + 0x000eb> in <filename unknown>:0
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0xf26257d0 + 0x00187> in <filename unknown>:0
   at System.Net.HttpWebRequest.GetResponse () <0xf26217a0 + 0x0004c> in <filename unknown>:0
   at Helpmebot.Services.UrlShortening.IsGdUrlShorteningService.GetShortUrl(System.String longUrl) <0xf117c1d0 + 0x000e7> in <filename unknown>:0
   at Helpmebot.Repositories.ShortUrlCacheRepository+<>c__DisplayClass1_0.<GetShortUrl>b__0(ISession session) <0xf117bef8 + 0x00140> in <filename unknown>:0
   at Helpmebot.Repositories.RepositoryBase`1[T].Transactionally(System.Action`1 callback, IsolationLevel level) <0xf371f430 +0x000d6> in <filename unknown>:0

Event Timeline

stwalkerster renamed this task from Error encountered resolving URL,System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed. to Mono isn't using ECDH/ECDSA capabilities of BTLS on spearow.Apr 18 2018, 8:51 PM
stwalkerster triaged this task as High priority.
stwalkerster updated the task description. (Show Details)
stwalkerster shifted this object from the Restricted Space space to the S1 Default space.

Notably, this works fine on dorado.

Improvement:

System.Net.WebException: The remote server returned an error: (503) Service Unavailable.
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <2740d7148e184840ad6689888c90a56d>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <2740d7148e184840ad6689888c90a56d>:0 
  at Helpmebot.Services.UrlShortening.IsGdUrlShorteningService.GetShortUrl (System.String longUrl) [0x00027] in <e72ee49446d2444aac813f2b1b4b21c3>:0 
  at Helpmebot.Repositories.ShortUrlCacheRepository+<>c__DisplayClass1_0.<GetShortUrl>b__0 (NHibernate.ISession session) [0x00071] in <e72ee49446d2444aac813f2b1b4b21c3>:0 
  at Helpmebot.Repositories.RepositoryBase`1[T].Transactionally (System.Action`1[T] callback, System.Data.IsolationLevel level) [0x00032] in <e72ee49446d2444aac813f2b1b4b21c3>:0