akasamq / akasa

A high performance, low latency and high extendable MQTT server(broker) in Rust
MIT License
125 stars 9 forks source link

unable to connect using websocket #5

Closed Fiekers closed 8 months ago

Fiekers commented 8 months ago

Hi, The following error occurs when using websocket connection:

error1

The configuration file is as follows: ` listeners: mqtt: addr: 0.0.0.0:1883 proxy_mode: null mqtts: null ws: addr: 0.0.0.0:8083 proxy_mode: null wss: null auth: enable: false password_file: test.yml scram_users: user: hashed_password: 2a2a2a iterations: 4096 salt: 73616c74 sasl_mechanisms:

TheWaWaR commented 8 months ago

Thanks for the report :)

May I ask which MQTT client(or sdk) are you using?

Fiekers commented 8 months ago

MQTT client is "mqttx", download address: https://mqttx.app/downloads

mqttx connection config

TheWaWaR commented 8 months ago

@Fiekers Fixed in https://github.com/akasamq/akasa/commit/1ef96ac6911f931d66df070ec472a40651221206 , and manually tested with mqttx v1.9.1, you can now have a try.

Fiekers commented 8 months ago

@Fiekers Fixed in 1ef96ac , and manually tested with mqttx v1.9.1, you can now have a try.

Thank you, It's resolved.