munstr icon indicating copy to clipboard operation
munstr copied to clipboard

First time usage: error with websocket

Open jaonoctus opened this issue 1 year ago • 0 comments

Description

I just installed it following the README, I got this in the terminal:

INFO:websocket:Websocket connected
Traceback (most recent call last):
  File "/home/jaonoctus/code/munstr/./start_signer.py", line 19, in <module>
    main(args.wallet_id, args.key_seed, args.nonce_seed)
  File "/home/jaonoctus/code/munstr/./start_signer.py", line 9, in main
    run_signer(wallet_id=wallet_id, key_pair_seed=key_pair_seed, nonce_seed=nonce_seed)
  File "/home/jaonoctus/code/munstr/src/signer/signer.py", line 235, in run_signer
    init_relay_manager(relay_manager, [cordinator_pk])
  File "/home/jaonoctus/code/munstr/src/utils/nostr_utils.py", line 64, in init_relay_manager
    relay_manager.relays[NOSTR_RELAYS[0]].publish(message)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/nostr/relay.py", line 47, in publish
    self.ws.send(message)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_app.py", line 243, in send
    if not self.sock or self.sock.send(data, opcode) == 0:
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_core.py", line 283, in send
    return self.send_frame(frame)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_core.py", line 311, in send_frame
    l = self._send(data)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_core.py", line 525, in _send
    return send(self.sock, data)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_socket.py", line 143, in send
    raise WebSocketConnectionClosedException("socket is already closed.")
websocket._exceptions.WebSocketConnectionClosedException: socket is already closed.
INFO:websocket:Websocket connected

  • OS: Ubuntu 22.04.2 LTS on Windows 10 x86_64
  • Kernel: 5.15.90.1-microsoft-standard-WSL2
  • Shell: bash 5.1.16

jaonoctus avatar May 25 '23 16:05 jaonoctus