Open slavasab opened 5 months ago
I think I've run into something like this myself. I don't think it's your keyscan directly it seems sometime the tailscale client takes upwards of a minute to actually establish connections before it can pass traffic. But the action completed so the next step runs and fails because it can't reach resources.
We have the following setup:
From time to time our job fails on ssh-keyscan -t ed25519 $MACHINE >> ~/.ssh/known_hosts and app-api-staging is a tailscale MagicDNS.
On app-api-staging we see the following logs: tailscaled[530]: CreateEndpoint error for 100.81.*.*:53254 -> 100.107..**:22: connection was refused
Sometimes it works, sometimes it doesn't.
I'd be grateful for any advice.