Skip to content

http endpoint #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fredmorin opened this issue Dec 5, 2019 · 0 comments
Open

http endpoint #12

fredmorin opened this issue Dec 5, 2019 · 0 comments

Comments

@fredmorin
Copy link

Hello, I am currently in the initial phase of a project where we plan to use mqtt.
Authentication and Authorization is extremely limited and your solution is brillant.
I notice there was not much activity, is this project still maintained?

I successfully setup a docker-compose to launch mqtt-proxy and i am able to connect using mosquitto_pub / mosquitto_sub, but I experienced issues trying to connect with hivemq websocket client http://www.hivemq.com/demos/websocket-client/. Could you let me know how I can test the websocket connection in your setup so I understand what differs in my setup?

I configured nginx in front of mqtt-proxy so i can reverse proxy and add /websocket/mqtt so that mqtt-proxy ws endpoint is reached. But I still get an error trying to connect over websocket.

level=error msg="Session 79e26abf-e35b-4177-b786-7258b2615f20 > - Error reading MQTT packet websocket: close 1006 (abnormal closure): unexpected EOF"

My setup : nginx:443 -> mqtt-proxy:8082 -> policy-example:3000
mqtt-proxy:8082 -> mosquitto:9000

Thanks in advance!

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

No branches or pull requests

1 participant