Skip to content
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

unable to connect using websocket #5

Closed
Fiekers opened this issue Nov 1, 2023 · 4 comments
Closed

unable to connect using websocket #5

Fiekers opened this issue Nov 1, 2023 · 4 comments

Comments

@Fiekers
Copy link

Fiekers commented Nov 1, 2023

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:

  • SCRAM-SHA-256
    check_v310_client_id_length: false
    shared_subscription_mode: Random
    max_allowed_qos: 2
    inflight_timeout: 15
    max_inflight_client: 10
    max_inflight_server: 10
    max_in_mem_pending_messages: 256
    max_in_db_pending_messages: 65536
    min_keep_alive: 10
    max_keep_alive: 65535
    multiple_subscription_id_in_publish: false
    max_session_expiry_interval: 4294967295
    max_packet_size_client: 268435460
    max_packet_size_server: 268435460
    topic_alias_max: 65535
    retain_available: true
    shared_subscription_available: true
    subscription_id_available: true
    wildcard_subscription_available: true
    hook:
    enable_before_connect: true
    enable_after_connect: true
    enable_publish: true
    enable_subscribe: true
    enable_unsubscribe: true
    `
    OS:
    Linux fan 6.1.0-13-amd64 Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
@TheWaWaR
Copy link
Contributor

TheWaWaR commented Nov 1, 2023

Thanks for the report :)

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

@Fiekers
Copy link
Author

Fiekers commented Nov 1, 2023

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

mqttx connection config

@TheWaWaR
Copy link
Contributor

TheWaWaR commented Nov 1, 2023

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

@Fiekers
Copy link
Author

Fiekers commented Nov 2, 2023

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

Thank you, It's resolved.

@TheWaWaR TheWaWaR closed this as completed Nov 2, 2023
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

2 participants