Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First time usage: error with websocket #39

Open
jaonoctus opened this issue May 25, 2023 · 0 comments
Open

First time usage: error with websocket #39

jaonoctus opened this issue May 25, 2023 · 0 comments

Comments

@jaonoctus
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant