Welkom gast! Registreren
GemistDownloader 2.9.0.4  - Mono: 'The authentication or decryption has failed'
#1
Ik krijg de volgende foutmeldingen (Ubuntu 14.04 via crouton op Chromebook), werkte altijd naar behoren:

Citaat: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:
Citaat: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 ]
Antwoord
#2
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"
Antwoord
#3
(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.
Antwoord
#4
(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:

(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
Antwoord


Ga naar locatie:


Gebruikers die dit topic lezen: 1 gast(en)