-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Failed: Network error: error sending request for url #1487
Comments
Hm, works for me:
Do you run this locally? In the issue you linked, we had a similar problem: it worked on my end, but didn't work for others. Does this work for you? curl -vvv https://www.ip.mpg.de/en/research/innovation-and-entrepreneurship-research/woepsr2023.html |
Yes
No
|
Looks like a certificate error. Try this: https://stackoverflow.com/a/24618403/270334 |
If you're on Debian/Ubuntu, this might help:
|
No, looks like the server doesn't send over the intermediate certificate. Desktop browsers are able to fill the missing certificate, but tools like curl and probably lychee expect the full chain See:: https://security.stackexchange.com/questions/172989/checking-intermediate-certificates-programatically |
On my machine (Arch Linux) I can reproduce the problem. The following is mentioned on the URL provided in curl's error message. This would explain why @mre can't reproduce the problem.
So it seems like the Windows and macOS libraries trust the certificates whereas libcurl (and probably reqwest) don't. On my machine I can get both lychee and curl to work with the
So to me this does not seem like a bug in lychee. |
Very interesting! Thanks for digging that up. I documented some tips and tricks at https://lychee.cli.rs/troubleshooting/network-errors/ Perhaps we could also make the error message a bit more self-explanatory.
|
This will be fixed with #1521. |
With the last lychee release, we simplified the status output for links. While this reduced the visual noise, it also accidentally caused the source of errors to not be printed anymore. This change brings back the additional error information as part of the final report output. Furthermore, it shows the error information in the progress output if verbose mode is activated. Fixes #1487
With the last lychee release, we simplified the status output for links. While this reduced the visual noise, it also accidentally caused the source of errors to not be printed anymore. This change brings back the additional error information as part of the final report output. Furthermore, it shows the error information in the progress output if verbose mode is activated. Fixes #1487
Contents of
_posts/2023-04-22-WOEPSR23.md
:Related: #733
The text was updated successfully, but these errors were encountered: