-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install on Raspberry Pi #85
Comments
Adding Debian (based) ARM packages is actually a good idea. I would require some time to set that up though. In the mean time, building on the Raspberry Pi itself should be easy. You can just follow the instructions in the readme, using This won't give you a systemd unit file and such, but perhaps it's a start? |
Thank you for your quick response. |
Yep, FlashMQ indeed supports websockets and TLS websockets over IPv4 and IPv6. You know, I just realized. If you do compile on a Rpi, cmake probably does make a .deb package you can just install with |
BTW, I see you tried the Debian bullseye repo. Does that mean your Rpi also runs that? I was going to provide you with a test binary, but then I need to know for sure which one: bullseye or bookworm. |
I tried on bullseye and of course I would be happy to test it |
Can you test this deb file? It's for Bullseye, armhf (32 bit). You can install with:
You will then have a systemd service; check with:
|
It is the same as with mosquitto:
but I can only connect by mqtt IPv6, ws only IPv4. here: eclipse/mosquitto#2628 ralight wrote
is this the same problem with FlashMQ (libwebsockets) ? |
No, websocket frame parsing is implemented internally by FlashMQ. Can you show logs of the server and your clients? |
config: listen { listen { MQTT Explorer says only "disconnect from server" if I try WS IPv6 |
If there is not even a line saying 'accepting connection', the problem is somewhere else. That is the lowest level of IPv6 activity, when it doesn't even know yet whether it's a websocket or not, or TLS or not. The problem lies elsewhere. And I've seen other weird stuff with MQTT explorer, like it not respecting a custom port number; it just kept using the default. Can you try another client? |
I tried with Node-Red, same. edit: Can you connect ? |
I'm having trouble with test.mosquitto.org, but that could be my client. I'm not really well set up with websockets currently. Can you try |
It is the same. |
And if you do?:
That should at least produce a line in the log. Or:
If those don't show up in the log as
Then you have network problems. Edit: BTW, can you give me the last four characters of you IPv6 address? Then I can search the logs of the demo server. |
I´ve no telnet or nmap :-( my first characters: |
I see logs from you like:
Did you use this certificate, or set 'insecure' mode? I also saw succefull ones:
I don't see attempts for non-TLS websockets. |
I tried with disabled IPv4 - you should see my succesfully login :-) (SSL port 4443) So I can switch from mosquitto to flashMQ. by the way, my mosquitto.conf:
can I use this config in flashMQ ? to renew the certifikats I use: Is it enough to change this here?
systemctl reload flashmq.service ? or has flashmq access to let´s encrypt folder? |
I indeed see a whole bunch of IPv6 websocket traffic from your client ID As for the config file, see the documentation. Most, if not all, of that is convertible to FlashMQ config directives. Reloading is indeed done with I think this ticket can be closed, I added a new one for the Raspberry Pi builds (#86). |
Can you create a tutorial how to install FlasMQ on RaspberryPi ?
I tried but failed:
N: Skipping loading the configured file "main/binary-armhf/Packages" because the depot "http:https://repo.flashmq.org/apt bullseye InRelease" does not support the "armhf" architecture.
If I didn't know for sure that it would run on another RaspberryPi (Victron Venus) - I would not ask for.
The text was updated successfully, but these errors were encountered: