[Opensim-dev] Ubuntu 20.02 update and OpenSim

Leal Duarte ajlduarte at sapo.pt
Wed Jul 20 07:10:32 UTC 2022


DO you have "SslMode=None;" on the mysql connector string fsassets is using?

On 20-Jul-22 04:39, Mike Higgins wrote:
> Nope, I am on mono 6.12.0.186
>
> On 7/19/22 8:25 PM, Cinder Roxley wrote:
>>  From the looks of it, FSAssetService is trying to connect to the 
>> upgraded host using TLSv1 and the host is denying the connection 
>> because TLSv1 is deprecated and completely disabled in Ubuntu 20.04. 
>> Given that your stack trace references OpenSSL and not BoringSSL, I 
>> can assume you are using a version of Mono for FSAssets that is older 
>> than Mono 4.8.0 and does NOT include TLS 1.2 support. You can 
>> downgrade TLS security on the 20.04 host, but I’m not going to tell 
>> you how to do that because you should be using TLS 1.2. If you 
>> upgrade mono to newer than 4.8.0 you will gain TLS 1.2 support. (You 
>> should do this.)
>>
>> -- 
>> Sent from Canary (https://canarymail.io)
>>
>>> On Tuesday, Jul 19, 2022 at 9:04 PM, Mike Higgins <mike at kayaker.net 
>>> (mailto:mike at kayaker.net)> wrote:
>>> I have one server on which I let Ubuntu update itself to 20.04, now
>>> Robust (which was working fine on 18.04) gives me dozens of RED ERROR
>>> MESSAGES!
>>>
>>> Any suggestions on what do do about this?
>>>
>>> Here's the first dozen lines of error messages:
>>>
>>> 2022-07-19 11:10:07,792 INFO [SERVER]: Loading AssetServiceConnector on
>>> port 8003
>>> 2022-07-19 11:10:07,916 ERROR [SERVER UTILS]: Error loading plugin
>>> OpenSim.Services.Interfaces.IAssetService from
>>> OpenSim.Services.FSAssetService.dll. Exception: Authentication failed,
>>> see inner exception.
>>> System.Reflection.TargetInvocationException: Exception has been thrown
>>> by the target of an invocation. --->
>>> System.Security.Authentication.AuthenticationException: Authentication
>>> failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl
>>> error:1000042e:SSL 
>>> routines:OPENSSL_internal:TLSV1_ALERT_PROTOCOL_VERSION
>>> at /build/mono-6.12.0.182/external/boringssl/ssl/tls_record.c:462
>>> at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in
>>> <33b19a7ad5234d94abf4fd9b47566616>:0
>>> at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake
>>> (Mono.Net.Security.AsyncOperationStatus status, System.Boolean
>>> renegotiate) [0x000da] in <33b19a7ad5234d94abf4fd9b47566616>:0
>>> at (wrapper remoting-invoke-with-check)
>>> Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool) 
>>>
>>> at Mono.Net.Security.AsyncHandshakeRequest.Run
>>> (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in
>>> <33b19a7ad5234d94abf4fd9b47566616>:0
>>> at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation
>>> (System.Threading.CancellationToken cancellationToken) [0x000fc] in
>>> <33b19a7ad5234d94abf4fd9b47566616>:0
>>> --- End of inner exception stack trace ---
>>> at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient
>>> (System.String targetHost,
>>> System.Security.Cryptography.X509Certificates.X509CertificateCollection
>>> clientCertificates, System.Security.Authentication.SslProtocols
>>> enabledSslProtocols, System.Boolean checkCertificateRevocation)
>>> [0x0004b] in <33b19a7ad5234d94abf4fd9b47566616>:0
>>> at (wrapper remoting-invoke-with-check)
>>> Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,bool) 
>>>
>>> at System.Net.Security.SslStream.AuthenticateAsClient (System.String
>>> targetHost,
>>> System.Security.Cryptography.X509Certificates.X509CertificateCollection
>>> clientCertificates, System.Security.Authentication.SslProtocols
>>> enabledSslProtocols, System.Boolean checkCertificateRevocation)
>>> [0x00006] in <33b19a7ad5234d94abf4fd9b47566616>:0
>>> at MySql.Data.MySqlClient.NativeDriver.StartSSL () [0x0005d] in
>>> <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.NativeDriver.Open () [0x002ce] in
>>> <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.Driver.Open () [0x0000b] in
>>> <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.Driver.Create
>>> (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) 
>>> [0x0004e]
>>> in <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection ()
>>> [0x00000] in <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection () [0x0008a]
>>> in <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x0003f] in
>>> <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.MySqlPool.GetConnection () [0x0001c] in
>>> <278c96de340e4912b3e3157e0b52741f>:0
>>> at MySql.Data.MySqlClient.MySqlConnection.Open () [0x0016d] in
>>> <278c96de340e4912b3e3157e0b52741f>:0
>>> at OpenSim.Data.MySQL.MySQLFSAssetData.Initialise (System.String
>>> connect, System.String realm, System.Int32 UpdateAccessTime) [0x00024]
>>> in <2b3d60a10b2b49e19cd7e0b1563d153e>:0
>>> at OpenSim.Services.FSAssetService.FSAssetConnector..ctor
>>> (Nini.Config.IConfigSource config, System.String configName) [0x00299]
>>> in <d6ad8bbd3ac94a669a5c337db7095b94>:0
>>> at (wrapper managed-to-native)
>>> System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) 
>>>
>>> at System.Reflection.RuntimeConstructorInfo.InternalInvoke
>>> (System.Object obj, System.Object[] parameters, System.Boolean
>>> wrapExceptions) [0x00005] in <de882a77e7c14f8ba5d298093dde82b2>:0
>>> --- End of inner exception stack trace ---
>>>
>>> -- 
>>> If you love math and wish an equation would never end, try out 
>>> Taylor Series Expansion! (stolen from XKCD)
>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at opensimulator.org
>>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at opensimulator.org
>> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
>


More information about the Opensim-dev mailing list