nacos-group/nacos-sdk-python

nacos 使用add_config_watcher, 报错 All server are not available, waiting for recovery

L2421800049 opened this issue · 1 comments

nacos 使用add_config_watcher

threading.Thread(
target=self.client.add_config_watcher, args=(
self.data_id, self.group, run_watch
)
).start()

报错

ERROR:nacos.client:[do-sync-req] 127.0.0.1:18848 maybe down, no server is currently available
ERROR:nacos.client:[do-pulling] nacos exception: All server are not available, waiting for recovery
WARNING:nacos.client:[do-sync-req] server:127.0.0.1:18848 is not available for reason:
ERROR:nacos.client:[do-sync-req] 127.0.0.1:18848 maybe down, no server is currently available

但是 直接 data = self.client.get_config(self.data_id, self.group)
就没问题

我这边是这个错误
BrokenPipeError: [WinError 109] 管道已结束。