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
When a client tries to connect to the server using TLS, the following error occurs:
Traceback (most recent call last):
File "/usr/local/bin/electrum-personal-server", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/dist-packages/electrumpersonalserver/server/common.py", line 494, in main
run_electrum_server(rpc, txmonitor, config)
File "/usr/local/lib/python3.12/dist-packages/electrumpersonalserver/server/common.py", line 147, in run_electrum_server
sock = ssl.wrap_socket(sock, server_side=True,
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
This is because the wrap_socket() function was deprecated after Python 3.7.
I was able to fix this by replacing lines 147-149:
When a client tries to connect to the server using TLS, the following error occurs:
This is because the wrap_socket() function was deprecated after Python 3.7.
I was able to fix this by replacing lines 147-149:
With the following:
After that I was able to successfully connect with my Electrum wallet.
The text was updated successfully, but these errors were encountered: