ERROR: GitError(Code:ERROR, Class:OS, failed to send request: A connection with the server could not be established )

Follow the manual fix in this post, not the “easy fix”

solution