My client is springcloud, I can run successfully in my local admin config: shenyu: register: registerType: nacos #http #zookeeper #etcd #nacos #consul serverLists: http://mse-8b50f286-p.nacos-ans.mse.aliyuncs.com:8848 props: nacosNameSpace: 1fb15a33-bbd4-4b91-ad9d-4d2f31543504 database: dialect: mysql init_script: "META-INF/schema.sql" init_enable: true sync: websocket: enabled: true
At 2021-05-18 18:32:18, "XiaoYu" <[email protected]> wrote: >Hi > >you rpc client is dubbo? or spring cloud, we should checked this, maybe >this is bug . > >xy <[email protected]> 于2021年5月18日周二 下午6:30写道: > >> master 2.3.1 >> what does it mean: can you used spring cloud proxy? >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> At 2021-05-18 18:04:49, "XiaoYu" <[email protected]> wrote: >> >Hi >> > >> >can you used spring cloud proxy? what version by shenyu? >> > >> >xy <[email protected]> 于2021年5月18日周二 下午5:43写道: >> > >> >> I can run shenyu-admin locally, but exception occured in ECS with jar, >> >> how to resolve? I run it in ECS with this command: java -jar >> >> shenyu-admin.jar --spring.profiles.active=test2 >> >> >> >> >> >> 2021-05-18 17:22:08 [main] INFO >> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository - >> >> subscribe uri : shenyu.register.service.dubbo >> >> 2021-05-18 17:22:08 >> >> >> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent] >> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback >> >> exception: >> >> java.lang.NullPointerException: null >> >> at >> >> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168) >> >> at >> >> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133) >> >> at >> >> >> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124) >> >> at >> >> >> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95) >> >> 2021-05-18 17:22:08 [main] INFO >> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository - >> >> subscribe uri : shenyu.register.service.grpc >> >> 2021-05-18 17:22:08 >> >> >> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent] >> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback >> >> exception: >> >> java.lang.NullPointerException: null >> >> at >> >> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168) >> >> at >> >> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133) >> >> at >> >> >> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124) >> >> at >> >> >> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118) >> >> at >> >> >> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95) >> >> >> >> >> >> >> >> >>
