AWS MQTT 'Disconnected' problem

Hi everyone,

I have some issues related to the connection between the mqtt node output and AWS. It seems to work well for a period and then it disconnects without having any modifications done. At the same time I have another http node that sends the data to a website and it continues to get messages without any problem.
Is there some issues related to the connection between node red and AWS ?
I've seen in some forums that the clientID shouldn't be specified in the configuration but lately the problem occured again.

Thank you for you time

What do you see in the node-red log when it fails?

What do you have to do to get it to re-connect?

What do you see in the MQTT log on the remote server?