eclipse-paho / eclipse-paho/paho.mqtt.javascript

Question: How can i override connection failed message in browser console?

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
466
PR merge metrics
No merged PRs in 30d

Description

Currently, we get error message of WebSocket like _WebSocket connection to 'wss://abc.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED_ ,...etc.

i want to override this error message with understandable message like _Server appears to be offline_. How can i achieve it ? any help will be appreciated

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by tracing how the JavaScript client reports the WebSocket connection failure for the shown wss:// connection and whether browser console text can be changed through the client. Done means a documented supported approach or a clearly scoped change request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.