Broker unavailable?

Tonight I’ve been getting lots of errors reaching the broker.emqx.io broker. The error it throws in PHP is:

**Fatal error** : Uncaught PhpMqtt\Client\Exceptions\ConnectingToBrokerFailedException: [4] Establishing a connection to the MQTT broker failed: The configured broker is currently unavailable. in /vendor/php-mqtt/client/src/MessageProcessors/Mqtt31MessageProcessor.php:238 Stack trace: #0 /vendor/php-mqtt/client/src/MqttClient.php(377): PhpMqtt\Client\MessageProcessors\Mqtt31MessageProcessor->handleConnectAcknowledgement(' \x02\x00\x03') #1 /vendor/php-mqtt/client/src/MqttClient.php(158): PhpMqtt\Client\MqttClient->performConnectionHandshake(false) #2 /vendor/php-mqtt/client/src/MqttClient.php(144): PhpMqtt\Client\MqttClient->connectInternal(false) #3 whatever.com/lights/get_status.php(52): PhpMqtt\Client\MqttClient->connect() #4 {main} thrown in **/vendor/php-mqtt/client/src/MessageProcessors/Mqtt31MessageProcessor.php** on line **238**

It’s intermittent, and works a few minutes later.

Edited to add: getting errors reaching the server in all other languages as well.

Is the server having problems tonight?

I’m not sure, but it seems to be working fine now. :blush: