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

More output on errors with external links on debug log level #221

Open
r4fterman opened this issue Aug 21, 2023 · 0 comments
Open

More output on errors with external links on debug log level #221

r4fterman opened this issue Aug 21, 2023 · 0 comments
Labels

Comments

@r4fterman
Copy link

r4fterman commented Aug 21, 2023

I am currently running into 403 and ExternalTimeout errors for some links on the internet I am having trouble to identify the root cause. Using curl for the same links is working fine.

There is the option to set log-level to debug but this is not much of a help in indentifying the root of the failing check. Output is only.

E.g.:
Status 403

�[0m�[35m  fresh --- mysql-jdbc.html --> https://dev.mysql.com/downloads/connector/j/
�[0m�[34m  hitting --- mysql-jdbc.html --> https://dev.mysql.com/downloads/connector/j/
�[0m�[31m  Non-OK status: 403 --- mysql-jdbc.html --> https://dev.mysql.com/downloads/connector/j/

Timeout

�[0m�[35m  fresh --- custom.html --> https://www.dnb.com/de-de/produkte-services/dun-bradstreet/dnb-duns-nummer
�[0m�[34m  hitting --- custom.html --> https://www.dnb.com/de-de/produkte-services/dun-bradstreet/dnb-duns-nummer
�[0m�[31m  request exceeded our ExternalTimeout --- custom.html --> https://www.dnb.com/de-de/produkte-services/dun-bradstreet/dnb-duns-nummer

On DEBUG level I expect the following Information to be added:

  • Final URL that is crawled (there might some adaptions to the URL as seen. in the code)
  • Request method is used (from code it seems to be GET)
  • Response code
  • Response content
@r4fterman r4fterman changed the title More output on errors with external links More output on errors with external links on debug log level Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant