Mono: 'The authentication or decryption has failed' - Frank58 - 18 March 2017
Ik krijg de volgende foutmeldingen (Ubuntu 14.04 via crouton op Chromebook), werkte altijd naar behoren:
Code: Er is een fout opgetreden. GemistDownloader werkt mogelijk niet meer.
System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b0109
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.RemoteValidation (Mono.Security.Protocol.Tls.ClientContext context, AlertDescription description) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0
at System.Net.WebClient.ReadAll (System.Net.WebRequest request, System.Object userToken) [0x00000] in <filename unknown>:0
at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] in <filename unknown>:0
Na deze weggeklikt te hebben volgt deze:
Code: Error reading JObject from JsonReader. Path '', line 0, position 0.
[ at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Linq.JObject.Parse (System.String json) [0x00000] in <filename unknown>:0
at GDGenerators.NPO.GetStreams (System.String token, System.String input, Boolean SwapAdaptive, IWebProxy proxy, Int32 recursive) [0x00000] in <filename unknown>:0
at GDGenerators.NPO.GetStreamUrls (System.String input, IWebProxy proxy, System.String version) [0x00000] in <filename unknown>:0
at GDGenerators.Generator.GetStreamUrlNpo (System.String input, IWebProxy proxy, System.String version) [0x00000] in <filename unknown>:0
at GemistDownloader.ManualLinksSearch.FetchNpoServer (System.String id, System.String placeholderUrl, GemistDownloader.Downloader currentDownload, Boolean showExceptions) [0x00000] in <filename unknown>:0 ]
RE: Mono: 'The authentication or decryption has failed' - Webmaster - 19 March 2017
Een andere Mono-gebruiker had een soortgelijk probleem (zie post).
Kun je het volgende proberen in te voeren in je terminal?:
Code: MONO_TLS_PROVIDER=btls csharp -e 'new System.Net.WebClient().DownloadString("https://www.howsmyssl.com/")' | grep "TLS 1.2"
RE: Mono: 'The authentication or decryption has failed' - Frank58 - 20 March 2017
(19 March 2017, 19:28)Webmaster schreef: Een andere Mono-gebruiker had een soortgelijk probleem (zie post).
Kun je het volgende proberen in te voeren in je terminal?:
Code: MONO_TLS_PROVIDER=btls csharp -e 'new System.Net.WebClient().DownloadString("https://www.howsmyssl.com/")' | grep "TLS 1.2"
Dank voor je reactie.
Helaas werkt gemistdownloader nu helemaal niet meer (start niet meer op) . Ook niet na herinstallatie.
Ik ga mono maar eens herinstalleren voor de tweede keer. Mischien dat daarna gemeistdownloader weer opstart.
RE: Mono: 'The authentication or decryption has failed' - Frank58 - 22 March 2017
(20 March 2017, 19:56)Frank58 schreef: Dank voor je reactie.
Helaas werkt gemistdownloader nu helemaal niet meer (start niet meer op) . Ook niet na herinstallatie.
Ik ga mono maar eens herinstalleren voor de tweede keer. Mischien dat daarna gemeistdownloader weer opstart.
Nog even voor de duidelijkheid: na uitvoeren van "MONO_TLS_PROVIDER=btls csharp -e 'new System.Net.WebClient().DownloadString("https://www.howsmyssl.com/")' | grep "TLS 1.2"" starte gemistdownloader niet meer op.
Inmiddels mono gedeinstalleerd. Gemistdownloader opnieuw geinstalleerd. En weer start gemistdownloader niet meer op.
Ik krijg de volgende foutmelding:
Code: (GemistDownloader:3134): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Unhandled Exception:
System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.RemoteValidation (Mono.Security.Protocol.Tls.ClientContext context, AlertDescription description) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0
at System.Net.WebClient.ReadAll (System.Net.WebRequest request, System.Object userToken) [0x00000] in <filename unknown>:0
at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.RemoteValidation (Mono.Security.Protocol.Tls.ClientContext context, AlertDescription description) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0
at System.Net.WebClient.ReadAll (System.Net.WebRequest request, System.Object userToken) [0x00000] in <filename unknown>:0
at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] in <filename unknown>:0
sudo apt-get purge mono-runtime
RE: Mono: 'The authentication or decryption has failed' - Frank58 - 28 March 2017
Probleem inmiddels opgelost.
Voor de degenen met een Chromebook en Ubuntu via Crouton.
Installeer Xenial Xerus 16.04.02 en installeer Gemistdownloader schoon.
Hierna werkt het zonder problemen. Trusty 14.04 geeft bij mij de problemen in elk geval.
|