gaurav-nelson/github-action-markdown-link-check

suricata.io marked dead with "Status: 0 Error: socket hang up"

philrz opened this issue · 3 comments

For the past couple nights our automation that uses this workflow has reported https://suricata.io/ as a dead link. I created a simplified mini repo https://github.com/philrz/linkcheck to reproduce this in verbose mode. The error:

=========================> MARKDOWN LINK CHECK <=========================

FILE: ./README.md
[✖] https://suricata.io/ → Status: 0 Error: socket hang up
    at connResetException (node:internal/errors:711:14)
    at TLSSocket.socketOnEnd (node:_http_client:518:23)
    at TLSSocket.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET'
}
[✓] https://www.brimdata.io/ → Status: 200

2 links checked.

ERROR: 1 dead links found!
[✖] https://suricata.io/ → Status: 0

=========================================================================

It's accessible in a browser, via curl, and also when I run the underlying tool https://github.com/tcort/markdown-link-check by hand.

$ markdown-link-check https://github.com/philrz/linkcheck/blob/main/README.md
...
  [✓] https://suricata.io
...

I also encountered this issue for the url https://www.10xeditor.com/

@philrz I guess since this request is coming from bot, the website is not allowing it to process. I maybe wrong. Can you try this again with v1.0.15?

Thanks @gaurav-nelson! Per your suggestion I just did a re-run while pointing specifically at gaurav-nelson/github-action-markdown-link-check@1.0.15 and it did indeed work now. Closing this issue.