zero-contrib icon indicating copy to clipboard operation
zero-contrib copied to clipboard

启动nacos服务发现,总是报context deadline exceeded, make sure rpc service is already started

Open bain2018 opened this issue 1 year ago • 9 comments

rpc dial: nacos://xxxxx:8848/rpc?namespaceid=common&timeout=2000s&app=robot&dir=logs&cache=logs,

error: context deadline exceeded, make sure rpc service "rpc?namespaceid=common&timeout=2000s&app=robot&dir=logs&cache=logs" is already started

bain2018 avatar Oct 08 '23 06:10 bain2018

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


rpc dial: nacos://xxxxx:8848/rpc?namespaceid=common&timeout=2000s&app=robot&dir=logs&cache=logs,

error: context deadline exceeded, make sure rpc service "rpc?namespaceid=common&timeout=2000s&app=robot&dir=logs&cache=logs" is already started

Issues-translate-bot avatar Oct 08 '23 06:10 Issues-translate-bot

I have the problem too. when client starts, it read the cache. if i remove the cache, it starts ok. image The nacos go-zero builder lacks the option:NotLoadCacheAtStart

littlerma avatar Oct 22 '23 14:10 littlerma

@bain2018 how do you solve the problem?

littlerma avatar Oct 22 '23 14:10 littlerma

你们这个没有考虑到 nacos AccessKey, accessSerect 的情况,我搞了个分支 https://github.com/alanjiang/go-zero-rpc-nacos 正在调试

alanjiang avatar Jan 11 '24 01:01 alanjiang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


You guys have not considered the situation of nacos AccessKey and accessSerect. I made a branch https://github.com/alanjiang/go-zero-rpc-nacos and am debugging it.

Issues-translate-bot avatar Jan 11 '24 01:01 Issues-translate-bot

我也在看这个问题

alanjiang avatar Jan 11 '24 02:01 alanjiang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I'm looking at this issue too

Issues-translate-bot avatar Jan 11 '24 02:01 Issues-translate-bot

nacos只能支持DEFAULT_GROUP,其它group不支持 image

hongyuxuan avatar Apr 16 '24 09:04 hongyuxuan

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


nacos can only support DEFAULT_GROUP, other groups are not supported image

Issues-translate-bot avatar Apr 16 '24 09:04 Issues-translate-bot