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:
- When local git connects to github: PTY allocation request failed on channel 0
- Solve ssh error: shell request failed on channel 0
- subsystem request failed on channel 0 Couldn’t read packet: Connection reset by peer
- How to turn off merge request in gitlab
- Gitlab service migration and gitlab administrator password retrieval
- Cursor window allocation of 2048 kb failed
- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- Flask Request an extension before_request after_request errorhandler
- Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- Solution of gitlab 502 problem I encountered
- Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- git@gitlab invalid privatekey
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- GitLab You are not allowed to push code to this project
- Failed to open stream: http request failed!
- Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long
- [nodejs] error request aborted after request routing in post mode
- Installing Windows Identity Foundation on Windows 8 – The Certificate for the signer of the message …
- Nginx modifies the front end request size limit (413 request entity too large)