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

Connection Hangs on 'CONNECTING' and SSH Gets Disconnected #6045

Open
davidstrt opened this issue May 7, 2024 · 1 comment
Open

Connection Hangs on 'CONNECTING' and SSH Gets Disconnected #6045

davidstrt opened this issue May 7, 2024 · 1 comment

Comments

@davidstrt
Copy link

davidstrt commented May 7, 2024

Describe the bug
I successfully installed the 'myst' CLI on a Linux server. I was able to topping up my identity and list 'proposals'. However, when I try to issue the 'connect' command via either of the following methods:

  1. myst cli >> connect <my-identity> <provider-identity> wireguard
  2. myst connection up <provider-identity>

The process hangs on 'CONNECTING' and the SSH connection gets disconnected with the following message:
client_loop: send disconnect. broken pipe.

Until I perform a restart through the dashboard, I am unable to establish an SSH connection to the machine.

To Reproduce
Steps to reproduce the behavior:

  1. ssh into linux server
  2. myst connection up <provider-id>
  3. ssh gets disconnected

Expected behavior
It's expected to see the result of connect command, whether connection was successful or not without disrupting ssh connection.

Environment (please complete the following information):

  • Node version: 1.29.20
  • OS: Linux 20.04.6 LTS (Focal Fossa)

Additional context

  • I am connected to the server by extending the SSH connectivity timeout using the following command: ssh -o ServerAliveInterval=300 root@<server-ip> to no vail.
  • IP forwarding is enabled.
  • All iptables rules are purged before using myst ( no conflicting rules) and all ports are open ( no firewall ).
  • I also tested it on a second VPS in a different datacenter; same issue: SSH gets disconnected on issuing the connect command.
  • consumer logs does not show any remarkable errors:
    sudo journalctl -u mysterium-consumer.service | grep ERR
May 06 07:59:24 8285 myst[12841]: 2024-05-06T07:59:24.485 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
May 06 08:17:32 8285 myst[718]: 2024-05-06T08:17:32.789 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
May 06 08:26:02 8285 myst[719]: 2024-05-06T08:26:02.472 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
May 06 08:37:49 8285 myst[719]: 2024-05-06T08:37:49.435 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
May 06 09:15:24 8285 myst[716]: 2024-05-06T09:15:24.641 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
May 06 11:20:12 8285 myst[720]: 2024-05-06T11:20:12.737 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
May 06 11:29:18 8285 myst[720]: 2024-05-06T11:29:18.206 ERR core/quality/mysterium_morqa.go:212      > Failed to sign metrics event error="failed to sign metrics event: authentication needed: password or unlock"
@davidstrt davidstrt added the bug label May 7, 2024
Copy link

stale bot commented Aug 9, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant