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

{"error":"Navigation timeout of 30000 ms exceeded"} #292

Closed
jnurthen opened this issue Apr 14, 2020 · 11 comments
Closed

{"error":"Navigation timeout of 30000 ms exceeded"} #292

jnurthen opened this issue Apr 14, 2020 · 11 comments

Comments

@jnurthen
Copy link
Member Author

@deniak @marcoscaceres this seems to be happening frequently. Is there anything that can be done to have a way to restart the server if jobs keep on failing?

@marcoscaceres
Copy link
Member

I guess we need to figure out what the root cause is that is causing it to stall on the server. There is a regression somewhere or some dependency is locking things up.

@deniak, any output on the server for you?

@deniak
Copy link
Member

deniak commented Apr 15, 2020

Looking at the logs below, it seems the second spec is missing the respecConfig.
However, for the first one, I don't see any errors in the logs. I did restart spec-generator and it's working again.
Memory on the server looks fine but I do see some remaining chrome processes still running so I suspect they aren't properly killed when there's an error. I'll try to debug more later today.

Generating https://rawcdn.githack.com/w3c/aria-practices/c74e8e46b38c7df5f4c1079f8d3dedf5373af1ab/aria-practices.html?isPreview=true&publishDate=2020-04-14
ESC[31m😱 ReSpec error: ESC[36mReferenceError: respecConfig is not defined Uncaught ReferenceError: respecConfig is not defined [object ErrorEvent]ESC[31mESC[39m
ESC[31m😱 ReSpec error: ESC[36mReferenceError: biblio is not defined Uncaught ReferenceError: biblio is not defined [object ErrorEvent]ESC[31mESC[39m

@marcoscaceres
Copy link
Member

cc'ing @sidvishnoi., who can look at respec2html to see if anything in the generator might need more robust exit strategy to kill the process.

@marcoscaceres
Copy link
Member

@jnurthen, sent a PR to fix the reference errors:
w3c/aria-practices#1376

@deniak
Copy link
Member

deniak commented Apr 15, 2020

I looked a bit and it seems the process gets stuck on the document generation and the browser never gets closed. This can be reproduced with the following command:

$ ./tools/respec2html.js -s https://rawcdn.githack.com/w3c/aria-practices/c74e8e46b38c7df5f4c1079f8d3dedf5373af1ab/aria-practices.html
😱 ReSpec error: ReferenceError: respecConfig is not defined Uncaught ReferenceError: respecConfig is not defined [object ErrorEvent]
😱 ReSpec error: ReferenceError: biblio is not defined Uncaught ReferenceError: biblio is not defined [object ErrorEvent]
😱 ReSpec error: Error when calling function n. See developer console.
😱 ReSpec error: TypeError: Cannot convert undefined or null to object

@sidvishnoi
Copy link
Member

Thanks for a reduced test case @deniak. I'll investigate this in a while.

@sidvishnoi
Copy link
Member

Released ReSpec v25.6.1 with a fix for stalling on unresolved promise.

@marcoscaceres
Copy link
Member

Legend! Hopefully it makes the W3C server happy.

@deniak
Copy link
Member

deniak commented Apr 16, 2020

I just redeployed and I confirm the processes are correctly killed. Thanks @sidvishnoi !

@deniak deniak closed this as completed Apr 16, 2020
@jnurthen
Copy link
Member Author

Thanks all.

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