pycharm Failed to connect to github.com port 443: Timed out

Question

Performing GitHub related operations in pycharm will display errors

Failed to connect to github.com port 443: Timed out

solve

It is found in the browser that the agent must be opened to access GitHub, so it is possible that pycharm does not set the agent.
select the automatic agent mode in the setting.

Read More: