godot: [3.5 RC2] libmono-btls-shared.dll is missing
Godot version
v3.5.rc2.mono.official [5f9bc7ea5]
System information
Windows 11
Issue description
libmono-btls-shared.dll seems to be missing from Godot v3.5.rc2.
After coping libmono-btls-shared.dll from Godot v3.4.4 Stable under \GodotSharp\Mono\bin of Godot v3.5.rc2 it seems to work but I though its worth reporting.
System.Security.
Authentication.AuthenticationException: Authentication failed, see inner excepti
on. ---> System.DllNotFoundException: libmono-btls-shared assembly:<unknown asse
mbly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Mono.Btls.MonoBtlsSslCtx.mono_btls_ssl_ctx_new(
)
at Mono.Btls.MonoBtlsSslCtx..ctor () [0x00000] in <7a3b45af41ef4245b921f3358af
1011e>:0
at Mono.Btls.MonoBtlsContext.InitializeConnection () [0x00000] in <7a3b45af41e
f4245b921f3358af1011e>:0
at Mono.Btls.MonoBtlsContext.StartHandshake () [0x00000] in <7a3b45af41ef4245b
921f3358af1011e>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Secu
rity.AsyncOperationStatus status, System.Boolean renegotiate) [0x0007e] in <7a3b
45af41ef4245b921f3358af1011e>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedS
tream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperati
onStatus status) [0x00006] in <7a3b45af41ef4245b921f3358af1011e>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.C
ancellationToken cancellationToken) [0x000fc] in <7a3b45af41ef4245b921f3358af101
1e>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.C
ancellationToken cancellationToken) [0x00115] in <7a3b45af41ef4245b921f3358af101
1e>:0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.Can
cellationToken cancellationToken) [0x0008b] in <7a3b45af41ef4245b921f3358af1011e
>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.B
oolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options,
System.Threading.CancellationToken cancellationToken) [0x00262] in <7a3b45af41e
f4245b921f3358af1011e>:0
at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync (System.Threading.Cance
llationToken cancellationToken) [0x002c5] in <be13c8b302534089ba379d2a0aa1089b>:
0
at MQTTnet.Internal.MqttTaskTimeout.WaitAsync (System.Func`2[T,TResult] action
, System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken)
[0x000c2] in <be13c8b302534089ba379d2a0aa1089b>:0
at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync (System.TimeSpan timeout, S
ystem.Threading.CancellationToken cancellationToken) [0x00122] in <be13c8b302534
089ba379d2a0aa1089b>:0
--- End of inner exception stack trace ---
at MQTTnet.Adapter.MqttChannelAdapter.WrapAndThrowException (System.Exception
exception) [0x0006e] in <be13c8b302534089ba379d2a0aa1089b>:0
at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync (System.TimeSpan timeout, S
ystem.Threading.CancellationToken cancellationToken) [0x00131] in <be13c8b302534
089ba379d2a0aa1089b>:0
at MQTTnet.Client.MqttClient.ConnectAsync (MQTTnet.Client.Options.IMqttClientO
ptions options, System.Threading.CancellationToken cancellationToken) [0x001d0]
in <be13c8b302534089ba379d2a0aa1089b>:0
at MQTTnet.Client.MqttClient.ConnectAsync (MQTTnet.Client.Options.IMqttClientO
ptions options, System.Threading.CancellationToken cancellationToken) [0x004a7]
in <be13c8b302534089ba379d2a0aa1089b>:0
at MQTTnet.Extensions.ManagedClient.ManagedMqttClient.ReconnectIfRequiredAsync
(System.Threading.CancellationToken cancellationToken) [0x000aa] in <3306143eba
5640ac8b4511d5ab397bc7>:0
Steps to reproduce
I guess any http/https call through C# will reproduce this
Minimal reproduction project
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (16 by maintainers)
Thanks, I opened this issue to keep track of it: https://github.com/godotengine/godot-mono-builds/issues/79
Well I was a bit confused because it seems to me that all work done on godot-mono-builds to build BTLS was supposed to fix #54758, but it didn’t. But I didn’t follow in depth and kind of got confused several times along the way, which led to this issue now 😃
Can you check if this build works fine out of the box? https://downloads.tuxfamily.org/godotengine/testing/Godot_v3.5-rc2_mono_win64%2Bbtls.zip
I thought the work done to build and include this lib actually hadn’t led to something useful in #54758, but apparently I was mistaken. I’ll fix it up to re-add this.