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

Unable to verify link - ESOCKETTIMEDOUT #173

Open
alexandruradovici opened this issue Feb 21, 2023 · 1 comment
Open

Unable to verify link - ESOCKETTIMEDOUT #173

alexandruradovici opened this issue Feb 21, 2023 · 1 comment

Comments

@alexandruradovici
Copy link

alexandruradovici commented Feb 21, 2023

We are trying to verify the https://www.st.com/en/evaluation-tools/nucleo-f429zi.html link, but it seems to fail with:

[✖] https://www.st.com/en/evaluation-tools/nucleo-f429zi.html → Status: 0 Error: ESOCKETTIMEDOUT
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/markdown-link-check/node_modules/request/request.js:816:19)
    at Object.onceWrapper (node:events:627:28)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.emitRequestTimeout (node:_http_client:848:9)
    at Object.onceWrapper (node:events:627:28)
    at TLSSocket.emit (node:events:525:35)
    at Socket._onTimeout (node:net:570:8)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7) {
  code: 'ESOCKETTIMEDOUT',
  connect: false
}

We tried tcort/markdown-link-check#201 (comment), but it did not work. This is our mlc_config.json file:

{
  "httpHeaders": [
    {
      "urls": ["https://www.st.com/"],
      "headers": {
        "Accept": "*/*"
      }
    }
  ]
}

We found out that locally (Postman) the website reports an error if the Accept header is not set. This action works without any config file locally.

@gaurav-nelson
Copy link
Owner

@alexandruradovici Can you check this again with v1.0.15? I have no solutions right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants