Comments (6)
What does the FlashMQ logfile say during the dropping of those connections?
from flashmq.
Oh, my bad, you absolutely right. I missed the anonymous flag ... now is working like a charm.
Thanks a lot!
from flashmq.
The log was attached.
I can look in more detail later, but I see stuff like this in the log:
username='172.21.0.3,127.0.0.1,192.168.1.199,172.21.0.2'
And
User '' access denied
Can you create a clear case, with proper anonymous or non-anonymous logins clearly defined, and don't make mistakes in address/hostname vs username arguments?
from flashmq.
Now I see, It looks like related with the self signed certificate and the subject CN entries I have there ...
Let me review the way I am generating the self signed certificates. The basic script I've been using was working smoothly with other brokers so I must confess I did not pay much attention on this.
However, if there is something wrong with the certificate, still don't quite understand why few connections are accepted.
from flashmq.
However, if there is something wrong with the certificate, still don't quite understand why few connections are accepted.
You have overlapping listeners. The clients that are hitting the one with x509 auth get IP addresses from your CN as username. The one that are hitting the other one, get an empty string, and that is not allowed, because you config doesn't allow anonymous.
from flashmq.
Ah, great. So, we'll call it crisis averted ;)
from flashmq.
Related Issues (20)
- Fails to build with gcc 13 HOT 1
- Topic specific statistics
- flashmq_poll_remove_fd incorrect descriptor type HOT 3
- How can I bridge FlashMQ to another MQTT broker? HOT 6
- Multi-level wildcard out of spec HOT 5
- Is there a maximum number of retained messages? HOT 14
- Build of 1.7.2 fails with gcc 13.1.1 HOT 1
- Support lua scripting HOT 6
- Check if retained message has the same contents don't resend it
- If you connect to the broker with a Last Will and Testament (LWT) and correct username, the LWT is published even if the password is wrong. HOT 2
- docker hub image for flashmq
- Huge amount of rentained messages and restarting HOT 1
- Topic prefix stripping in server-to-server connections HOT 20
- keepalive interval vs paho-mqtt HOT 9
- FlashMQ keeps disconnecting the same socket?
- Last Will not working correctly? HOT 4
- Install on Raspberry Pi HOT 21
- Add armhf and arm64 builds to the apt repo for Raspberry Pi OS HOT 10
- Deal with empty user names some way 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 flashmq.