i think,you can check shenyu-admin, and naocs register。Make sure if it
existed before and then was deleted, or if it never existed

thanks

Lucky猪猪 <[email protected]> 于2022年1月10日周一 11:49写道:
>
> hello,NacosServerRegisterRepository is ok, I am sure the ip and port in 
> nacos&nbsp;
>
>
> the ‘shenyu-admin config nacos register’ is ok too&nbsp;
>
>
> now upstream data ,&nbsp; in divide&nbsp; is null, spring cloud is ok
>
>
> in 2.4.0, divide and spring cloud client are ok.
>
>
> I modified the version 2.4.1, the divide is not good, the springcloud is ok
>
>
> in divideplugin,the upstream is always null.&nbsp; I think,is it missing 
> dependency in 2.4.1 for divide?
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:                                                                          
>                                               "dev"                           
>                                                          
> <[email protected]&gt;;
> 发送时间:&nbsp;2022年1月7日(星期五) 晚上7:50
> 收件人:&nbsp;"dev"<[email protected]&gt;;
>
> 主题:&nbsp;Re: a question for version 2.4.1
>
>
>
> and you also see this : NacosServerRegisterRepository.java
>
> XiaoYu <[email protected]&gt; 于2022年1月7日周五 19:47写道:
>
> &gt; hi, donot show image, you maybe true&nbsp; you instance ip and port in 
> nacos
> &gt; register center.
> &gt;
> &gt; and then check shenyu-admin config nacos register?
> &gt;
> &gt; and then check upstream data ,&nbsp;&nbsp; in divide or spring 
> cloud&nbsp; selector.
> &gt;
> &gt; Lucky猪猪 <[email protected]&gt; 于2022年1月7日周五 18:46写道:
> &gt;
> &gt;&gt; my admin center is pushed normally
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; Does this indicate that the shenyu-bootstrap did not get the 
> information
> &gt;&gt; correctly?
> &gt;&gt;
> &gt;&gt; ------------------ 原始邮件 ------------------
> &gt;&gt; *发件人:* "Lucky猪猪" <[email protected]&gt;;
> &gt;&gt; *发送时间:* 2022年1月7日(星期五) 下午5:56
> &gt;&gt; *收件人:* "dev"<[email protected]&gt;;
> &gt;&gt; *主题:* 回复: a question for version 2.4.1
> &gt;&gt;
> &gt;&gt; hi,This is my main configuration and error screenshot
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; this set 'true' or 'false' ,the result is the same
> &gt;&gt; shenyu:
> &gt;&gt;&nbsp;&nbsp; upstreamCheck:
> &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; enabled: false
> &gt;&gt;
> &gt;&gt; so,Is it the lack of dependency in my shenyu-bootstrap?
> &gt;&gt; 2.4.0 is ok but 2.4.1 is not
> &gt;&gt; in 2.4.1,Which dependency do I need to add?
> &gt;&gt;
> &gt;&gt; ------------------ 原始邮件 ------------------
> &gt;&gt; *发件人:* "dev" <[email protected]&gt;;
> &gt;&gt; *发送时间:* 2022年1月7日(星期五) 下午5:14
> &gt;&gt; *收件人:* "dev"<[email protected]&gt;;
> &gt;&gt; *主题:* Re: a question for version 2.4.1
> &gt;&gt;
> &gt;&gt; you also set this in shenyu gateway yaml,
> &gt;&gt;
> &gt;&gt; shenyu:
> &gt;&gt;&nbsp;&nbsp; upstreamCheck:
> &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; enabled: false
> &gt;&gt;
> &gt;&gt; XiaoYu <[email protected]&gt; 于2022年1月7日周五 17:08写道:
> &gt;&gt; &gt;
> &gt;&gt; &gt; Hi,you whether shenyu-client registration is used? it used
> &gt;&gt; &gt; IpUtils.getHost(), you can checked this.
> &gt;&gt; &gt;
> &gt;&gt; &gt; when upstream is null, You can configure this manually, either 
> in the
> &gt;&gt; &gt; divide of the admin backend or in the selector of the 
> springcloud
> &gt;&gt; &gt; plugin.
> &gt;&gt; &gt;
> &gt;&gt; &gt; if you used nacos as client register center, pls checked nacos 
> have
> &gt;&gt; &gt; this instance.
> &gt;&gt; &gt;
> &gt;&gt; &gt; Lucky猪猪 <[email protected]&gt; 于2022年1月7日周五 15:50写道:
> &gt;&gt; &gt; &gt;
> &gt;&gt; &gt; &gt; I have a question for version 2.4.1
> &gt;&gt; &gt; &gt; In our project,we use nacos&amp;nbsp;as the 
> registry.&amp;nbsp;
> &gt;&gt; &gt; &gt; We have access to HTTP and springcloud customer service
> &gt;&gt; &gt; &gt;
> &gt;&gt; &gt; &gt; in 2.4.0 http and springcloud are normal,but in 2.4.1 http 
> is not.
> &gt;&gt; Error prompt :divide upstream configuration error
> &gt;&gt; &gt; &gt; I checked the source code and found:'upstreamList' is null
> &gt;&gt; &gt; &gt;
> &gt;&gt; &gt; &gt; Cannot get in class 'UpstreamCacheManager'
> &gt;&gt; findUpstreamListBySelectorId&amp;nbsp;
> &gt;&gt; &gt; &gt; in class&amp;nbsp;UpstreamCheckTask.healthyUpstream is 
> null,Even timing
> &gt;&gt; detection
> &gt;&gt; &gt; &gt; please help me.
> &gt;&gt;
> &gt;

Reply via email to