You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I was trying to connect to a wss:// endpoint using the Xpra Launcher and got the error you must specify an 'ssl-cert' file to use ssl sockets. After some digging it turns out this was because the method responsible for creating the ssl socket defaults to server_side=True and wasn't being passed the right options. After modifying get_ssl_wrap_socket_context to force-disable server_side, there's a new error about server_hostname being empty. After also manually setting this to the correct hostname, I'm getting a new error because the custom certificate I'm specifying isn't being respected (both when passing it via the cli or a launcher file).
After digging around in the code for a while, I was able to find the code for parsing these options, but it doesn't seem to be used for the launcher, only commands like xpra attach.
To Reproduce
I think connecting to any wss:// endpoint should be enough to reproduce this, since none of the SSL options are being loaded.
System Information:
Client OS: macOS 15.3.1 (24D70)
Xpra Client Version: The latest macOS Beta builds
The text was updated successfully, but these errors were encountered:
Describe the bug
I was trying to connect to a
wss://
endpoint using the Xpra Launcher and got the erroryou must specify an 'ssl-cert' file to use ssl sockets
. After some digging it turns out this was because the method responsible for creating the ssl socket defaults toserver_side=True
and wasn't being passed the right options. After modifying get_ssl_wrap_socket_context to force-disableserver_side
, there's a new error aboutserver_hostname
being empty. After also manually setting this to the correct hostname, I'm getting a new error because the custom certificate I'm specifying isn't being respected (both when passing it via the cli or a launcher file).After digging around in the code for a while, I was able to find the code for parsing these options, but it doesn't seem to be used for the launcher, only commands like
xpra attach
.To Reproduce
I think connecting to any
wss://
endpoint should be enough to reproduce this, since none of the SSL options are being loaded.System Information:
The text was updated successfully, but these errors were encountered: