Comments (3)
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.
I am facing the same issue here...
from docker-mosquitto.
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)
- Segmentation fault using 1.4.12
- SSL Patch HOT 2
- SSL library conflict HOT 3
- Cloning libwebsockets failed. HOT 3
- websockets problem
- How to create new users in the broker? HOT 2
- The container size exceeds 4.5 GB
- Included source code makes image bigger than it needs to be
- Socket error on client (and Error: Unable to open config file /etc/mosquitto/mosquitto.conf)
- Update to mosquitto v2
- Update auth plugin
- chmod +x run.sh HOT 1
- Add mongo backend ? HOT 1
- Websockets HOT 4
- Websocket protocol with mosquitto HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mosquitto.