# Can't connect to mqtt server

**URL:** <https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111>\
**Category:** Modifications\
**Tags:** mqtt, multiplus-ii, expert, vrm\
**Created:** [18 March 2026 17:07 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111 "2026-03-18T17:07:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/piotr/32/119_2.png) [@Piotr](https://community.victronenergy.com/u/Piotr)\
**Post date:** [18 March 2026 17:07 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/1 "2026-03-18T17:07:08Z")

</div>

Hello..

When we try to connect to [mqtt42.victronenergy.com:8883](http://mqtt42.victronenergy.com:8883) using InstallationId=61346 and Token, connection doesn’t return NotAuthorized error but immiadiately is disconnecting. Change of Token dosn’t help.

We can connect to VRM using the same Email and Token .

Could you check why mqtt server disconnect immidiately?

---

<div class="post-metadata">

**Author:** ![UpCycleElectric](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/upcycleelectric/32/36895_2.png) [@UpCycleElectric](https://community.victronenergy.com/u/UpCycleElectric)\
**Post date:** [18 March 2026 17:57 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/2 "2026-03-18T17:57:33Z")

</div>

> [@Piotr](#):
>
> Could you check why mqtt server disconnect immidiately?

Assuming you enabled MQQT on VenusOS and uploaded the correct CA Certificate ‘Venus-CA’, should you not use login: ‘e-mail address’ and password ‘Token self-generated-token-in-vrm’ ? And for the subscribtions use your VRM Portal ID (as in ‘N/portal\_ID/….). Did this work before?

---

<div class="post-metadata">

**Author:** ![Piotr](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/piotr/32/119_2.png) [@Piotr](https://community.victronenergy.com/u/Piotr)\
**Post date:** [18 March 2026 18:17 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/3 "2026-03-18T18:17:31Z")

</div>

1. I don’t connect to VenusOS Mqtt, but to mqtt in cloud: [https://github.com/victronenergy/dbus-flashmq](https://github.com/victronenergy/dbus-flashmq#connecting-to-the-vrm-mqtt-servers)
2. I worked a lot of years. It stopped work yesterday at 18 (CET).
3. For other users (including me, I also use Token) it is work very well
4. It is not working for 2 users: InstalatioId=61346 and 166736

---

<div class="post-metadata">

**Author:** ![UpCycleElectric](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/upcycleelectric/32/36895_2.png) [@UpCycleElectric](https://community.victronenergy.com/u/UpCycleElectric)\
**Post date:** [19 March 2026 08:40 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/4 "2026-03-19T08:40:26Z")

</div>

Strange. I was aware of only two ways to connect to the external broker farm:

1. To port 443 with the cerbogx internal credentials that are used to get the W msgs directly (for instance DESS schedule writes to the dbus)
2. To port 8883 with email/token to get N msgs by proxy, msgs that originate from the cerbogx with its own mqqt broker enabled (also accessible without credentials on localhost).

Never knew there is, or was, another way. I do know things are being worked on at the cloud end, for a week there were strangely regular missing DESS updates, that seem to have returned by normal yesterday afternoon. I could not get anybody to have look at the logs for me though. Chances are both your and our experience is related to the same thing.

Sorry cant be more helpful than suggest you try other credentials sets or ports until somebody picks up the phone so to say.

> [@VRM DESS Scheduler DOWN / ERRATIC?](https://community.victronenergy.com/t/vrm-dess-scheduler-down-erratic/54753/8):
>
> I had to update the flow to reduce noise. Now it captures only those events that have missing quarterly updates. This ran since yesterday, the logs from earlier in the weekend showed the same patterns). This is too regular to be a one-off or a coincidence (skipping precisely a full hour of updates, in 3 hour intervals is a dead giveaway). Either there is something programmed to skip full hour updates at distinct hour, or there are issues with the scheduler. Either way, the effect is the same: d…

Looking at GitHub there is some activity noticeable, I bet you a beer it is all connected. [Deprecate VRM username and password authentication · victronenergy/dbus-flashmq@f40cdc5 · GitHub](https://github.com/victronenergy/dbus-flashmq/commit/f40cdc5b4fd9d842c3519f04b95ff474f587fc63)

---

<div class="post-metadata">

**Author:** ![wiebe](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/wiebe/32/197_2.png) [@wiebe](https://community.victronenergy.com/u/wiebe)\
**Post date:** [19 March 2026 09:55 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/5 "2026-03-19T09:55:11Z")

</div>

We noticed the first failure of your token at ‘2026-03-18 17:46:25.057 CET (+0100)’. The token in question (named ‘GbbVictronWeb’) was deleted a day earlier, at ‘17/Mar/2026:17:28:19 +0100’.

Providing your clients with new tokens will fix it.

---

<div class="post-metadata">

**Author:** ![Piotr](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/piotr/32/119_2.png) [@Piotr](https://community.victronenergy.com/u/Piotr)\
**Post date:** [19 March 2026 20:03 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/6 "2026-03-19T20:03:07Z")

</div>

Thanks. This message helped a lot

---

<div class="post-metadata">

**Author:** ![UpCycleElectric](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/upcycleelectric/32/36895_2.png) [@UpCycleElectric](https://community.victronenergy.com/u/UpCycleElectric)\
**Post date:** [19 March 2026 21:47 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/7 "2026-03-19T21:47:22Z")

</div>

So you deleted your own token? Was that before you accidentally published that token here on the forum or after? Otherwise said, was that cause or effect?

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/victron/original/1X/21a9a7b5db7c6339715f993568736a7053199995.png) [@system](https://community.victronenergy.com/u/system)\
**Post date:** [2 April 2026 21:48 UTC](https://community.victronenergy.com/t/cant-connect-to-mqtt-server/55111/8 "2026-04-02T21:48:01Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
