Zookeeper在Envoy代理EndOfStreamException之后

时间:2020-05-06 11:59:15

标签: apache-zookeeper consul envoyproxy

我正在使用Envoy运行服务网格来进行网络抽象,并使用Consul代理来配置Envoy。 特使代理背后的Zookeeper存在问题。该服务器似乎正常运行,因为它可以正确连接到所有客户端。问题是,每当Zookeeper出现问题时,我都会收到警告:

EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /127.0.0.1:50062, session = 0x0
at org.apache.zookeeper.server.NIOServerCnxn.handleFailedRead(NIOServerCnxn.java:163)
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:326)
at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:522)
at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)

首先,我不明白什么客户端正在连接到给定的地址/127.0.0.1:50XXX。其次,这仅在代理服务器打开时出现,但是据我所知,Zookeeper不应意识到这一点。 是否有我缺少的设置或其他问题?

0 个答案:

没有答案