com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 2,450 milliseconds ago. The last packet sent successfully to the server was 5,598,550 milliseconds ago.

GitHub | TheWildHorse | 4 months ago
  1. 0

    GitHub comment 868#239445250

    GitHub | 4 months ago | TheWildHorse
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 2,450 milliseconds ago. The last packet sent successfully to the server was 5,598,550 milliseconds ago.
  2. 0

    Importing 150M+ rows from the MySQL database

    GitHub | 4 months ago | TheWildHorse
    java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 337 milliseconds ago. The last packet sent successfully to the server was 4,375,856 milliseconds ago.
  3. 0

    MySQL reconnect issue

    GitHub | 4 years ago | SelbieNL
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 46,012,347 milliseconds ago. The last packet sent successfully to the server was 46,012,348 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Strange things ;p

    GitHub | 4 years ago | freakyy85
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 39,695,385 milliseconds ago. The last packet sent successfully to the server was 39,695,385 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
  6. 0

    BlockPistonRetractEvent

    GitHub | 4 years ago | squiby
    org.bukkit.event.EventException

  1. kuldeep 4 times, last 2 months ago
  2. esaar 1 times, last 4 months ago
  3. mauritius 2 times, last 9 months ago
16 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.SocketException

    Broken pipe

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    BufferedOutputStream.flush
    1. java.net.SocketOutputStream.socketWrite0(Native Method)[?:1.8.0_101]
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)[?:1.8.0_101]
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:153)[?:1.8.0_101]
    4. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)[?:1.8.0_101]
    5. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)[?:1.8.0_101]
    5 frames
  3. MySQL jdbc
    ResultSetImpl.close
    1. com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3634)[mysql-connector-java-5.1.38.jar:5.1.38]
    2. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2460)[mysql-connector-java-5.1.38.jar:5.1.38]
    3. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625)[mysql-connector-java-5.1.38.jar:5.1.38]
    4. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2547)[mysql-connector-java-5.1.38.jar:5.1.38]
    5. com.mysql.jdbc.StatementImpl.executeSimpleNonQuery(StatementImpl.java:1454)[mysql-connector-java-5.1.38.jar:5.1.38]
    6. com.mysql.jdbc.RowDataDynamic.close(RowDataDynamic.java:178)[mysql-connector-java-5.1.38.jar:5.1.38]
    7. com.mysql.jdbc.ResultSetImpl.realClose(ResultSetImpl.java:6709)[mysql-connector-java-5.1.38.jar:5.1.38]
    8. com.mysql.jdbc.ResultSetImpl.close(ResultSetImpl.java:851)[mysql-connector-java-5.1.38.jar:5.1.38]
    8 frames
  4. org.xbib.elasticsearch
    StandardContext.execute
    1. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.close(StandardSource.java:1130)[elasticsearch-jdbc-2.3.4.0.jar:?]
    2. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.execute(StandardSource.java:701)[elasticsearch-jdbc-2.3.4.0.jar:?]
    3. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.fetch(StandardSource.java:597)[elasticsearch-jdbc-2.3.4.0.jar:?]
    4. org.xbib.elasticsearch.jdbc.strategy.standard.StandardContext.fetch(StandardContext.java:191)[elasticsearch-jdbc-2.3.4.0.jar:?]
    5. org.xbib.elasticsearch.jdbc.strategy.standard.StandardContext.execute(StandardContext.java:166)[elasticsearch-jdbc-2.3.4.0.jar:?]
    5 frames
  5. org.xbib.tools
    JDBCImporter.newRequest
    1. org.xbib.tools.JDBCImporter.process(JDBCImporter.java:199)[elasticsearch-jdbc-2.3.4.0.jar:?]
    2. org.xbib.tools.JDBCImporter.newRequest(JDBCImporter.java:185)[elasticsearch-jdbc-2.3.4.0.jar:?]
    3. org.xbib.tools.JDBCImporter.newRequest(JDBCImporter.java:51)[elasticsearch-jdbc-2.3.4.0.jar:?]
    3 frames
  6. org.xbib.pipeline
    AbstractPipeline.call
    1. org.xbib.pipeline.AbstractPipeline.call(AbstractPipeline.java:50)[elasticsearch-jdbc-2.3.4.0.jar:?]
    2. org.xbib.pipeline.AbstractPipeline.call(AbstractPipeline.java:16)[elasticsearch-jdbc-2.3.4.0.jar:?]
    2 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_101]
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_101]
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_101]
    4. java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
    4 frames