OpenSSL errno 10054,connection refused, whilst trying to connect to our server

前端 未结 2 1535
不知归路
不知归路 2020-12-01 19:41

We are running a git server over https and didn\'t have any trouble connecting because we all used visual studio to do so. Now someone wants to use the standard git bash and

2条回答
  •  孤街浪徒
    2020-12-01 20:09

    10054 is not connection refused, but connection reset by peer. This means, that a TCP connection was successfully established (s_client indicates CONNECTED) but when sending more data from the client to the server the server closed the connection without reading all the data (and send TCP RST back).

    While this could be a firewall issue it could also indicate a problem at the server configuration, that is the server accepts the client but then cannot continue because of an invalid configuration. Such invalid configurations might be a missing permissions for the requested data, certificate without usable private key or others. I would suggest that you have a look at the server logs for more information.

    I've also seen TCP RST with servers, load balancers or firewalls which do not understand current TLS versions and simply close the connection. Browsers work around this issue by transparently retrying with a lower TLS version. You might try if openssl s_client -ssl3 works against this server and you receive a certificate.

提交回复
热议问题