you can use one of the HiveMQ plugins in the HiveMQ plugin directory. For example you can use the file authentication plugin (see http://www.hivemq.com/plugin/file-authentication/)
If you want to prefer authentication with Stormpath, the Stormpath plugin may be for you (http://www.hivemq.com/plugin/stormpath-plugin/)
Of course you can also write your own, get inspired here: https://github.com/dobermai/hivemq-rest-auth-plugin
Hope that helps,
Dominik
Thank you
]]>did you check the following?
* You are using the MQTT port (1883) instead of the Websocket port with MyMQTT
* You disabled or configured the firewall correctly (IPTables)
* You configured the Security Group correctly so port 1883 is free
Does any of these tips help? Let me know if that works for you!
Dominik
]]>Thank you for the post, it’s great. I’ve installed it on Amazon EC2 Ubuntu 14.04 Server. I can access and post messages through HiveMQ Websocket Browser Client, however when I try it from my phone, with the application called MyMQTT server refuses connection. Do you any ideas why it can be?
Thanks,
Amil
Eclipse Paho is the only MQTT javascript client (which are not node.js based) I know that works
Since it’s Javascript in the browser, there is not really a way to hide things. If you want to make sure that no one can read your data on the wire, use SSL (= https on webpages). In this case make sure you are enabling secure websockets: http://www.hivemq.com/docs/hivemq/1.4.4/#secure-websockets-configuration-chapter
Does this help you further?
]]>Best regards,
Valon
did you set the security groups properly? Make sure your security group settings look like the ones in the screenshot.
Another problem could be that the Linux firewall (iptables in most cases. On Ubuntu it may be sufficient to disable ufw) blocks the ports and they must be enabled. You could try with disabling the firewall completely to test. Of course this isn’t recommended on production systems 😉
Let me know if this helps.
]]>