ptarmiganlabs / butler-sheet-icons

Creates thumbnail images based on sheets in Qlik Sense applications
MIT License
9 stars 3 forks source link

Too many sessions when processing many apps using tags #164

Closed mountaindude closed 2 years ago

mountaindude commented 2 years ago

What version of Butler Sheet Icons are you using?

1.3.0

What version of Node.js are you using? Not applicable if you use the standalone version of Butler Sheet Icons.

16.4.0

What command did you use to start Butler Sheet Icons?

node butler-sheet-icons.js qseow create-sheet-thumbnails --host $BSI_HOST --appid a3e0f5d2-000a-464f-998d-33d333b175d7 --apiuserdir Internal --apiuserid sa_api --loglevel debug --logonuserdir $BSI_LOGON_USER_DIR --logonuserid $BSI_LOGON_USER_ID --logonpwd $BSI_LOGON_PWD --contentlibrary 'abc 123' --pagewait 5 --secure true --headless false --imagedir './img' --certfile $BSI_CERT_FILE --certkeyfile $BSI_CERT_KEY_FILE --includesheetpart 1 --qliksensetag "πŸ‘πŸ˜Ž updateSheetThumbnail"

What operating system are you using?

macOS Monterey

What CPU architecture are you using?

x86_64

What Qlik Sense versions are you using?

2021-November

Describe the Bug

If processing several apps after each other, for example when using a QSEoW QMC tag to specify which apps to process, a new session will be created for each app. As there is a max of 5 active sessions for a single user this can cause problems.

For example if the hub is open in one browser tag, the QMC in another and there are 5 apps that should be processed.

A solution can be to log out the user in the remote controlled browser used to take screen shots.

Expected Behavior

No response

To Reproduce

No response

mountaindude commented 2 years ago

Included in 2.0.