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

WebSocket connection to 'wss://xxx' failed: #4

Open
mariorubbo opened this issue Feb 20, 2022 · 0 comments
Open

WebSocket connection to 'wss://xxx' failed: #4

mariorubbo opened this issue Feb 20, 2022 · 0 comments

Comments

@mariorubbo
Copy link

Any examples of using the library to connect to an on-premise Qlik Sense Enterprise cluster? here is an example of my config object:

const config = {
host: "xxxx.xxxx.com",
port: "4747",
isSecure: true,
appname : "xxxxxxxxxx",
rejectUnauthorized : false,
ca: ['-----BEGIN CERTIFICATE-----\nxxxx\n-----END CERTIFICATE-----'],
key: '-----BEGIN RSA PRIVATE KEY-----\nxxxxx\n-----END RSA PRIVATE KEY-----',
cert: '-----BEGIN CERTIFICATE-----\nxxxxxxx\n-----END CERTIFICATE-----',
headers: {
'X-Qlik-User': UserDirectory='INTERNAL'; UserId='sa_api',
}
}

export default function Browser() {

const engine = useConnectEngine( config );

return (



);

};

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
@mariorubbo and others