Giter VIP home page Giter VIP logo

Comments (3)

vish30 avatar vish30 commented on June 2, 2024

I am facing the same problem with PostgreSQL back-end too. docker-mosquitto_mosquitto_1 exited with code 139 is what I get when a connection using wrong password is attempted.

Can anyone please tell how to stop the docker container from exiting?

from docker-mosquitto.

rezwanul7 avatar rezwanul7 commented on June 2, 2024

I am facing the same issue here...

from docker-mosquitto.

jllopis avatar jllopis commented on June 2, 2024

This is due to the plugin failing to contact the backend. In the auth-plugin.conf sample file included, there is a declaration for an http backend. When the first backend is queried for an account with wrong password, this failed and the second one, http, is tried.

Here in quits because libcurl can not connect with the, nonexistent, server.

To fix this issue, add to auth-plugin.conf only the backends configured and the issue will go away.

Anyway, this seems dangerous to me in production. What if you do have an http backend but is temporarily down? I think that I will fix it to be-http.c return BACKEND_DEFER in this case so any other backed could be tried and, most important, the broker don't stop running.

from docker-mosquitto.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.