Code Monkey home page Code Monkey logo

Comments (11)

dselgo avatar dselgo commented on September 10, 2024 1

Could you verify that the SameSite attribute is configured in the QMC:
https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Missing-SameSite-attribute-now-blocks-requests-in/ta-p/1712551?_ga=2.129113356.1253695434.1598801040-1104108221.1556901968

It is not because we are still on the February 2020 release. We are planning on upgrading in a few weeks. I did confirm that this is causing the issue for me by setting the Chrome flags for same site cookies to disabled. Once we upgrade Qlik Sense, I'll be sure to adjust the proxy service. Thank you @axelssonHakan for providing insight into this!

from enigma.js.

hshahul avatar hshahul commented on September 10, 2024 1

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

I just verified that it's working in Chrome 85:
Web app: https://79yqi.csb.app/
Code: https://codesandbox.io/s/keen-galois-79yqi

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

If you are using QlikCloud the URL would be in the format:
wss://<tenantName>.<region>.qlikcloud.com/app/<appId>?qlik-web-integration-id=<webIntegrationId>

Enigma.js doesn't provide any login. Verify that there is a session Cookie created to be able to connect and also that the web-integrtionId is set and configured correctly. The cookie will expire and you could experience that something that just worked minutes before has stopped working, but you should see a 403 in the network trace in that case

https://github.com/qlik-oss/web-integration-examples

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

@hshahul any update on this? Could you confirm that you are using qlikcloud when you say web url API (ref #795)

from enigma.js.

hshahul avatar hshahul commented on September 10, 2024

I tried web api url only but not working chrome browser. that same code is working in Edge browser. ( Previously that same code worked in chrome and Edge browser too). Recently it is happed, no code change.

Have any setting need to change?

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

It's not clear what you mean when you say "web api url", what product are you connecting to:

  • Qlik Core (Docker engine)
  • Qlik Sense Desktop
  • Qlik Sense Enterprise on Windows
  • Qlik Sense Cloud

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

@hshahul the different deployments/products has some different requirements for connecting the WebSocket.
Qlik Core / Qlik Sense desktop doesn't have any authentication
Qlik Sense Enterprise on Windows requires cert/JWT/ticket and xrfkey
Qlik Sense Cloud requires cookie and qlik-web-integration-id + qlik-csrf-token

To help you we need to know what deployments/products you are using

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

Closed due to inactivity

from enigma.js.

dselgo avatar dselgo commented on September 10, 2024

Hello, I am also experiencing this issue. About a month or two ago my team started reporting that they weren't able to form a websocket connection to Qlik Sense using enigma.js. This issue only occurs on Chrome (Edge works fine) and only occurs when running on localhost (I tested and our production site is still able to connect with Chrome).

The socket closes immediately and gives this message:

{"jsonrpc":"2.0","method":"OnAuthenticationInformation","params":{"mustAuthenticate":true}}

I can confirm that we are sending an Authentication Header containing the JWT. Like I said it was working a few months ago and we haven't changed anything in our connection configuration, and it is still working in Edge so I don't believe that it is a problem on my end.

We are using Qlik Sense Enterprise on Windows and authenticating via JWT. Please let me know if there is any more information you need and I will try to provide it.

from enigma.js.

axelssonHakan avatar axelssonHakan commented on September 10, 2024

Could you verify that the SameSite attribute is configured in the QMC:
https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Missing-SameSite-attribute-now-blocks-requests-in/ta-p/1712551?_ga=2.129113356.1253695434.1598801040-1104108221.1556901968

from enigma.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.