Ignition sporadic Database connection FAULTED. and Connection timed out: getsockopt

Sporadically Ignition loses the connection to our mysql server hosted on AWS showing in the logs:

Database connection FAULTED.

opening the databases section of the gateway the following is shown:

Could not connect to address=(host=our-cluster.cluster-cx2sms0000xx.eu-central-1.rds.amazonaws.com)(port=3306)(type=master) : Socket fail to connect to host:our-cluster.cluster-cx2sms0000xx.eu-central-1.rds.amazonaws.com port:3306. Connection timed out: getsockopt

we have a mirror Ignition with the same projects but different AWS endpoint which doesn't have any connection fault.

"Connection timed out" is purely a network error or an error in the target. You will have to investigate outside Ignition.

1 Like

ok found out, one Ignition server was running on a Windows machine with an Openvpn client which sometimes caused quirks with the MySQL connection.

1 Like