org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.

Stack Overflow | 1337GameDev | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    PostgreSQL JDBCTemplate related error with socket - Connection timed out

    Stack Overflow | 10 months ago | 1337GameDev
    org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
  2. 0

    pgpool Bug Tracker

    pgpool.net | 2 years ago
    org.postgresql.util.PSQLException: バックエンドに送信中に、入出力エラーはが起こりました。
  3. 0

    PostgreSQL Exception : org.postgresql.util.PSQLException: An I/O error occured while sending to the backend

    Stack Overflow | 3 years ago | Sujith PS
    org.postgresql.util.PSQLException: An I/O error occured while sending to the backend. while running my application in Amazon cloud. The detailed stack-trace is : org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    An I/O error occured while sending to the backend - Grokbase

    grokbase.com | 1 year ago
    org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
  6. 0
    samebug tip
    It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Connection timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:129)
    2 frames
  3. PostgreSQL JDBC Driver
    AbstractJdbc2Statement.executeUpdate
    1. org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:135)
    2. org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:104)
    3. org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:73)
    4. org.postgresql.core.PGStream.ReceiveChar(PGStream.java:259)
    5. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1166)
    6. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
    7. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:218)
    8. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
    9. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350)
    10. org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:304)
    10 frames
  4. Commons DBCP
    DelegatingPreparedStatement.executeUpdate
    1. org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
    1 frame
  5. Spring Framework
    JdbcTemplate.update
    1. org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:697)
    2. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:476)
    3. org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:691)
    4. org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:753)
    5. org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:761)
    5 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  7. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
    3 frames
  8. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    1 frame
  9. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
    2 frames
  10. Unknown
    $Proxy2.addArchiveRequestEntry
    1. $Proxy2.addArchiveRequestEntry(Unknown Source)
    1 frame
  11. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
    1 frame