addyosmani/a11y

Network timeout on resource

Opened this issue · 1 comments

I am getting network timeout on resource when I am trying to run a11y through command line.
What is the parameter I need to set to solve this???

Error:
C:\workspace\a11y>a11y http://localhost:4200
Command failed: C:\Users\dkuma172\AppData\Roaming\npm\node_modules\a11y\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe C:\Users\dkuma172\AppData
Roaming\npm\node_modules\a11y\audits.js {"delay":1,"url":"http://localhost:4200"
,"width":1024,"height":768} --ignore-ssl-errors=true --ssl-protocol=tlsv1 --local-to-remote-url-access=true
Error code:408 Network timeout on resource. for http://localhost:4200/vendor.bundle.js

See

a11y/audits.js

Line 12 in 7ebffa7

var PAGE_TIMEOUT = 9000;

I think you can provide your own audits.js file.
And there is also --delay as option.