Tag Archives: Git Submit Error

[Solved] Git Submit Error: (OpenSSL SSL_read: Connection was reset, errno 10054)

Solve the error of GIT submission code

(OpenSSL SSL_ read: Connection was reset, errno 10054)

fatal: unable to access ‘ https://github.com/xxx.git/ ‘: OpenSSL SSL_ read: Connection was aborted, errno 10053

Possible causes:

First of all, this error may be caused by network instability and connection timeout,

If you still report an error after trying again, you can execute the following command.

resolvent:

Double click to open: git-cmd.exe

git config --global --unset http.proxy
git config --global --unset https.proxy

OR

Change network authentication settings

git config --global http.sslVerify "false"

OR

Increase buffer

git config http.postBuffer 524288000

Git Submit Error: The file will have its original line endings in your working directory.

Error reporting

This error is found when git add

Error analysis

Depending on the situation, it should be caused by the inadequate recognition of line feed by different systems

As far as common sense is concerned, the file is generated under windows, so the newline is really different from Linux, which may be caused by this

Error report solution

git config --global core.autocrlf false

In the same way, we should also do related operations in pychar

If you select fix and commit, it will be set to true and will be converted

So we have to choose commit as LS

Additional supplement

Line ending in Git

Core.autocrlf is the variable responsible for processing line ending in GIT. It can set three values: true, false and inout

(1) Set to true [config — global core. Autocrlftrue]

When set to true, this means that whenever you add a file to the GIT repository, GIT will treat it as a text file

It will turn CRLF into LF

(2) Set to false [config — global core. Autocrlffalse]

When set to false, line endings will not do conversion. The text file remains the same

(3) When it is set to input, GIT programs the CRLF to input when git repository is added. When someone checks the code, it’s still in LF mode. Therefore, in the window operating system, do not use this setting