Unable to connect to HiveMQ MQTT broker

Hi,

I have a HiveMQ cluster. I am trying to connect my homeassistant to the HiveMQ broker but I am getting the “connection failed” error every time for no apparent reason , I am able to connect to the HiveMQ broker using other devices just fine. I am aware that MQTT setup through yaml has depreciated so I am attempting this through the gui.