etn-ccis / blui-doc-it

Source code for Brightlayer UI documentation website
https://brightlayer-ui.github.io
2 stars 11 forks source link

Link checker does not work due to certificate issues #574

Open huayunh opened 2 years ago

huayunh commented 2 years ago

Whether I go home or go work, when I try to yarn check:links locally, all I got was errors. There are no severe consequences but we have to rely on CI to check everything.

Steps to reproduce - Run yarn check:links

Current scenario - Getting certificate error:

  8 links checked.

  ERROR: 7 dead links found!
  [✖] https://material.io/ → Status: 0
  [✖] https://github.com/brightlayer-ui → Status: 0
  [✖] https://github.com/angular/angular/issues → Status: 0
  [✖] https://github.com/angular/material2/issues → Status: 0
  [✖] https://github.com/facebook/react/issues → Status: 0
  [✖] https://github.com/mui-org/material-ui/issues → Status: 0
  [✖] https://github.com/facebook/react-native/issues → Status: 0

FILE: src/docs/community/our-team.mdx
  [✖] https://www.designinnovationglobal.com/design-thinking/articles/di-global-awards-winners → Status: 0 Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (_tls_wrap.js:1514:34)
    at TLSSocket.emit (events.js:400:28)
    at TLSSocket._finishInit (_tls_wrap.js:936:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:708:12) {
  code: 'SELF_SIGNED_CERT_IN_CHAIN'
}

Expected - Certificate error should not be there

Screenshots:

Screenshot 2022-12-21 at 12 27 50 PM
jeffvg commented 2 years ago

I ran link checker on my local and didn't see any certificate errors related to this bug. However locally I did receive dead link for this but the site does have about 30 403's for resources didn't load but the site opens..

https://www.adobe.com/products/illustrator.html

image
huayunh commented 2 years ago

That one should have been "fixed" now with the new branch merge — I ended up having to disable the link checker for that link.

bkarambe commented 1 year ago

This issue still exists in dev .

Screenshot 2022-12-21 at 12 27 50 PM