DEV Community

Nanashi.
Nanashi.

Posted on

3

How to get rid of SSLError while poetry install on Windows

Who should read this?

  MaxRetryError

  HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /user/repo/info/refs?service=git-upload-pack (Caused by SSLError(FileNotFoundError(2, 'No such file or directory')))

  at .venv\Lib\site-packages\urllib3\util\retry.py:592 in increment
      588│             history=history,
      589│         )
      590│
      591│         if new_retry.is_exhausted():
    → 592│             raise MaxRetryError(_pool, url, error or ResponseError(cause))
      593│
      594│         log.debug("Incremented Retry for (url='%s'): %r", url, new_retry)
      595│
      596│         return new_retry
Enter fullscreen mode Exit fullscreen mode

If you are stacking in this error, you should read this.

Solution

Delete (or comment out) these lines in C:\ProgramData\Git\config:

[http]
        sslCAinfo = /bin/curl-ca-bundle.crt
Enter fullscreen mode Exit fullscreen mode

Conclusion

What a short article lol
Thank you for reading, I hope that you're helped with this article.

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (1)

Collapse
 
tony_andrew_944dec99672cd profile image
tony andrew • Edited

I didn't find config in Git directory

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay