-
Notifications
You must be signed in to change notification settings - Fork 22
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
Random Error when running HTML checks: TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded #339
Comments
Hello, I am surprised that Ace version Anyway, could you please test your publication with Ace App? You may also install the latest "beta" Ace command line tool: Thank you very much! Daniel |
@danielweck , thank you so much for the reply. I am going to try that in the version 1.1.2 as recommended. I have also strumbled across a simillar ticket and ironically left a comment for you there not knowing that you've already commented here. |
@danielweck , using the Ace App version 1.1.2, I am still getting the same timeout error. As already mentioned above, these errors seem to only happen to xhtml pages containing some iframe content. |
Thank you, useful troubleshooting information. |
That's fantastic - thank you so much for the prompt reply. I will send you one file soon! |
Hello, thank you very much for sharing your EPUB. I ran tests with Ace command line (both Puppeteer and Electron "runners"), and I did not experiencing any timeouts. The entire publication is analysed in approximately 4 minutes. However on several occasions I experienced premature ending of the accessibility evaluation (using the Electron runner), because of an external resource failing to load (I guess this is the iframe URL you mentioned: https://aa.bbb.com/signin?referrer=/embed/access/content/xxx/yyy ). It would seem that this problem does not affect the Puppeteer runner, probably because of different conditions for accessing external web pages. I will need to investigate this further. |
I fixed this issue in the Electron "runner", which is used in Ace App but not in Ace command line (as this program uses Puppeteer by default). In my local tests I am of course able to compare the Electron and Puppeteer "runners" side by side, from the command line: the Electron "runner" is now much faster than the Puppeteer one when external webpages are involved, as the former now skips requests to external URLs, whereas the latter continues to fetch the external webpages.
|
Fixed via c1cb9db |
Fixed via 64439a0 |
The runtime performance is now roughly equal:
|
Hello, I published Alternatively, you may run Ace directly (without installing it) with: I strongly recommend installing the latest Note that I created this wiki page for future reference (choice of Electron vs. Puppeteer "runners"): |
I am closing this issue now. Do not hesitate to post further comments if you still have issues. Note that Ace |
Thank you so much @danielweck. I have already tried with npx @daisy/ace@next and the publication was processed successful. I will let you know if any question but I think I have all I need for now. |
Running ACE command line using the following versions:
I keep getting - randomly - the following error message:
info: Error HTML check: Error: Failed to check Content Document 'isbn-9780190632991-book-part-1-sec-7.xhtml'
debug: Error when running HTML checks: Error: Navigation failed because browser has disconnected!
debug: Error when running HTML checks: Error: Protocol error (Runtime.callFunctionOn): Target closed.
debug: Error when running HTML checks: Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed.
The time out keeps happening at different xhtml page each time. The only thing peculiar with our epubs is that they tend to include various external resources (iframes). Strangely as I mentioned the same epub can be processed some times and other times we get this time out.
I believe this is bug with ACE as it seems to be timing out for xhtml pages with external resources. Is there any possibility to increase the max time out?
The text was updated successfully, but these errors were encountered: