client send request to log server 172.17.0.2:29900 ,can’t connect to server

xiapli 分类:安装部署

启动simulator客户端的时候报错,takin服务器是通过镜像安装到其他的服务器上面的,报如下错误:

 

2021-10-27 19:06:49 INFO log server changed to connect host 172.17.0.2:29900.
2021-10-27 19:06:49 INFO NettyRemotingClient pipeline: close
2021-10-27 19:06:54 INFO begin to connect remote host[172.17.0.2:29900] asynchronously
2021-10-27 19:06:54 INFO begin to connect remote host[172.17.0.2:29900] asynchronously
2021-10-27 19:06:57 WARN connect remote host[172.17.0.2:29900] timeout 3000ms, AbstractBootstrap$PendingRegistrationPromise@5d5caf80(uncancellable)
2021-10-27 19:06:57 INFO client send request to log server 172.17.0.2:29900 ,can't connect to server. attempt to choose another log server.
com.pamirs.pradar.remoting.exception.RemotingConnectException: connect to <172.17.0.2:29900> Error.
at com.pamirs.pradar.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:90)
at com.shulie.instrument.module.log.data.pusher.push.tcp.TcpDataPusher$1.call(TcpDataPusher.java:109)
at com.shulie.instrument.module.log.data.pusher.log.reader.impl.DefaultFileReader.push(DefaultFileReader.java:312)
at com.shulie.instrument.module.log.data.pusher.log.reader.impl.DefaultFileReader.access$200(DefaultFileReader.java:40)
at com.shulie.instrument.module.log.data.pusher.log.reader.impl.DefaultFileReader$2.run(DefaultFileReader.java:147)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2021-10-27 19:06:57 INFO log server changed to connect host 172.17.0.2:29900.
2021-10-27 19:06:57 INFO NettyRemotingClient pipeline: close
2021-10-27 19:06:57 WARN connect remote host[172.17.0.2:29900] timeout 3000ms, AbstractBootstrap$PendingRegistrationPromise@5bed56(uncancellable)
2021-10-27 19:06:57 INFO client send request to log server 172.17.0.2:29900 ,can't connect to server. attempt to choose another log server.
com.pamirs.pradar.remoting.exception.RemotingConnectException: connect to <172.17.0.2:29900> Error.
at com.pamirs.pradar.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:90)
at com.shulie.instrument.module.log.data.pusher.push.tcp.TcpDataPusher$1.call(TcpDataPusher.java:109)
at com.shulie.instrument.module.log.data.pusher.log.reader.impl.DefaultFileReader.push(DefaultFileReader.java:312)
at com.shulie.instrument.module.log.data.pusher.log.reader.impl.DefaultFileReader.access$200(DefaultFileReader.java:40)
at com.shulie.instrument.module.log.data.pusher.log.reader.impl.DefaultFileReader$2.run(DefaultFileReader.java:147)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2021-10-27 19:06:57 INFO log server changed to connect host 172.17.0.2:29900.
2021-10-27 19:06:57 INFO NettyRemotingClient pipeline: close

回复

共2条回复 我来回复
  • shulieNews
    shulieNews
    这个人很懒,什么都没有留下~
    评论

    看这里:https://news.shulie.io/?p=4241

    1周前 0条评论
  • 老谢
    老谢
    这个人很懒,什么都没有留下~
    评论

    安装的时候命令如下:docker run -e APPIP=10.12.70.198 –name takin101 -v takindata:/usr/share/takeindata -p 80:80 -p 2181:2181 -p 29900-29999:29900-29999 registry.cn-hangzhou.aliyuncs.com/shulie-takin/takin:v1.0.1

    但zk内注册的还是容器内网地址

    [zk: localhost:2181(CONNECTED) 0] ls /config/log/pradar/server
    [172.17.0.3:29900]

    surge注册的地址不对,如何解决?@shulieNews

    1周前 0条评论