Skip to content

http endpoint #12

@fredmorin

Description

@fredmorin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions