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

checker-chromium.js "Error when running HTML checks: Error: Navigation Timeout Exceeded: 30000ms exceeded" #176

Closed
garconvacher opened this issue Apr 5, 2018 · 10 comments

Comments

@garconvacher
Copy link

Hi,

I've got the same issue on Windows and Linux (same logs).
I've tested with my latest ePub... and an ePub already checked with Ace two weeks ago.
(my ePubs was epubchecked 4.0.2)

Ace 1.0.0, Node v9.11.1, Linux 4.9.0-6-amd64

[info:    - txt/few_files.xhtml: No issues found]
debug:   Error when running HTML checks: Error: Navigation Timeout Exceeded: 30000ms exceeded
error:   Unexpected error: Failed to check Content Document 'txt/a_file.xhtml'
debug:   Error: Failed to check Content Document 'txt/a_file.xhtml'
    at /usr/lib/node_modules/ace-core/node_modules/@daisy/ace-core/lib/checker/checker-chromium.js:72:13
    at Generator.throw (<anonymous>)
    at step (/usr/lib/node_modules/ace-core/node_modules/@daisy/ace-core/lib/checker/checker-chromium.js:81:191)
    at /usr/lib/node_modules/ace-core/node_modules/@daisy/ace-core/lib/checker/checker-chromium.js:81:402
    at <anonymous>
info:    Closing logs.

Ace 1.0.0, Node v9.11.1, Windows_NT 6.1.7601*

[info:    - txt/few_files.xhtml: No issues found]
debug:   Error when running HTML checks: Error: Navigation Timeout Exceeded: 30000ms exceeded
error:   Unexpected error: Failed to check Content Document 'txt/a_file.xhtml'
debug:   Error: Failed to check Content Document 'txt/a_file.xhtml'
    at C:\Users\me\AppData\Roaming\npm\node_modules\ace-core\node_modules\@daisy\ace-core\lib\checker\checker-chromium.js:72:13
    at Generator.throw (<anonymous>)
    at step (C:\Users\me\AppData\Roaming\npm\node_modules\ace-core\node_modules\@daisy\ace-core\lib\checker\checker-chromium.js:81:191)
    at C:\Users\me\AppData\Roaming\npm\node_modules\ace-core\node_modules\@daisy\ace-core\lib\checker\checker-chromium.js:81:402
    at <anonymous>
info:    Closing logs.

*Same result on another Windows computer with Node v8.9.1.

@rdeltour
Copy link
Member

rdeltour commented Apr 5, 2018

Mmm, so the error happens with an EPUB that was processed correctly before?
I’ll try to reproduce. Would you be able to share the EPUB sample?

@garconvacher
Copy link
Author

I can't in public due to copyright issues :)
I'll send you a PM on Twitter.

@garconvacher
Copy link
Author

This was not an Ace issue...
After an update everything is OK on Windows and Linux.
Perhaps related to a puppeteer issue Timeout occurs when reusing a page. #2356 ?

@rdeltour
Copy link
Member

Thanks for the update :-)
I re-open just until I double check that (since I was able to reproduce), and to remind me to look for the cause of the issue, which might be due to the way we're invoking puppeteer (and could potentially happen again).

@rdeltour rdeltour reopened this Apr 13, 2018
@danielweck
Copy link
Member

danielweck commented Aug 10, 2019

Hello, I am a developer / contributor in the Ace App (ace-gui) project, which uses an alternative Electron-based Axe runner to the default Puppeteer-based one.
I fixed a similar issue that occurred randomly for some EPUBs. I would like to try the EPUB that was causing problems here. Would you be able to share it with me, please? Thanks!

@garconvacher
Copy link
Author

Hello @danielweck !
Could you send me a PM on Twitter for sharing?

@danielweck
Copy link
Member

I would prefer not using Twitter for this type of communication. Would you mind sending me an email at daniel.weck@gmail.com? Thank you very much!

@garconvacher
Copy link
Author

Of course!

@danielweck
Copy link
Member

Hello Ludovic, I forgot to update this issue discussion thread: I am not able to reproduce the bug with the provided EPUB. I tested Ace CLI (with the normal Puppeteer Axe runner, as well as the Electron-based one which is used by Ace App / ace-gui).

@siddoib
Copy link

siddoib commented Feb 9, 2021

@danielweck , I have got a bunch of epub having simillar issues when processed using ACE via command prompt. I have already raised a separate ticket (#339) before I can see one. If you able to take a look I would be more than happy to send you one of our epubs. Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants