[5.3.3.0] Linux console critical bug "The authentication or decryption has failed."

In das Unterforum "Erledigt" werden alle Beiträge geschoben, die erledigt sind, bspw. bei behobenen Bugs.
Gesperrt
rvm1975
Spender
Beiträge: 112
Registriert: Di 7. Apr 2015, 16:34
Wohnort: Ukraine, Lviv
Hat sich bedankt: 35 Mal
Danksagung erhalten: 26 Mal

[5.3.3.0] Linux console critical bug "The authentication or decryption has failed."

Beitrag von rvm1975 »

Any suggestions? no issues with the windows client
SPOILER
4/13/2021 11:18:18 PM Warn Core XXX@S1.SFGAME.YYY Server exception. (Not reachable? Message was Error: SecureChannelFailure (Theauthentication or decryption has failed.)) Waiting 30 seconds and try it again..
4/13/2021 11:18:18 PM Warn Core General System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption hasfailed.) ---> 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 (System.IAsyncResult asyncResult) [0x00037] in <f0057a409c774a0484f771ccbe01772e>:0
at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <f0057a409c774a0484f771ccbe01772e>:0
at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <f0057a409c774a0484f771ccbe01772e>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in <f0057a409c774a0484f771ccbe01772e>:0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <f0057a409c774a0484f771ccbe01772e>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in <f0057a409c774a0484f771ccbe01772e>:0
at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in <1a0168907d2042858c12ff7b2c118a26>:0
at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in <1a0168907d2042858c12ff7b2c118a26>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <1a0168907d2042858c12ff7b2c118a26>:0
at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <1a0168907d2042858c12ff7b2c118a26>:0
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00072] in <1a0168907d2042858c12ff7b2c118a26>:0
at System.Net.WebClient.DownloadData (System.Uri address) [0x00020] in <1a0168907d2042858c12ff7b2c118a26>:0
at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadData(System.Uri)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.sendstr (de.mfbot.MFBot_NG.Basisbibliothek.Account acc, de.mfbot.MFBot_NG.Basisbibliothek.Command command, System.Double UnixStampOfCall) [0x004ed] in <25726cf54e3346bfb501aecf14426b94>:0
at de.mfbot.MFBot_NG.Basisbibliothek.Server.send (de.mfbot.MFBot_NG.Basisbibliothek.Account acc, de.mfbot.MFBot_NG.Basisbibliothek.Command cmd) [0x00114] in <25726cf54e3346bfb501aecf14426b94>:0
mono version
SPOILER
mono-mvc-6.8.0-2.el7.x86_64
mono-extras-6.8.0-2.el7.x86_64
mono-devel-6.8.0-2.el7.x86_64
mono-winforms-6.8.0-2.el7.x86_64
mono-wcf-6.8.0-2.el7.x86_64
mono-data-6.8.0-2.el7.x86_64
mono-core-6.8.0-2.el7.x86_64
mono-data-sqlite-6.8.0-2.el7.x86_64
monodoc-6.8.0-2.el7.x86_64
mono-web-6.8.0-2.el7.x86_64
F0restbear
Moderator
Beiträge: 1139
Registriert: Mo 8. Jun 2015, 17:36
Hat sich bedankt: 39 Mal
Danksagung erhalten: 214 Mal

Re: [5.3.3.0] Linux console critical bug "The authentication or decryption has failed."

Beitrag von F0restbear »

Hey there,

please try to update your certificates

Code: Alles auswählen

 sudo apt install referenceassemblies-pcl 
 sudo apt install ca-certificates-mono 
 sudo cert-sync 
Folgende Benutzer bedankten sich beim Autor F0restbear für den Beitrag:
rvm1975 (Mi 14. Apr 2021, 00:53)
Viele Grüße / Best regards

F0restbear
rvm1975
Spender
Beiträge: 112
Registriert: Di 7. Apr 2015, 16:34
Wohnort: Ukraine, Lviv
Hat sich bedankt: 35 Mal
Danksagung erhalten: 26 Mal

Re: [5.3.3.0] Linux console critical bug "The authentication or decryption has failed."

Beitrag von rvm1975 »

I had centos 7 then created new VM with centos 8.

So centos 8 has ca-certificates-2020.2.41-80.0.el8_2.noarch installed (no package ca-certificates-mono available)

Also I synced certificates

Code: Alles auswählen

cat /etc/ssl/certs/* > /tmp/ca-bundle.crt
cert-sync /tmp/ca-bundle.crt
cert-sync --user /etc/pki/tls/cert.pem
and imported something with mozroots

Code: Alles auswählen

mozroots --import --sync
Mozilla Roots Importer - version 6.12.0.107
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

WARNING: mozroots is deprecated, please move to cert-sync instead.

Downloading from 'https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt'...
Importing certificates into user store...
Import process completed.
But the issue still the same.

Actually, if you confirm that the console bot works in ubuntu I will install it ...

Thanks
rvm1975
Spender
Beiträge: 112
Registriert: Di 7. Apr 2015, 16:34
Wohnort: Ukraine, Lviv
Hat sich bedankt: 35 Mal
Danksagung erhalten: 26 Mal

Re: [5.3.3.0] Linux console critical bug "The authentication or decryption has failed."

Beitrag von rvm1975 »

Also, I compiled some code from https://www.mono-project.com/archived/u ... pectfully/

and downloaded s1.sfagame.ru page

Code: Alles auswählen

[root@centos-512mb-fra1-01 ~]# mono a1.exe https://s1.sfgame.ru
<!doctype html>
<html lang="en-us">
<head>
<title>Shakes & Fidget</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-itunes-app" content="app-id=556886960">
<meta name="google-site-verification" content="rMNAC3YTd-FMTC95GGP9EC-YE-omho-YRHJgePnWvhE">
<meta name="apple-mobile-web-app-capableX" content="yes">
<meta name="description" content="The fun Shakes & Fidget browser game">
<meta name="robots" content="index, follow">
<link rel="stylesheet" href="res/css/playa-cookie-consent.min.css">
<style>
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

Re: [5.3.3.0] Linux console critical bug "The authentication or decryption has failed."

Beitrag von Baaam »

Do you still experience that issue?
Gesperrt

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste