-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Lighthouse was unable to download your robots.txt file #6275
Comments
Thanks for filing @einerdinger! It seems like it's actually failing because of your content security policy. We try to fetch the robots.txt in the context of your page, so we occasionally run into limitations like this. Fixing would require us to fetch the robots.txt in another context. There are a few other cases like this where we could also speed things up, so it's a good move for us to do in the future 👍 |
Hi Patrick |
It's added as a content script, so no particular URL. I'm not 100% sure if it's classified as |
Hi again |
@einerdinger, fyi there is 1+ year old bug open for this #4386 |
To get `robots.txt` file… 🤷♂️ GoogleChrome/lighthouse#6275 (comment)
Hi everybody
Testing my Website with Lighthouse I always get the message in the SEO-section
"robots.txt is not valid
Lighthouse was unable to download your robots.txt file"
But robots.txt IS valid, it is a plain text file, it resides in the root directory, access rights are OK AND it is found and testified as correct by any other performance analyzer tool.
The site is https://heilendehände.de (which means healing hands) and as you can see, it is an IDN with a "Umlaut" in the name. The internally translated ACE-string is http://xn--heilendehnde-ocb.de
Maybe, not finding robots.txt has something to do with this IDN, but that's just an assumption of mine.
Any idea?
Thanks in advance
Bernhard
The text was updated successfully, but these errors were encountered: