Invocation failed Unexpected end of file from server

Table of contents

problem scenario

specific error

cause, solution


problem scenario

A new project has been built. After submitting the project successfully, pulling the project code fails.

specific error

git pull fails with error: Invocation failed Unexpected end of file from server

17:08    Git Pull failed
            Invocation failed Unexpected end of file from server
            java.lang.RuntimeException: Invocation failed Unexpected end of file from server
            at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
            at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58)
            Caused by: java.net.SocketException: Unexpected end of file from server
            at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866)
            at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
            at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:863)
            at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
            at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615)
            at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
            at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
            at org.apache.xmlrpc.XmlRpcClientWorker... (show balloon)

 

cause, solution

Did not check Use credential helper (use credentials), check it and it’s ok

 

Guess you like

Origin blog.csdn.net/YuDBL/article/details/126509325