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.

Stack Overflow | Swedz | 5 months ago
  1. 0

    Java JDBC connection refused

    Stack Overflow | 5 months ago | Swedz
    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

    Setting up a database connection to a CentOS server remoted (Page 1) / Data Integration - Installation / Talend Community Forum

    talendforge.org | 12 months ago
    java.lang.RuntimeException: 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.
  3. 0

    Cannot fetch SonarQube project and modules from Sonar server

    GitHub | 2 years ago | acadet
    org.sonar.wsclient.connectors.ConnectionException: Query: org.apache.commons.httpclient.methods.GetMethod@47f79ab5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Make GeoNode work with GeoServer 2.4

    GitHub | 3 years ago | ingenieroariel
    org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed
  6. 0

    Master branch is failing tests in Travis

    GitHub | 3 years ago | ingenieroariel
    org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed

  1. treefolk 9 times, last 1 week ago
  2. musketyr 1 times, last 1 month ago
  3. ruifung 1 times, last 3 months ago
8 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.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Method.invoke
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    8. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    9. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    10. java.lang.reflect.Method.invoke(Method.java:498)
    10 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:327)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
    4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:664)
    2. java.sql.DriverManager.getConnection(DriverManager.java:247)
    2 frames
  7. me.Swedz.core
    MySQL.createPool
    1. me.Swedz.core.MySQL.createPool(MySQL.java:17)
    1 frame
  8. me.Swedz.lobby
    Lobby$1.run
    1. me.Swedz.lobby.Lobby$1.run(Lobby.java:73)
    1 frame
  9. org.bukkit.craftbukkit
    CraftAsyncTask.run
    1. org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    2. org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    2 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames