Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php on line 1191

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php on line 1191

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php on line 1194

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php on line 1194

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php on line 1197

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php on line 1197

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00bb009/wordpress/wp-content/plugins/statpress/statpress.php:1191) in /www/htdocs/w00bb009/wordpress/wp-includes/feed-rss2-comments.php on line 8
Kommentare zu: Installing a HiveMQ MQTT Server on AWS EC2 with enabled Websockets http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets Random IT Thoughts & Tutorials Wed, 19 Aug 2015 08:08:09 +0000 hourly 1 https://wordpress.org/?v=4.3.33 Von: Dominik http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-326 Tue, 03 Feb 2015 16:09:22 +0000 http://forkbomb-blog.de/?p=344#comment-326 Hi rajesh,

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

]]>
Von: rajesh http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-324 Tue, 03 Feb 2015 08:20:19 +0000 http://forkbomb-blog.de/?p=344#comment-324 My Hivemq server connecting from client tool without user name and password. How to enable authentication mode . Hivemq installed in Ubuntu 13.10 version

]]>
Von: Naveenkumar http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-323 Thu, 08 Jan 2015 11:50:21 +0000 http://forkbomb-blog.de/?p=344#comment-323 Hi Dominik,
Could you please provide us a solution to run HiveMQ broker in background and store data from subscription topics to MySQL database using PHP. We’re running HivqMQ in AWS EC2 Linux instance as Apache, PHP.

Thank you

]]>
Von: Dominik http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-319 Mon, 17 Nov 2014 14:37:40 +0000 http://forkbomb-blog.de/?p=344#comment-319 Hi Amil,

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

]]>
Von: Amil http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-318 Sat, 15 Nov 2014 13:09:00 +0000 http://forkbomb-blog.de/?p=344#comment-318 Hi 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

]]>
Von: Dominik http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-297 Fri, 31 Jan 2014 08:47:06 +0000 http://forkbomb-blog.de/?p=344#comment-297 Hi Valon,

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?

]]>
Von: Valon http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-296 Thu, 30 Jan 2014 23:03:50 +0000 http://forkbomb-blog.de/?p=344#comment-296 Hi Dominik,
that’s a great post, thank you. I’ve been reading through your posts about mqtt. I wanted to ask you a question about mqtt over websockets. Because all the examples that I’ve found use ‚eclipse paho mqtt javascript client‘, I don’t know if there’s a way to hide information that you send through javascript mqtt client like ‚topic, message, clientId, etc..“?

Best regards,
Valon

]]>
Von: Dominik http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-292 Mon, 23 Dec 2013 11:27:46 +0000 http://forkbomb-blog.de/?p=344#comment-292 Hi Tom,

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. :-)

]]>
Von: Tom http://forkbomb-blog.de/2013/installing-a-hivemq-mqtt-server-on-aws-ec2-with-enabled-websockets/comment-page-1#comment-291 Mon, 23 Dec 2013 10:52:29 +0000 http://forkbomb-blog.de/?p=344#comment-291 Hi Dominik,
Great post, thanks.
The HiveMQ installation was quite easy but I´m not able to connect the HiveMQ server. I got a connect time out exception over 8000 and also over 1883.
Do you have any hints for solve the problem?
Best regards
Tom

]]>