The issue with Fritz Box 7590AX (and a few other AVM models) should have been fixed within latest FritzOS releases.
Then of course there can be other problems stemming from other products/providers involved in your setup. If you have not yet tried it, this should could help: Nuki 3.0 Pro Connectivity Issues with MQTT Broker on Home Assistant - #6 by Juergen