-
Notifications
You must be signed in to change notification settings - Fork 56
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nebula Hub local server - connection to on premise Qlik Sense Server #1448
Comments
I did some testing and initially ran into the secure/sameSite issue but after updating the default virtual proxy it worked as intended. One issue I noticed was the lack of a proper error, as the intended one should state: Before I updated the virtual proxy I could observe the same pattern as you, the websocked connects but the last message is "OnAuthenticationInformation" follwed by the socked closing. By debugging Nebula I could see that the code actually gets that message here: https://github.com/qlik-oss/nebula.js/blob/master/commands/serve/web/hooks/useConnection.js#L66 To be sure, can you instead of creating a new virtual proxy update the default one? I got it working with a new virtual proxy as well, by using this:
|
Hello Caele, Thank you for testing and investigating ! Ok for the error that is not well managed, it will be easier to understand what is going on with a better message displayed. Unfortunately I cannot update the default proxy, there is a other people working on the server and authenticating through that one. Yeserterday, I am sure I checked the flag "has secure attribute" + same site "none", and added the nubula hub page url to the whitelist, and that was not working. But I will re-check next week. It seems my authentication cookie, available on the classic QS hub, was not available for the page nubula hub... Thinking about it, isn't that normal ? This is not the same page, should the nebula hub page have access to the cookie of the QS page ? Maybe it would be nice to be able to set the authentication cookie/token on the nebula hub page ? Or we could also provide the server certificate + user id to use to allow session creation with QRS ticket APIs ? Thank you again ! |
Another FYI: I tested enabling the Chrome third-party cookies phaseout flag and that gives the same error. |
@Caele 小ould you please help with the situation described above? |
@flash-222 I believe you are correct, its missing the prefix in that case. Looking into it. |
Thanks @Caele! The issue has been fixed in 4.11.0 and everything works as expected. |
馃悰 Bug report
I am trying nebula.js, following this page : https://qlik.dev/extend/extend-quickstarts/first-extension/
I have access to a Qlik Sense Enterprise server installed locally on a windows server.
The Nebula Hub page says :
`
Qlik Sense Enterprise on Windows
WebSocket URL format: wss://<sense-host.com>/
Example: wss://mycompany.com/bi
Note that for the Qlik Sense Proxy to allow sessions from this webpage, myserver:8000 needs to be whitelisted in QMC in your Qlik Sense Enterprise on Windows deployment. In addition, you need to enable Has secure attribute and set SameSite attribute to None.
Make sure you are logged in to Qlik Sense in another browser tab.
`
It seems the authentication cookie is not sent, compared to what is send on the websocket when I open a Qlik Sense app through the HUB.
Can you help, any advice ?
Thanks
The text was updated successfully, but these errors were encountered: