Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ManfredKarrer
, 1 year ago
Error writing message to connection, closing connection java.net.SocketException: Socket is closed
via GitHub by dougbebber
, 1 year ago
Error writing message to connection, closing connection java.net.SocketException: Socket is closed
o.b.n.BlockingClient: Error writing message to connection, closing connection java.net.SocketException: Socket is closed	at java.net.Socket.getOutputStream(Socket.java:943)	at org.bitcoinj.net.BlockingClient.writeBytes(BlockingClient.java:141)	at org.bitcoinj.core.PeerSocketHandler.sendMessage(PeerSocketHandler.java:88)	at org.bitcoinj.core.Peer.blockChainDownloadLocked(Peer.java:1328)	at org.bitcoinj.core.Peer.startBlockChainDownload(Peer.java:1357)	at org.bitcoinj.core.PeerGroup.startBlockChainDownloadFromPeer(PeerGroup.java:1672)	at org.bitcoinj.core.PeerGroup.handlePeerDeath(PeerGroup.java:1474)	at org.bitcoinj.core.PeerGroup$PeerStartupListener.onPeerDisconnected(PeerGroup.java:234)	at org.bitcoinj.core.Peer$1.run(Peer.java:296)	at org.bitcoinj.utils.Threading$2.execute(Threading.java:141)	at org.bitcoinj.core.Peer.connectionClosed(Peer.java:293)	at org.bitcoinj.net.BlockingClient$1.run(BlockingClient.java:114)