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

Too short page load timeouts when logging into QS Cloud #485

Closed
mountaindude opened this issue Feb 14, 2024 · 0 comments · Fixed by #491 · May be fixed by #613
Closed

Too short page load timeouts when logging into QS Cloud #485

mountaindude opened this issue Feb 14, 2024 · 0 comments · Fixed by #491 · May be fixed by #613
Labels
bug Something isn't working

Comments

@mountaindude
Copy link
Contributor

What version of Butler Sheet Icons are you using?

3.2.2

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

No response

What command did you use to start Butler Sheet Icons?

What operating system are you using?

macOS

What CPU architecture are you using?

x64

What Qlik Sense versions are you using?

2023-Nov

Describe the Bug

Sometimes BSI will throw an error when interacting with QS Cloud.
Seems to be most common when logging into QS Cloud (as this step involves launching BSI's built-in browser), but can happen elsewhere too.

BSI uses a 30 second timeout for loading a page.
For example, if BSI's built-in browser has not loaded the QS Cloud login page within 30 seconds, an error will be thrown.
Can look like this:

2024-02-14T08:36:01.191Z error: CLOUD APP: TimeoutError: Navigation timeout of 30000 ms exceeded
    at new Deferred (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:26:34)
    at Deferred.create (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:68:16)
    at new LifecycleWatcher (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/LifecycleWatcher.js:75:60)
    at CdpFrame.goto (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:140:29)
    at CdpFrame.<anonymous> (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:108:27)
    at CdpPage.goto (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:602:43)
    at processCloudApp (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/lib/cloud/cloud-create-thumbnails.js:263:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async qscloudCreateThumbnails (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/lib/cloud/cloud-create-thumbnails.js:567:17)
    at async Command.<anonymous> (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/butler-sheet-icons.js:273:33)
    at async Command.parseAsync (/Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/node_modules/commander/lib/command.js:936:5)
    at async /Users/goran/code/actions-runner/plabs-mac-build1/_work/butler-sheet-icons/butler-sheet-icons/src/butler-sheet-icons.js:620:5

Expected Behavior

BSI should be more tolerant to long browser startup times / page load times.
Increase timeout to 90 seconds.

To Reproduce

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant