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

MQTT client connection fail in firefox

Open
#136 2 comments 1 reaction 0 assignees View on GitHub
triage
Dominant language
JavaScript
Stars
1.2k
Forks
466
PR merge metrics
No merged PRs in 30d

Description

I try to connect with websockets to my broker (mosquitto). This works in Chrome (and in Edge), but in Firefox I get following error:

Firefox can’t establish a connection to the server at ws://:/ws.

Then, the onFailure callback gets called with this parameter:
Object { invocationContext: undefined, errorCode: 7, errorMessage: "AMQJS0007E Socket error:undefined." }

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.