ProxymanApp / ProxymanApp/Proxyman

How to avoid SSLCertVerificationError in Pycharm

Open
#2,332 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

Hi! I'm working in Pycharm for develop some projects in python. Right now I'm working on telegram bots and have an issue when starting project:

aiogram.exceptions.TelegramNetworkError: HTTP Client says - ClientConnectorCertificateError: Cannot connect to host api.telegram.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)')]

I've read a guide about automatic setup and made these steps:

  1. Open Proxyman -> Setup -> Automatic setup
  2. Apply script in terminal
  3. Open Pycham in preconfigured terminal
  4. Start the project and got an error

Could you please help me to solve this problem?
Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test is named. Start by reproducing the Python project in PyCharm's preconfigured terminal after applying Proxyman's automatic setup, then inspect the reported certificate-verification failure when connecting to api.telegram.org. Done means the project starts without the SSLCertVerificationError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, security, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.