Intermittent Test connection failed

We are receiving intermittent connection issues with our MS SQL resources to our on-site server.
We have whitelisted Retool IP's, checked error logs, checked settings and can't figure out why this is happening.

This started all of a sudden towards the end of January and we don't believe anything was changed on our server / router around that time. This issue is still ongoing and makes our apps unusable.

We have been discussing with support but none of the suggestions have worked.

4:22:45 PM :arrow_forward: Test connection failed (15.31s):Failed to connect to xxx in 15000ms

4:29:32 PM :arrow_forward: Test connection failed (16.991s):Failed to connect to xxx in 15000ms

4:29:36 PM :arrow_forward: Test connection successful (1.784s).

4:29:55 PM :arrow_forward: Test connection failed (15.199s):Failed to connect to xxx in 15000ms

4:30:11 PM :arrow_forward: Test connection failed (15.232s):Failed to connect to xxx in 15000ms

4:30:13 PM :arrow_forward: Test connection successful (1.633s).

Any suggestions would be greatly appreciated.

Hey @jamieg2203! Yikes, I'd definitely be happy to try helping here.

Where are you seeing these errors? This works occasionally? In your MS SQL logs, do you see anything notable?

Yeah it mainly fails but occasionally connects successfully.

We initially noticed this when our apps and workflows stopped working, we then tested the connection in resources and found that if we press the button 10 times possibly 6-7 times it would fail and 3-4 would be successful.

We queried the database locally and never have any issues, we have also checked our firewall and all retool's IP are allowed.

Hi again Jamie!

I spoke with our infra team today and have some follow up questions for you :slight_smile:

If you're on Cloud, have you whitelisted all the IPs mentioned on this page? https://docs.retool.com/docs/allow-retools-cloud-ip-addresses

Also, would you mind sharing your resource's firewall rules? A screenshot would be great, but if not possible, anything you can share would be appreciated :pray: