com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Oracle Community | 3259248 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MEM Server Unavailable Error Message

    Oracle Community | 9 months ago | 3259248
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  2. 0

    Eureka - If peer goes down, instances spam a lot of logs

    Stack Overflow | 2 years ago
    com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out
  3. 0

    ZuulProxy with Server Sent Events

    Stack Overflow | 2 years ago | user1785917
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    unsupported frontend protocol 65363.19778: server supports 1.0 to 3.0

    Stack Overflow | 2 years ago | Arya
    org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.

  1. batwalrus76 263 times, last 1 week ago
  2. poroszd 1 times, last 3 weeks ago
  3. gamebusterz 1 times, last 2 months ago
  4. Nikolay Rybak 6 times, last 3 months ago
  5. Alireza Mohamadi 114 times, last 3 months ago
14 more registered users
71 unregistered visitors
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.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    3. java.net.SocketInputStream.read(SocketInputStream.java:170)
    4. java.net.SocketInputStream.read(SocketInputStream.java:141)
    4 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:100)
    2. com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:143)
    3. com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:173)
    4. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2954)
    5. com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:560)
    6. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1014)
    7. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2255)
    8. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2286)
    9. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2085)
    10. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795)
    11. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    11 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor41.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    3 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:664)
    2. java.sql.DriverManager.getConnection(DriverManager.java:208)
    2 frames
  7. Spring Framework
    SingleConnectionDataSource.initConnection
    1. org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
    2. org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
    3. org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:155)
    4. org.springframework.jdbc.datasource.SingleConnectionDataSource.initConnection(SingleConnectionDataSource.java:224)
    4 frames
  8. com.mysql.etools
    MysqlAvailabilityCollector$1.run
    1. com.mysql.etools.agent.collection.JdbcConnector$1.getDataSource(JdbcConnector.java:210)
    2. com.mysql.etools.agent.collection.JdbcConnector.initDataSourceCall(JdbcConnector.java:388)
    3. com.mysql.etools.agent.collection.JdbcConnector.access$300(JdbcConnector.java:52)
    4. com.mysql.etools.agent.collection.JdbcConnector$3.execute(JdbcConnector.java:303)
    5. com.mysql.etools.agent.collection.JdbcConnector$3.execute(JdbcConnector.java:300)
    6. com.mysql.etools.agent.collection.PrivilegeFallback.attempt(PrivilegeFallback.java:35)
    7. com.mysql.etools.agent.collection.JdbcConnector.initDataSource(JdbcConnector.java:307)
    8. com.mysql.etools.agent.collection.JdbcConnector.<init>(JdbcConnector.java:286)
    9. com.mysql.etools.agent.collection.JdbcConnector.<init>(JdbcConnector.java:264)
    10. com.mysql.etools.agent.collection.JdbcConnector.<init>(JdbcConnector.java:256)
    11. com.mysql.etools.agent.collection.MysqlConnection.pingCall(MysqlConnection.java:1432)
    12. com.mysql.etools.agent.collection.MysqlConnection.access$3900(MysqlConnection.java:79)
    13. com.mysql.etools.agent.collection.MysqlConnection$7.call(MysqlConnection.java:1394)
    14. com.mysql.etools.agent.collection.MysqlConnection$7.call(MysqlConnection.java:1390)
    15. com.mysql.etools.limits.RateLimit.doWithRateLimit(RateLimit.java:222)
    16. com.mysql.etools.agent.collection.MysqlConnectionRateLimit.doWithRateLimit(MysqlConnectionRateLimit.java:81)
    17. com.mysql.etools.agent.collection.MysqlConnectionRateLimit.doWithRateLimitCore(MysqlConnectionRateLimit.java:62)
    18. com.mysql.etools.agent.collection.MysqlConnection.ping(MysqlConnection.java:1390)
    19. com.mysql.etools.agent.collection.mysql.ConnectionStats.ping(MysqlAvailabilityCollector.java:204)
    20. com.mysql.etools.agent.collection.mysql.MysqlAvailabilityCollector$1.run(MysqlAvailabilityCollector.java:102)
    20 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames