Open khernandezrt opened 4 months ago
Switching the URL to a direct IP did the trick. Looks like a DNS issue. I will leave this issue open as id prefer not to use a direct IP.
I'm encountering a similar timeout error, although doesn't seem to be DNS in my case as the IP is resolved properly:
Error: Error connecting to PostgreSQL server database.us-east-1.rds.amazonaws.com (scheme: awspostgres): dial tcp correct.ip.address:5432: connect: connection timed out
@henworth Have you setup your security policies correctly for your Tailscale instance?
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 ping
to the subnet router DNS hostname after bringing up tailscale and that seemed to dramatically improve reliability though still had 1 fail in 10 (that time it was the ping itself failing)
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.
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 withERROR 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.