java.net.SocketException: Connection reset

前端 未结 10 1553
慢半拍i
慢半拍i 2020-11-22 03:02

I am getting the following error trying to read from a socket. I\'m doing a readInt() on that InputStream, and I am getting this error. Perusing th

10条回答
  •  半阙折子戏
    2020-11-22 03:49

    In my experience, I often encounter the following situations;

    1. If you work in a corporate company, contact the network and security team. Because in requests made to external services, it may be necessary to give permission for the relevant endpoint.

    2. Another issue is that the SSL certificate may have expired on the server where your application is running.

提交回复
热议问题