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

Debug sitemap mode #192

Open
yansifw opened this issue Oct 4, 2022 · 1 comment
Open

Debug sitemap mode #192

yansifw opened this issue Oct 4, 2022 · 1 comment

Comments

@yansifw
Copy link

yansifw commented Oct 4, 2022

Hello!

I am trying to scan a full sitemap in a server with a self-signed certificate (and with "ignoreHTTPSErrors": true flag enabled) but when running pa11y-ci I get this error:

pa11y-ci --sitemap http://site/sitemap.xml
The sitemap "http://site/sitemap.xml" could not be loaded

If I just scan the URL (without loading the sitemap), it works fine and it reaches the URL (so the self-signed certificate is not an issue there).

I have also tried hosting the sitemap.xml locally and running pa11y-ci with the --sitemap option and it loads the sitemap correctly and scans all the URLs.

I am not sure what is the problem when the sitemap is loaded from the server, is there a way to debug that error message?

Thanks!

@tcmulder
Copy link

tcmulder commented May 3, 2023

I'm experiencing the same issue. The pa11y command has the --debug option, but I'm not seeing something similar for pa11y-ci, so it's hard to debug. Is there some way to get more information on what went wrong than just "could not be loaded?"

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

No branches or pull requests

3 participants