MQTT connection failing as of today

Hello,
were there any recent breaking changes to the MQTT connection to Victron brokers? Today at 2 am UTC+1 all MQTT connections died. I tried connecting via MQTT Explorer or MQTTX and I’m getting Not Authorized error. I’m using same username and password as for VRM Portal and those credentials work in the portal but not via MQTT client.

Connection via MQTTX was working as recent as yesterday or Wednesday as I was using it and now without any changes on my side it stopped, so I guess it’s some change on the servers. Is it documented anywhere?

Thanks,
Piotr

Hi there,

You’re being blocked because you attempt to log in 40 times per second. Give it a few minutes and log in once.

@wiebe thanks for the reply! I tried turning off everything that connects to the MQTT broker for about an hour and it still doesn’t let me log in. To be sure: those login attempts are a fact (based on logs or something) or a guess? So I know if I should investigate it more or wait longer time.

Also to be sure: there were no very recent changes to how clients authenticate to the broker? No strict certificate requirements etc? Till today I could connect just using username and password.

Are you sure you turned everything off? I still see about 80k connection attempts per hour, including the last few hours. It’s your email address being mentioned in relation to rate limiting.

You have client IDs like Subscriber 102c6b6437fd-a9bd25c1-548d-4c09-b04d-2fe948ea13ff. Does that sound familiar?

Hello,
thank you for more details. I turned it off on Friday only for 1 hour, it was not enough apparently. Those client IDs are indeed definitely mine (from a dotnet client), this client uses mqttnet package and uses autoreconnect on error feature that retries every 5 seconds and there were several instances of this client, so I think this was the reason for so many login attempts.
Something has happened at 2 am on Friday that caused connection errors and then my clients fell into endless loop of reconnections. I’m sorry for the unintended extra traffic, it never happened before.
Today I finished switching MQTT communications to a custom broker, so nothing (except my MQTTX client) should be trying to connect to Victron broker now. Could you confirm that there are no excessive login attempts now? Because if they are still happening then it’s very weird and I’ll need to look for some rogue MQTT client.

EDIT: I can connect now (the next day) from MQTTX so it looks like nothing more was bombing the authentication. Thank you for help!

Best regards,
Piotr