又来个bug,在windows已经搭建好nacos集群下使用seata,双击seata-server.bat运行不起来。 #4043
-
Code:500, ErrMsg:failed to req API:/nacos/v1/ns/instance after all servers([eureka7001.com:8848]) tried: ErrCode:400, ErrMsg: Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback. Sun Sep 26 21:44:30 GMT+08:00 2021 There was an unexpected error (type=Bad Request, status=400). receive invalid redirect request from peer 127.0.0.1 ==> java.lang.RuntimeException: ErrCode:500, ErrMsg:failed to req API:/nacos/v1/ns/instance after all servers([eureka7001.com:8848]) tried: ErrCode:400, ErrMsg: Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback. Sun Sep 26 21:44:30 GMT+08:00 2021 There was an unexpected error (type=Bad Request, status=400). receive invalid redirect request from peer 127.0.0.1 at io.seata.core.rpc.netty.NettyServerBootstrap.start(NettyServerBootstrap.java:157) ~[seata-core-1.4.2.jar:na] at io.seata.core.rpc.netty.AbstractNettyRemotingServer.init(AbstractNettyRemotingServer.java:55) ~[seata-core-1.4.2.jar:na] at io.seata.core.rpc.netty.NettyRemotingServer.init(NettyRemotingServer.java:52) ~[seata-core-1.4.2.jar:na] at io.seata.server.Server.main(Server.java:98) ~[seata-server-1.4.2.jar:na] Caused by: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([eureka7001.com:8848]) tried: ErrCode:400, ErrMsg: Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback. Sun Sep 26 21:44:30 GMT+08:00 2021 There was an unexpected error (type=Bad Request, status=400). receive invalid redirect request from peer 127.0.0.1 at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:552) ~[nacos-client-1.3.3.jar:na] at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:491) ~[nacos-client-1.3.3.jar:na] at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:486) ~[nacos-client-1.3.3.jar:na] at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:239) ~[nacos-client-1.3.3.jar:na] at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:200) ~[nacos-client-1.3.3.jar:na] at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:185) ~[nacos-client-1.3.3.jar:na] at io.seata.discovery.registry.nacos.NacosRegistryServiceImpl.register(NacosRegistryServiceImpl.java:86) ~[seata-discovery-nacos-1.4.2.jar:na] at io.seata.core.rpc.netty.NettyServerBootstrap.start(NettyServerBootstrap.java:153) ~[seata-core-1.4.2.jar:na] ... 3 common frames omitted <== |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
单机模式运行nacos,然后再启动seata,居然运行得。见鬼了 |
Beta Was this translation helpful? Give feedback.
-
https://gitee.com/itCjb/spring-cloud-alibaba-seata-demo |
Beta Was this translation helpful? Give feedback.
https://gitee.com/itCjb/spring-cloud-alibaba-seata-demo
(上述demo内附1.3整合文字版)
1.3及以上通用教程: https://www.bilibili.com/video/BV1Cf4y1X7vR
说明tc用的可能还是file,多看几遍教程吧