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

BUG: SSLError in Sphinx linkcheck behind company proxy #239

Closed
michaelcdevin opened this issue May 17, 2023 · 2 comments
Closed

BUG: SSLError in Sphinx linkcheck behind company proxy #239

michaelcdevin opened this issue May 17, 2023 · 2 comments
Assignees
Labels
bug Something isn't working testing Testing, verification, etc.

Comments

@michaelcdevin
Copy link
Collaborator

Describe the bug
See #169 (comment). This only seems to occur behind a company proxy, and is not replicated in the GitHub Actions CI.

To Reproduce

  1. Behind an internet proxy, run python docs/build_docs.py from the WecOptTool repo on the main branch

Expected behavior
No SSLError is encountered, even when behind a proxy.

Observed behavior
The following error occurs during the linkcheck step:

broken link: https://github.com/HIPS/autograd (HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /HIPS/autograd (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))))

System:

  • OS: Observed on Windows and Mac
  • Python version: v3.10.10
  • WecOptTool version: v2.4.0
@michaelcdevin michaelcdevin added bug Something isn't working testing Testing, verification, etc. labels May 17, 2023
@michaelcdevin michaelcdevin self-assigned this May 17, 2023
@ryancoe
Copy link
Collaborator

ryancoe commented Oct 27, 2023

@michaelcdevin - I think we can probably close this now that you've completed #287. Do you agree?

@michaelcdevin
Copy link
Collaborator Author

I believe the SSLError would still occur, but it would just be a warning now. This could just be checked in the CI though, so this is super low priority and probably not worth the effort. I'll go ahead and close it.

@michaelcdevin michaelcdevin closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing Testing, verification, etc.
Projects
None yet
Development

No branches or pull requests

2 participants