You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/06/10 08:22:30 UTC
[GitHub] [incubator-shenyu] LBJWt commented on issue #3512: [Question] dubbo+nacos,gateway not success
LBJWt commented on issue #3512:
URL: https://github.com/apache/incubator-shenyu/issues/3512#issuecomment-1152105929
> please describe this question with your shenyu version and your debug log.
shenyu : 2.4.3
shenyu-admin config :
`shenyu:
register:
registerType: nacos #http #zookeeper #etcd #nacos #consul
serverLists: nacos:8848 #http://localhost:2379 #localhost:8848
# registerType: zookeeper #http #zookeeper #etcd #nacos #consul
# serverLists: localhost:2181 #http://localhost:2379 #localhost:8848
props:
sessionTimeout: 5000
connectionTimeout: 2000
checked: true
zombieCheckTimes: 5
scheduledTime: 10
nacosNameSpace: 1c10d748-af86-43b9-8265-75f48748517c
sync:
nacos:
url: nacos:8848
namespace: 1c10d748-af86-43b9-8265-75f48748517c
username: nacos
password: nacos`
shenyu-bootstrap config :
`shenyu:
sync:
nacos:
url: nacos:8848
namespace: 1c10d748-af86-43b9-8265-75f48748517c
username: nacos
password: nacos`
client config:
`shenyu:
register:
registerType: nacos #zookeeper #etcd #nacos #consul
serverLists: nacos:8848 #localhost:2181 #http://localhost:2379 #localhost:8848
props:
username: nacos
password: nacos
nacosNameSpace: 1c10d748-af86-43b9-8265-75f48748517c
client:
dubbo:
props:
contextPath: /dubbo
appName: dubbo
dubbo:
application:
name: test-dubbo-service
registry:
protocol: nacos
address: nacos:8848
protocol:
name: dubbo
port: 20889`
request http://localhost:9195/dubbo/findById?id=666 , response is:
{
code: -106,
message: "Can not find url, please check your configuration!"
}
the admin is reported successfull.
![image](https://user-images.githubusercontent.com/16012187/173023548-f63707f7-1d24-47f9-96e5-0b940b9c60be.png)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org