eclipse-paho / eclipse-paho/paho.mqtt.javascript
WSS connection failed on chrome but connected on Firefox, Safari and other browsers
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 466
- PR merge metrics
- No merged PRs in 30d
Description
I am using paho mqtt client javascript for connecting my wss mqtt broker I added in connect option "useSSL: true" but it showing in console that "Websocket connection wss://{host}/ws failed:" in chrome else the same code running on other browsers it connected.
I shall be very great full to everyone for this help.
Everyone's help shall be appreciated
Contributor guide
Research direction
Start by reviewing the paho MQTT JavaScript client’s WebSocket connection path and reproducing the reported wss://{host}/ws failure in Chrome. The issue does not provide a concrete broker, Chrome version, configuration, or named test, so a successful investigation would first need those details and a reproducible failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100