Git Pull failed
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
at org.jetbrains.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.execute(XmlRpcClien..
解决方案:
设置中搜索“Use credential helper”,选中即可
Git Pull failed Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitApp...
java
.net.SocketExcept
ion
:
Unexpected
end
of
file
from
server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.
java
:806)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.
java
:665)
at sun.ne...
java
微信退款时很多人会遇到抛出一个异常
unexpected
end
of
file
from
server
相信很多人都会遇到这个问题,因为只要你做过微信支付然后再来做退款的时候就会习惯性地把支付的源码直接拿过来用,然后开始退款的时候就报错了~
问题的原因在于:支付的时候,你是把钱给微信,那么怎么简单怎么弄,现在你要拿出来,那得做点什么了~
支付不需要证书,但退款需要SSL证书!
今天访问远程服务器的数据的时候返回
Unexpected
end
of
file
from
server
异常,异常信息为:
java
.net.SocketExcept
ion
:
Unexpected
end
of
file
from
server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.
java
:851)