dubbo吧 关注:2,434贴子:871
  • 25回复贴,共1

启动项目,后台一直重复打印Got ping response for sessionid

只看楼主收藏回复

台也不报错 就是一直在重复这句话2017-03-12 23:31:06,293 [localhost-startStop-1-SendThread(服务器地址:2181)] [org.apache.zookeeper.ClientCnxn]-[DEBUG] Got ping response for sessionid: 0x15ac2c6190b0008 after 2ms


回复
1楼2017-05-27 17:19
    我也是这样,不晓得什么问题,而且我的项目也因此启动不了


    收起回复
    2楼2017-06-07 11:12
      其他的工程都可以连接 就一个工程出现了这种情况


      回复
      3楼2017-07-17 14:41
        等的足够久就会报错了,我的最后报的是数据库连接不上


        The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1121)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:358)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2489)
        at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2334)
        ... 85 common frames omitted
        Caused by: java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at java.net.Socket.<init>(Socket.java:434)
        at java.net.Socket.<init>(Socket.java:244)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:259)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:308)


        回复
        4楼2017-08-16 15:56
          我的也是一样 ,请问你的问题解决了么?


          回复
          5楼2017-08-21 10:45
            我有碰到这种问题,请问楼主解决了嘛?


            回复
            6楼2017-08-27 19:30
              我的是缺少一个日志配置文件导致的,结贴


              收起回复
              7楼2017-10-10 15:05
                楼主,你好,我也出现了Got ping response for sessionid: 0x162c44318690001 after 3ms这种情况,请问怎么解决?


                回复
                8楼2018-04-14 13:37
                  有人解决了吗


                  回复
                  9楼2018-04-16 09:52
                    zookeeper心跳机制,会打印类似的日志


                    收起回复
                    10楼2018-04-19 11:30
                      兰州烧饼,就不是错,正常输出的信息


                      回复
                      11楼2018-07-13 18:17
                        zookeeper的心跳机制,这个东西怎么关掉阿


                        回复
                        12楼2019-03-25 16:59