jakobehn / VSTSGitHubTasks

MIT License
21 stars 10 forks source link

The request was aborted: Could not create SSL/TLS secure channel. #27

Closed kav-yeah closed 2 years ago

kav-yeah commented 2 years ago

Hi, i am trying to push my django project into git repo from vscode. and this error was shown. image

fatal: An error occurred while sending the request. fatal: The request was aborted: Could not create SSL/TLS secure channel. Logon failed, use ctrl+c to cancel basic credential prompt. remote: No anonymous write access. fatal: Authentication failed for 'https://github.com/kavyakrishnan/Arulsiddha.git/'

i tried making sso user enable $ git config --global http.sslverify "false" but no luck still facing the same

any prescription for the above scenario will be appreciatable.

kav-yeah commented 2 years ago

so, i generated a access token in git,

  1. go to settings in git
  2. click developer settings
  3. click My personal token
  4. click generate a new token
  5. check the repo checkbox -> select expire in 90 days
  6. copy and paste the token locally.

and then, when you tried to push the code from local to git hub through $git push or $git push -u origin master a new window/tab will ask yyou for the username and password give your git username, and the locally copieed access token as password.

and the authetication was successful!