Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-2843

Linkchecker improovement #19303

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Critical Critical
    • Che 7.27
    • Che 7.27
    • Eclipse Che

      https://github.com/eclipse/che/issues/19303

       

      Hello,
      Please, the current linkchecker script that validates current Eclipse Che PRs get stuck on an error caused by a website denial of service attack protection, causing a delay in the merging process. When this link test isn't finished successfully, we can merge a PR.

      The problem is, that the test fails on a link that is active and OK, but a "Max retries exceeded" counter of the affected page blocks access to that page (caused by several connection attempts in a short time), and linckcecker threatens it as a broken link.

      To work around this issue, we set the ignorewarnings=url-rate-limited parameter in linkcheckerrc configuration, which should make the linkchecer validation immune against this error:

       

      {{# Ignore the comma-separated list of warnings.
      ignorewarnings=url-rate-limited}}

      But it seems it doesn't work as we expected and the script ends with a failure that blocks a merge.

      Example

       

      {{URL `https://github.com/che-incubator/chectl#user-content-chectl-serverdeploy'
      Parent URL http://localhost:4000/che-7/administration-guide/configuring-openshift-oauth/, line 725, col 1
      Real URL https://github.com/che-incubator/chectl#user-content-chectl-serverdeploy
      Result Error: ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /che-incubator/chectl (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f57cadda6a0>: Failed to establish a new ...}}

      Can you help us to tune up the linkchecker config so that our process of adding new documentation could be as fast as we can deliver?
      Thank you.

              ffloreth@redhat.com Fabrice Flore-Thébault
              ffloreth@redhat.com Fabrice Flore-Thébault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: