-
Notifications
You must be signed in to change notification settings - Fork 92
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
Tailscale step runs successfully but subsequent steps to connect to DB fail #130
Comments
Switching the URL to a direct IP did the trick. Looks like a DNS issue. |
I'm encountering a similar timeout error, although doesn't seem to be DNS in my case as the IP is resolved properly:
|
Yep, I've done all this. It was working fine and now I'm not sure what's wrong. Connectivity to this db works fine from other non-GitHub nodes using hostname or ip. |
I also started having issues 2 weeks ago. I have also verified that things works fine outside of github actions using same configuration |
I am having the same issue. It has been working perfectly so far but today I get random i/o timeouts. |
Same here! I had random failures especially on the first connection to our RDS instance (running in AWS) from a github action worker (running in Azure). Subsequent connections after the first failure would succeed. I did some debugging and found that the connection is going through DERP despite having inbound wireguard port for IPv4/v6 on the AWS side. I changed our use to first run a single Set up Split DNS and haven't had a failure since then, though only have had 10 or so runs since then. |
My issue turned out to be related to the stateful filtering added in v1.66.0. Once I disabled that on my subnet routers the problem disappeared. |
I wonder if there's a propagation delay here? E.g. a new node comes up but doesn't propagate fast enough. I wonder if adding a wait of 5 seconds or so would help here. Maybe thats why pinging may have helped? The stateful filtering is interesting, but it's disabled by default it seems. |
@henworth can you describe what flags you changed? I think I'm seeing something similar to this but in the helm world this time. Update:
Seems like default is false? |
At the time I wrote that comment the default was true, it has since been changed to false in a subsequent release. |
We created the correct tags and set the scope to
device
.The step for Tailscale runs(i dont see any confirmations that we are connected) but the step to run my tests fail with
ERROR tests/mycode/code/test_my_code.py - sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'mysqlserver.us-east-1.rds.amazonaws.com' (timed out)")
We also see the node being created on the Tailscale UI but i keep getting a timeout when I run pytest.
The text was updated successfully, but these errors were encountered: