denverquane / MMM-Teslamate

Magic Mirror Module for the Teslamate utility
MIT License
52 stars 14 forks source link

Error: read ECONNRESET reconnecting loop #28

Closed xsorifc28 closed 2 years ago

xsorifc28 commented 2 years ago

With the latest version of teslamate, this module has started giving an error:

 MMM-Teslamate <ip>:1883: Error: Error: read ECONNRESET
 MMM-Teslamate: <ip>:1883 reconnecting 
xsorifc28 commented 2 years ago

Turns out I was using an older version of the teslamate docker-compose file. Leaving here for reference.

Updataed to mosquitto 2 image an all is working:

mosquitto:
    image: eclipse-mosquitto:2
    restart: always
    command: mosquitto -c /mosquitto-no-auth.conf
    ports:
      - 1883:1883
    volumes:
      - mosquitto-conf:/mosquitto/config
      - mosquitto-data:/mosquitto/data