I was following this http://www.rabbitmq.com/plugin-development.html link to build rabbitmq plugin https://github.com/rabbitmq/rabbitmq-web-mqtt
after building i ONLY copied rabbitmq_mqtt.ez
to /usr/lib/rabbitmq/lib/rabbitmq_server-3.6.2/plugins
running sudo rabbitmq-plugins enable rabbitmq_web_mqtt
shows :
The following plugins have been enabled:
cowlib
cowboy
rabbitmq_web_mqtt
Applying plugin configuration to rabbit@manish-Lenovo-G510... failed.
Error: {could_not_start,rabbitmq_web_mqtt,
{undef,
[{lager_config,get,
[{rabbit_log_lager_event,loglevel},{0,[]}],
[]},
{rabbit_web_mqtt_app,mqtt_init,0,
[{file,"src/rabbit_web_mqtt_app.erl"},{line,69}]},
{rabbit_web_mqtt_app,start,2,
[{file,"src/rabbit_web_mqtt_app.erl"},{line,31}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,269}]}]}}
Running sudo rabbitmq-plugins list
Configured: E = explicitly enabled; e = implicitly enabled
| Status: * = running on rabbit@manish-Lenovo-G510
|/
[e*] amqp_client 3.6.2
[e ] cowboy 1.0.3
[e ] cowlib 1.0.1
[e*] mochiweb 2.13.1
[ ] rabbitmq_amqp1_0 3.6.2
[ ] rabbitmq_auth_backend_ldap 3.6.2
[ ] rabbitmq_auth_mechanism_ssl 3.6.2
[ ] rabbitmq_consistent_hash_exchange 3.6.2
[ ] rabbitmq_event_exchange 3.6.2
[ ] rabbitmq_federation 3.6.2
[ ] rabbitmq_federation_management 3.6.2
[E*] rabbitmq_management 3.6.2
[e*] rabbitmq_management_agent 3.6.2
[ ] rabbitmq_management_visualiser 3.6.2
[E*] rabbitmq_mqtt 3.6.2
[ ] rabbitmq_recent_history_exchange 1.2.1
[ ] rabbitmq_sharding 0.1.0
[ ] rabbitmq_shovel 3.6.2
[ ] rabbitmq_shovel_management 3.6.2
[ ] rabbitmq_stomp 3.6.2
[ ] rabbitmq_tracing 3.6.2
[e*] rabbitmq_web_dispatch 3.6.2
[E ] rabbitmq_web_mqtt
[ ] rabbitmq_web_stomp 3.6.2
[ ] rabbitmq_web_stomp_examples 3.6.2
[ ] sockjs 0.3.4
[e*] webmachine 1.10.3
I am not able to connect using paho JS client. So what is causing the issue? I tried port 1888, 8083,8883,15675