5
Wack
7y

Fucking MQTT, go suck some dicks! Can't get that pice of shit to work, sending connect and publish works like a charm but somehow I won't get an acknowledge message which means the publish doesn't go through!
On the brigt side: another oportunity to fire up wireshark and compare my software to other tools.

Anyone expirienced wit MQTT or thingstream.io

P.s. there support also can go and choke on some dicks!

Comments
  • 1
    Never mind all works now (:
  • 1
    @Wack You should probably explain how did you fix that. It would be a shame if someone with the same problem reached devrant through google and assumed that users here don't post solutions once they find it ;)
  • 2
    @tnnn absolutely. So I had two issues. First a lot of MQTT librabies only allow <= 23 chars for a client id. Thingstream.io however uses longer ids. I basically just forked the repo, changed that and published it to include it as dependency. The other problem was, that the default timeout to wait after the connect command to the broker was 10 seconds. It seams thingstream.io takes longer sometimes so adjusted that to 30 seconds and now it works like a charm.
  • 1
    Oh, the joys of using open source software and being able to fork it :)

    Fun fact - I had a simillar issue (just a different protocol, stack, etc.) and I've also ended up forking the library. Maybe you can send the patches upstream?
  • 2
    I'l have to clean up some things as the adjustments I made are kind of "hacky" and don't follow the official specification but absolutely planing to!
Add Comment