Error when running zrok private share from a script

Hi Michael,

Thanks for the reply.

On a remote Ubuntu server I am running the following as a service.
I cannot recall the exact command, since I am currently unable to access that computer. But I am confident it looks something like this:

zrok share private --backend-mode tcpTunnel 192.168.9.1:22

On my machine:

zrok access private mytunnel
Then I connect locally with ssh -p 9191 myuser@localhost

And after this last command, I see this logged to the console:

[ 8.714] ERROR zrok/endpoints/tcpTunnel.(*Frontend).accept: error dialing 'mytunnel': unable to dial service 'mytunnel' (dial failed: service 6wA6vUswdmeYUET7h95Wc0 has no terminators)

To be honest, due to my not being to access physically that remote computer yet, I have not tried just restarting Ubuntu… maybe that just fixes it.

EDIT:

As the original poster, I also see this in the terminal where I am using ssh
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 9191

The has no terminators kind of implies that the issue is with the zrok share side.

I would bet that restarting that share process would get you back in business. If possible, once you’ve got access re-established, if you could try and retrieve any logs from that zrok share process, it might be helpful in figuring out what happened there.

That zrok share process should be very resilient and recover from most network weather and temporary issues, but it’s possible something happened and caused it to crash or otherwise misbehave.

Thanks! We will try restarting it tomorrow

Restarting did the trick! All good now. Thanks