Closed (duplicate)
Project:
Link checker
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Aug 2026 at 11:52 UTC
Updated:
11 Aug 2026 at 15:42 UTC
Jump to comment: Most recent
Using a link such as http://127.0.0.1:1/broken can't currently be checked.
This is because the code currently has a check for RequestException, however some links are simply rejected with a ConnectException.
Try to check a link such as http://127.0.0.1:1/broken
Add a more global error catching mechanism. And rather than defaulting to 502, show the actual status code from the exception where possible (if it's status code 0, then show that rather than default to 502).
Provide MR.
N/A
N/A
N/A
Comments
Comment #2
codebymikey commentedhttps://git.drupalcode.org/project/linkchecker/-/commit/ae54bc70519473ea... already tries to do something similar in its MR.
Comment #3
codebymikey commentedComment #4
codebymikey commentedDuplicate of #3469263: Links never checked
Closing