1

我已经在 Linux 机器上启动了 Jaeger 独立二进制文件,并试图在 Mac 上运行 Jaeger 代理二进制文件,以尝试连接到独立进程的 Jaeger 收集器。但是,它一直以“错误”失败:“tchannel错误ErrCodeTimeout:超时”。

问题不在于不同的操作系统版本,因为我在另一个 Linux 机器上尝试时遇到了同样的错误。我使用 telnet 确认收集器端口已打开以进行连接。

堆栈跟踪如下 - ./cmd/agent/agent- --collector.host-port=172.xx.2.4:14267 {"level":"info","ts":1542954225.5485492,"caller":"tchannel /builder.go:94","msg":"启用服务发现","service":"jaeger-collector"} {"level":"info","ts":1542954225.5489438,"caller":"peerlistmgr/ peer_list_mgr.go:111","msg":"Registering active peer","peer":"172.xx.2.4:14267"} {"level":"info","ts":1542954225.5502574,"caller": "agent/main.go:62","msg":"启动代理"} {"level":"info","ts":1542954226.5518098,"caller":"peerlistmgr/peer_list_mgr.go:157","msg “:“没有足够的连接节点”,“已连接”:0,“需要”:1} {“级别”:“信息”,“ts”:1542954226.552439,“呼叫者”:“peerlistmgr/peer_list_mgr.go:166”,“msg” ":"尝试连接到对等体","host:port":"172.xx.2.4:14267"} {"level":"error","ts":1542954226.8054206,"caller":"peerlistmgr/peer_list_mgr. go:171","msg":"无法连接","host:port":"172.xx.2.4:14267","connCheckTimeout":0.25,"error":"tchannel 错误 ErrCodeTimeout: timeout"," stacktrace":"github.com/jaegertracing/jaeger/pkg/discovery/peerlistmgr.(*PeerListManager).ensureConnections\n\t/Users/swarnim/go/src/github。com/jaegertracing/jaeger/pkg/discovery/peerlistmgr/peer_list_mgr.go:171\ngithub.com/jaegertracing/jaeger/pkg/discovery/peerlistmgr.(*PeerListManager).maintainConnections\n\t/Users/swarnim/go/src /github.com/jaegertracing/jaeger/pkg/discovery/peerlistmgr/peer_list_mgr.go:101"}

4

0 回答 0