Hello, for the last little while I have been getting random issues where network services running on a Proxmox host are throwing connection errors when working with a Mariadb server running in a VM on the same physical host.
Basically:
Code:
PVE (Proxmox host)
|
|---VM1 with web services
|---VM2 with web services
|---VM3 with MariaDB
Code:
A fatal error has occurred
Connect failed: (2002) php_network_getaddresses: getaddrinfo failed:
Name or service not known
I experience issues with most of the web services I use but not all which is strange.. Usually, when getting an error like the one posted above, I simply hit refresh (F5) and the page loads as expected without further errors.. At first I was thinking about LOCAL firewall issues on the VM's but then things wouldn't simply get working again after a few seconds.
Strangely, SSH'ing to the MariaDB VM is working and I can confirm the VM has full network connectivity. Additionally, I cannot see traces of firewalling issues (I use pfsense).
The setup has pretty much been the same for years now so I know this is not something related to the networking setup on the Proxmox level, or pfsense config issues...
Short of posting on a database forum (if there's such a thing), how to troubleshoot this?
Code:
Server: Localhost via UNIX socket
Server version: 10.3.35-MariaDB-log - MariaDB Server
Protocol version: 10