golemfactory / yagna-triage

Repository for issues which we don't yet know about enough to assign to proper repo
1 stars 0 forks source link

cannot make an SSH connection through the VPN #195

Closed ederenn closed 2 years ago

ederenn commented 2 years ago

Name: blue yagna version: yagna 0.10.0-rc15 (160bc5a1 2022-03-14 build #206) OS+lang+version (if applicable): mac, Python 3.9.7, yapapi 0.9.0-alpha.1

# yapapi

[2022-03-15T13:08:10.313+0100 INFO yapapi.services.service_runner] <SshService starting on jiuzhang.t [ 0x02a71376b982cb3752e99252625aa4cc33b7ed3d ] @ 192.168.0.2> commissioned
Connect with:
ssh -o ProxyCommand='websocat asyncstdio: ws://127.0.0.1:7465/net-api/v1/net/373084af313f40bd90890dfdf7176aa9/tcp/192.168.0.2/22 --binary -H=Authorization:"Bearer 1842833b3749454f91eb3edc8624fdb7"' root@3d315178da93470f960e48a8b9fdb189
password: BpQ1Qpkq

# another console

$ ssh -o ProxyCommand='websocat asyncstdio: ws://127.0.0.1:7465/net-api/v1/net/373084af313f40bd90890dfdf7176aa9/tcp/192.168.0.2/22 --binary -H=Authorization:"Bearer 1842833b3749454f91eb3edc8624fdb7"' root@3d315178da93470f960e48a8b9fdb189
websocat: WebSocketError: Received unexpected status code (504 Gateway Timeout)
websocat: error running
ssh_exchange_identification: Connection closed by remote host

# yagna 

[2022-03-15T13:09:18.092+0100 WARN  ya_vpn::network] VPN 373084af313f40bd90890dfdf7176aa9: no connection to Endpoint { addr: Ipv4(Address([192, 168, 0, 2])), port: 22 }

yagna_rCURRENT (5).log ssh-yapapi-2022-03-15_13.06.28.log

mfranciszkiewicz commented 2 years ago

The issue is being closed, to be re-opened when necessary.

I have no longer encountered the issue since devnet providers have been restarted.

Before then, the investigation showed that the providers were operating under degraded performance conditions. The prevailing issue were the long database access times, which delayed each action taken by the provider agent (e.g. activity creation). Since the provider restart, further investigation was hampered and lead to examination of the following potential problems and symptoms:

Currently, provider nodes are behaving correctly.