erik
Thank you for the reply.
I tried all the above solutions but they did not help.
It is not related to network, firewall or DNS issues because the paho-mqtt library works fine in the normal mode.
I am using this tutorial since I need to exchange information in standalone mode.
I also tried to use 127.0.0.1 as a broker and I get a similar error:
[14442C10E113D5D600] [172.16.95.11] [6.813] [Script(2)] [warning] Connecting to MQTT broker...
[14442C10E113D5D600] [172.16.95.11] [6.845] [Script(2)] [critical] ConnectionRefusedError: [Errno 111] C
At:
/usr/lib/python3.9/socket.py(846): create_connection
<script>(4828): _create_socket_connection
<script>(2056): reconnect
<script>(1907): connect
<script>(5152): <module>
Could the issue be related to the script node or the paho-mqtt.py file used ?
Thank you very much and waiting to hear from you