qlik-oss/enigma.js

OnMaxParallelSessionsExceeded

Opened this issue · 1 comments

Description

Hi, I keep getting OnMaxParallelSessionsExceeded even thought Im closing the session via session.close();. I have read various posts and cant really find something that works, I saw an ambiguous answer using "headers", but cant make it work either. Please any help is appreciated

Environment

Library
[x] Node.js
[ ] Browser
Operating system
[ ] Windows
[ ] OSX
[ ] Linux
Qlik Sense
[ ] Desktop
[x] Enterprise

Versions

  • Node.js:
  • Browser:
  • Qlik Sense:
  • Operating system:
  • [Other relevant versions]

Hi @EmilioHerreraSoukup, (apologies for the late reply),

This should have worked (closing the session) -- but since the call is async your perhaps may want to wait for the session to close before opening a new one ex: session.close().then(() => {./* code for opening the new session */ });

I saw an ambiguous answer using "headers"

could you share?

I also found a good article about session here