The company code is on GitLab, ready to upload a project code, operation reference:
https://blog.csdn.net/qq_20663229/article/details/80413188
When I submitted the code, I encountered some problems, and solved several problems through Baidu. Finally, I got stuck in two error reports like this:
fatal: Could not read from remote repository
PTY allocation request failed on channel 0
Process screenshot 1:

Process screenshot 2:

Solutions, reference:
https://stackoverflow.com/questions/13509293/git-fatal-could-not-read-from-remote-repository/56264790#56264790
I had this problem using gitbash on windows 10. I tried several things to solve this problem, the major ones being these:
https://blog.csdn.net/qq_20663229/article/details/80413188
When I submitted the code, I encountered some problems, and solved several problems through Baidu. Finally, I got stuck in two error reports like this:
fatal: Could not read from remote repository
PTY allocation request failed on channel 0
Process screenshot 1:

Process screenshot 2:

Solutions, reference:
https://stackoverflow.com/questions/13509293/git-fatal-could-not-read-from-remote-repository/56264790#56264790
I had this problem using gitbash on windows 10. I tried several things to solve this problem, the major ones being these:
- Recreated my SSH keys and updated to bitbucket. Didn’t helpTurned on debugging using this and found out that I was getting “shell request failed on channel 0” as asked hereRebooted my Windows PC
None of the above helped. I ended up re-installing Git for Windows This took only a few minutes compared to other things I did and it solved the problem!
According to the above steps, I reinstalled Git to solve the problem. When I installed Git, I chose OpenSSH. It is not clear whether it is related to this:
Read More:
- Runtime error r6016 problem
- Error in upload code of tortoisegit error:1407742E
- [Solved] error: link.exe‘ failed with exit status 1158
- Oracle Net Configuration Assistant failed abnormal solution
- Error reported when Windows builds docker image: failed to create LLB definition: 403 Forbidden
- Solve CONDA’s “solving environment: failed” problem
- X Error of failed request: BadWindow (invalid Window parameter)
- reason 442 failed to enable virtual adapter
- Windows 7 system update failed – WindowsUpdate_ 800B0100
- An error occurred while processing your request
- When local git connects to github: PTY allocation request failed on channel 0
- PC login Citrix WI times CPS License Acquisition Error (500) screenshot and solution
- How to solve the “specified service has been marked for deletion” error
- (20210301 solved) can’t connect to HTTPS URL because the SSL module is not available
- Android Error: Consumer closed input channel or an error occurred. events=0x9
- Conda HTTP 000 CONNECTION FAILED for url
- Relative path and absolute path${ pageContext.request.contextPath }
- Solve GitHub push error 403 Forbidden while accessing
- Windows 10 installation python.msi Error 2502 / 2503 solution
- Unhandled exception at 0x00000000: 0xc0000005: access violation at position 0x0000000000