Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

websocket compatibility #46

Closed
mariopraga opened this issue Nov 24, 2014 · 5 comments
Closed

websocket compatibility #46

mariopraga opened this issue Nov 24, 2014 · 5 comments

Comments

@mariopraga
Copy link

I have tried to use the http://www.hivemq.com/demos/websocket-client/ but no chance to connect to my mosquitto daemon.

Here the mosquitto log :

1416866644: New connection from myIP on port 1883.
1416866644: Socket error on client (null), disconnecting.

@jpmens
Copy link
Owner

jpmens commented Nov 25, 2014

This is completely off-topic. Port 1883 is MQTT and not MQTT over Websockets. If you want that you'll have to wait for Mosquitto 1.4.

@jpmens jpmens closed this as completed Nov 25, 2014
@mariopraga
Copy link
Author

Dear JP, thank you again for your time.
I need to understand better your reply because my project must use websockets for mobile devices. Are you saying that by having mosquitto-auth-plug activated I cannot use anymore websockets to communicate between mosquitto daemon and clients ?
If yes, it is possible to disable mosquitto-auth-plug for websockets connections ?

my best regards
M

@jpmens
Copy link
Owner

jpmens commented Nov 25, 2014

I am saying that Mosquitto in the version you're probably running (< 1.4) has NO Websockets capability. This has nothing to do with mosquitto-auth-plug. You need a broker which provides Websockets support.

@mariopraga
Copy link
Author

I have resolved all my issues. I take this thread to ask if mqttwarn and mosquitto-auth-plug can be used for free in commercial products ( smart products ) .

Thank you again for this fantastic work.

@jpmens
Copy link
Owner

jpmens commented Nov 28, 2014

I recommend you read the licences.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants