shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[BUG] <title>我使用的centos9 虚拟机 本地部署的2.6.1 然后用咱们给的例子 启动后 -119错误

Open chao6118 opened this issue 4 months ago • 6 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

{2 items "code":int-119 "message":string"Can not find healthy upstream url, please check your configuration!" } 都是例子的接口/http/hello

shengyu getway proxy hello

POST http://192.168.43.143:9195/http/shenyu/client/hello Accept: application/json Content-Type: application/json

Expected Behavior

No response

Steps To Reproduce

No response

Environment

ShenYu version(s):

Debug logs

No response

Anything else?

No response

chao6118 avatar Aug 11 '25 09:08 chao6118

can you config ‘http/shenyu/client/hello’ at shenyu admin divide plugin?

yu199195 avatar Aug 11 '25 10:08 yu199195

Image 我用的2.6.1 现在用2.7.0 也不行 用这个测试项目 shenyu-examples-http

chao6118 avatar Aug 11 '25 13:08 chao6118

Image我看到这些配置都是测试项目推上去的

chao6118 avatar Aug 11 '25 13:08 chao6118

shenyu: namespace: 649330b6-c2d7-4edc-be8e-8a54df9eb385 register: registerType: http serverLists: http://192.168.1.190:9095 props: username: admin password: 123456 client: http: props: contextPath: /http appName: http 这配置能去掉嘛 有时候我的第三方服务是甲方的 人家不可能让注册到我的神禹上

chao6118 avatar Aug 11 '25 14:08 chao6118

register is not must,you can config selector and rule in shenyu admin。

yu199195 avatar Aug 12 '25 01:08 yu199195

ok

chao6118 avatar Aug 12 '25 08:08 chao6118