You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example, you are following, is for Node.js.
In browser environment you cant set the web socket headers. The browser will send the relevant headers with your request. If the relevant headers/url parammes are not passed then the connection will fail.
If your case you should authenticate first, get yourself csrf token and then open enigma connection (passing the web intergration id and the csrf token in the web socket url)
Failed to construct 'WebSocket': The subprotocol '[object Object]' is invalid.
Websocket connection not working
I'm trying to run the basic example in ReactJs on the browser from https://qlik.dev/libraries-and-tools/enigmajs on the QlikSense SaaS platform. Below is my code
`async init() {
var auth = await this.connect();
}
`
I'm expecting the app layout to console.log
The text was updated successfully, but these errors were encountered: