Question 1: OpenSSL_ read: Connection was reset, errno 10054
When using git to upload your own project, an error will be reported:
Cause of the problem
openssl ssl_ Read: connection reset, errno 10054
This is the SSL certificate of the server that has not been signed by a third party, so an error is reported.
This error is most likely caused by network instability and connection timeout. If you try again, you will still report an error.
Problem solving methods
Method 1
First, check whether the IP corresponding to the domain name of GitHub in the host file of Disk C is correct. If not, query the correct IP https://www.ipaddress.com/
If there is no problem with the IP address, upload it several times.
Method 2
If method one doesn’t work, modify the settings and remove SSL verification
Enter git bash here
Input
git config --global http.sslVerify "false"
At this point, the GIT operation can be executed again
if prompted:
fatal: not in a git directory
Then do it first
git init
Re input:
git config http.sslVerify "false"
Q2: failed to connect to github.com port 443: timed out
When using git push - U origin main
to upload an item, another injury occurred:
Cause of the problem
Network problems or agency problems
Problem solving methods
It is found that there is no problem with the network, and the GitHub can be accessed normally,
reference material: https://blog.csdn.net/hustsselbj/article/details/46842191?utm_ medium=distribute.pc_ relevant_ t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase& depth_ 1-utm_ source=distribute.pc_ relevant_ t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase
It is the problem of agency
Uncheck proxy server and use automatic detection settings
And then git push - U origin main
, it’s successful.
Read More:
- [Solved] Git Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- Github Clone Failed SSL_ERROR_SYSCALL in connection to github.com:443
- [Solved] Xshelln Connect to Local VM linux Error: Could not connect to ‘XXX.168.122.1‘ (port 22): Connection failed
- [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused
- [Solved] Failed to connect to 127.0.0.1 port XXXX: Connection refused
- Git Error Resolution: errno:10054 Time out
- SSH Connect Service Error: Could not connect to ‘xxx.xxx.xx.xx‘ (port 22): Connection failed.
- [Solved] Git push error: failed to push some refs to ‘[email protected]:daisy_yangyang/fed-e-task-04-01.git‘
- [Solved] Linux error: SSH_exchange_identification: read: Connection reset by peer
- [SSH error] ssh_exchange_identification: read: Connection reset by peer
- [Solved] GVM Error: rsync: connection unexpectedly closed & rsync: read error: Connection reset by peer (104)
- [Solved] Web server failed to start. Port 8080 was already in use.
- [Solved] gnutls_handshake() failed: The TLS connection was non-properly terminated
- Git Clone RPC failed;curl 18 transfer closed with outstanding read data remaining
- [Solved] Ubuntu Compile Rust Program Error: failed to run custom build command for openssl-sys v0.9.39
- [Solved] mosquitto log Error: SSL routines:SSL3_READ_BYTES:tlsv1 alert decrypt error
- ERROR: configuration failed for package ‘openssl’ [How to Solve]
- Solve git upload file error [rejected] master -> master (fetch first) error: failed to push some refs to ‘
- [Solved] error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
- Nginx Error: SSL: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small