java.sql.SQLException: I/O Error: Connection reset by peer: socket write error

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

Samebug tips

,
via github.com by Unknown author

Upgrade your docker-selenium

,
via github.com by Unknown author

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)

Solutions on the web

via sqlteam.com by Unknown author, 1 year ago
I/O Error: Connection reset by peer: socket write error
via jtds by efrain17
, 1 year ago
I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.
via jtds by sureshsargar
, 1 year ago
I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.
via Stack Overflow by Nosheen
, 9 months ago
I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.
via jtds by auras
, 1 year ago
I/O Error: SSO Failed: Native SSPI library not loaded.
via tek-tips.com by Unknown author, 1 year ago
I/O Error: There is no process to read data written to a pipe.
java.sql.SQLException: I/O Error: 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.DataOutputStream.write(DataOutputStream.java:90)
at net.sourceforge.jtds.jdbc.SharedSocket.sendNetPacket(SharedSocket.java:656)
at net.sourceforge.jtds.jdbc.RequestStream.putPacket(RequestStream.java:560)
at net.sourceforge.jtds.jdbc.RequestStream.flush(RequestStream.java:508)
at net.sourceforge.jtds.jdbc.TdsCore.sendMSLoginPkt(TdsCore.java:2067)
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:584)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:331)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
at net.sourceforge.jtds.jdbcx.JtdsDataSource.getConnection(JtdsDataSource.java:281)
at com.nextpage.server.domain.persistence.jdbc.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:50)
at com.nextpage.server.domain.persistence.jdbc.JDBCPersistenceService.allocateThreadLocalConnection(JDBCPersistenceService.java:205)
at com.nextpage.server.domain.persistence.jdbc.JDBCPersistenceService.beginTransaction(JDBCPersistenceService.java:89)
at com.nextpage.server.domain.persistence.jdbc.SQLQueryExecutor.execute(SQLQueryExecutor.java:98)
at com.nextpage.server.domain.persistence.jdbc.JDBCRepository.find(JDBCRepository.java:420)
at com.nextpage.server.domain.persistence.jdbc.JDBCRepository.find(JDBCRepository.java:113)
at com.nextpage.common.domain.dto.DTORepositoryImpl.find(DTORepositoryImpl.java:264)
at com.nextpage.common.domain.entity.EntityRepositoryImpl.find(EntityRepositoryImpl.java:135)
at com.nextpage.server.domain.impl.ServerSyncHostServiceImpl.findLocalSyncHostNullIfNotThere(ServerSyncHostServiceImpl.java:51)
at com.nextpage.server.domain.impl.ServerSyncHostServiceImpl.findLocalSyncHost(ServerSyncHostServiceImpl.java:36)
at com.nextpage.server.application.impl.AppServerSyncHostServiceImpl.findLocalSyncHost(AppServerSyncHostServiceImpl.java:25)
at com.nextpage.tester.domain.retention.server.TServerEntityFactory.create(TServerEntityFactory.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.nextpage.tester.domain.ATEntityFactory.invokeMethod(ATEntityFactory.java:294)
at com.nextpage.tester.domain.ATEntityFactory.create(ATEntityFactory.java:180)
at com.nextpage.tester.application.actions.TActionCreate.register(TActionCreate.java:194)
at com.nextpage.tester.application.actions.TActionCreate.createDomain(TActionCreate.java:122)
at com.nextpage.tester.application.actions.TActionCreate.simulate(TActionCreate.java:66)
at com.nextpage.tester.application.actions.ATAction.call(ATAction.java:111)
at com.nextpage.tester.application.actions.TActionSequence.simulate(TActionSequence.java:37)
at com.nextpage.tester.application.actions.ATAction.call(ATAction.java:104)
at com.nextpage.tester.application.actions.ATAction.call(ATAction.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 day ago
346 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.