java.net.SocketException: Connection reset by peer: socket write error

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Upgrade your docker-selenium

tip

Probably there is a bug in TestNG Eclipse plugin (6.8.6.20130607_0745), try an other version (e.g. 6.8.0.20121120_1820)

tip

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

tip

Try removing all the breakpoints (even if breakpoints are disabled the problem still occurs, yes even if both disabled entirely and piecewise).

tip

There is a known issue between TestNG 6.4 and IDEA, the next EAP will fix this but in the meantime, use the previous version.

tip

Client closed the websocket connection (safe to ignore)

tip

*not english*


poroszd
tip

Nginx does not handle websocket requests. Configure nginx proxy for websockets.

tip

Set larger socket timeout (or 0 to set no timeout).

tip

Upgrade your nanohttpd

tip

It takes too long time for the JVM to find enough entropy for secure connection. Use this jvm option: '-Djava.security.egd=file:/dev/./urandom'.

tip

Upgrade yokozuna

tip

Here is a animation for the life cycle. http://tcp.cs.st-andrews.ac.uk/index.shtml?page=connection_lifecycle

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • HELP! Cannot install openbravo 2.33
    via openbravo by gathigi
    ,
  • Error en Instalacion de OB 2.33
    via openbravo by negritx
    ,
  • Compile problems..
    via openbravo by jesuscampos19
    ,
  • java file transfer socket write error
    via Stack Overflow by emenike
    ,
  • Ashish Shivhare - Google+
    via by Unknown author,
    • java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78) at org.postgresql.core.PGStream.SendChar(PGStream.java:167) at org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:755) at org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1033) at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:640)

    Users with the same issue

    Unknown visitor1 times, last one,
    Aria Pahlavan
    Aria Pahlavan1312 times, last one,
    Unknown visitor1 times, last one,
    Bardh
    Bardh2 times, last one,
    Unknown visitor1 times, last one,
    207 more bugmates