MQTT Transmission not connecting to broker due to UnknownHostException but broker is reachable

I have Ignition using MQTT engine to connect to a Chariot Broker and Ignition Edge using MQTT Transmission to connect to the same Chariot Broker. Ignition connects successfully but Edge fails with the following error

I'm using the same connection settings (url, user, pass, etc) in Ignition and Edge. The Edge node can ping and telnet to the Broker so there is no firewall issue. However I dont see any connection attempts in the Chariot Broker logs so the connection request doesn't reach the broker.

What are the causes of the UnknownHostException? I'm not sure if this is a bug or a config issue.

This means the Edge gateway can't resolve tccedgebrokerp1.coffeebean.local into an IP address.

Are you sure you can ping/telnet to the broker, from the Edge, using that exact hostname?

I tried connecting using the IP instead of the hostname and it works. Looks like the ping/telnet can't resolve the hostname as I didn't realize the ping was running on the Ignition machine and not the Edge machine