You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "xuxiaowei-com-cn (via GitHub)" <gi...@apache.org> on 2026/05/09 07:07:03 UTC

[I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

xuxiaowei-com-cn opened a new issue, #8096:
URL: https://github.com/apache/incubator-seata/issues/8096

   ### Check Ahead
   
   - [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
   
   - [x] I am willing to try to implement this feature myself.
   
   
   ### Why you need it?
   
   # 中文
   
   - seata 2.6.0 使用的 nacos-client 是 1.4.6
   - seata 2.6.0 连接 nacos-server 3.1.2 正常:
       1. 源码:https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/tree/5371e5084896beb658e0d8ae2026d04c6dd2b43d
       2. github actions:https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/actions/runs/25452262821
   - seata 2.6.0 连接 nacos-server 3.2.0 异常:
        ```
        Caused by: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: <html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Sat May 09 14:49:36 CST 2026</div><div>There was an unexpected error (type=Not Implemented, status=501).</div><div>no such api:POST:/nacos/v1/ns/instance</div></body></html>
                at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:565) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:507) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:502) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:255) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:218) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:202) ~[nacos-client-1.4.6.jar:na]
                at org.apache.seata.discovery.registry.nacos.NacosRegistryServiceImpl.register(NacosRegistryServiceImpl.java:118) ~[seata-discovery-nacos-2.6.0.jar:2.6.0]
                at org.apache.seata.discovery.registry.RegistryService.register(RegistryService.java:77) ~[seata-discovery-core-2.6.0.jar:2.6.0]
                at org.apache.seata.core.rpc.netty.NettyServerBootstrap.start(NettyServerBootstrap.java:203) ~[seata-core-2.6.0.jar:2.6.0]
                ... 19 common frames omitted
        
        ```
   - seata 2.6.0 使用 nacos-client 2.0.0 连接 nacos-server 3.2.0 正常:
       1. 源码:https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/tree/4029aaa368a64022993b12cae0d668475fafe2be
       2. github actions:https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/actions/runs/25594086059
   - 计划在 seata 2.7.0 发布后,开启 seata 2.8.0 对 spring boot 4.x 的合并窗口,建议在 2.8.0 对 nacos-client 进行升级,最低要求 nacos-client 2.0.0+
       - https://github.com/apache/incubator-seata/issues/8053
   
   
   # English
   
   - seata 2.6.0 uses nacos-client 1.4.6
   - seata 2.6.0 connects to nacos-server 3.1.2 normally:
       1. Source code: https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/tree/5371e5084896beb658e0d8ae2026d04c6dd2b43d
       2. GitHub Actions: https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/actions/runs/25452262821
   - seata 2.6.0 fails to connect to nacos-server 3.2.0:
        ```
        Caused by: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: <html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Sat May 09 14:49:36 CST 2026</div><div>There was an unexpected error (type=Not Implemented, status=501).</div><div>no such api:POST:/nacos/v1/ns/instance</div></body></html>
                at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:565) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:507) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:502) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:255) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:218) ~[nacos-client-1.4.6.jar:na]
                at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:202) ~[nacos-client-1.4.6.jar:na]
                at org.apache.seata.discovery.registry.nacos.NacosRegistryServiceImpl.register(NacosRegistryServiceImpl.java:118) ~[seata-discovery-nacos-2.6.0.jar:2.6.0]
                at org.apache.seata.discovery.registry.RegistryService.register(RegistryService.java:77) ~[seata-discovery-core-2.6.0.jar:2.6.0]
                at org.apache.seata.core.rpc.netty.NettyServerBootstrap.start(NettyServerBootstrap.java:203) ~[seata-core-2.6.0.jar:2.6.0]
                ... 19 common frames omitted
        
        ```
   - seata 2.6.0 with nacos-client 2.0.0 connects to nacos-server 3.2.0 normally:
       1. Source code: https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/tree/4029aaa368a64022993b12cae0d668475fafe2be
       2. GitHub Actions: https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example/actions/runs/25594086059
   - After seata 2.7.0 is released, we plan to open the merge window for seata 2.8.0 to support Spring Boot 4.x. It is recommended to upgrade nacos-client in 2.8.0, with a minimum requirement of nacos-client 2.0.0+
       - https://github.com/apache/incubator-seata/issues/8053
   
   ### How it could be?
   
   _No response_
   
   ### Other related information
   
   _No response_


-- 
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@seata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

Posted by "xuxiaowei-com-cn (via GitHub)" <gi...@apache.org>.
xuxiaowei-com-cn commented on issue #8096:
URL: https://github.com/apache/incubator-seata/issues/8096#issuecomment-4413960600

   @funky-eyes 
   
   - 已经完成多个 nacos-server 版本测试,现已可以合并、在 2.7 中发布。
   - Multiple nacos-server version tests have been completed and can now be merged and released in 2.7.


-- 
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@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

Posted by "xuxiaowei-com-cn (via GitHub)" <gi...@apache.org>.
xuxiaowei-com-cn commented on issue #8096:
URL: https://github.com/apache/incubator-seata/issues/8096#issuecomment-4412798155

   @funky-eyes 
   
   - 第一列:nacos-server 版本
   - 第二列:seata-server 版本
   - 第三列:seata-server 使用的 `com.alibaba.nacos:nacos-client` 版本
   - 第四列:测试结果
   - 第五列:https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example 仓库分支
   - 测试原理:通过修改 https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example 仓库的 seata-server-2.x 模块中的 `com.alibaba.nacos:nacos-client` 版本进行测试
       - 文档:https://xuxiaowei.io/t/apache-seata/355
   - First column: `nacos-server` version
   - Second column: `seata-server` version
   - Third column: `com.alibaba.nacos:nacos-client` version used by `seata-server`
   - Fourth column: Test result
   - Fifth column: Branch of https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example repository
   - Testing principle: Test by modifying the `com.alibaba.nacos:nacos-client` version in the `seata-server-2.x` module of the https://github.com/xuxiaowei-com-cn/spring-cloud-alibaba-example repository
       - Documentation: https://xuxiaowei.io/t/apache-seata/355
   
   | nacos-server | seata-server | nacos-client | result | branch                 |         
   |--------------|--------------|--------------|--------|------------------------|         
   | v2.4.2       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v2.4.x |         
   | v2.4.3       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v2.4.x |         
   | v2.5.0       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v2.5.x |            
   | v2.5.1       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v2.5.x |         
   | v2.5.2       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v2.5.x |         
   | v3.0.0       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.0.1       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.0.2       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.0.3       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.1.0       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.1.1       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.1.2       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.2.0       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   | v3.2.1       | 2.6.0        | 2.0.4        | ✅      | xuxiaowei/nacos-v3     |         
   


-- 
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@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #8096:
URL: https://github.com/apache/incubator-seata/issues/8096#issuecomment-4411937243

   > > If we upgrade on top of 2.7.0, will there be any breaking changes? If not, I think we should upgrade the Nacos component in the 2.7.0 release.
   > 
   > * 因为没有测试过其他 nacos-server 版本,不确定升级 nacos-client 是否会遇见兼容性问题。
   > * Because I haven't tested other nacos-server versions, I'm not sure if upgrading the nacos-client will encounter compatibility issues.
   
   Seata’s CI pipeline pulls Nacos, so perhaps you can verify compatibility by pulling different versions of the Nacos server.


-- 
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@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #8096:
URL: https://github.com/apache/incubator-seata/issues/8096#issuecomment-4411842156

   If we upgrade on top of 2.7.0, will there be any breaking changes?
   If not, I think we should upgrade the Nacos component in the 2.7.0 release.


-- 
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@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes closed issue #8096: Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6
URL: https://github.com/apache/incubator-seata/issues/8096


-- 
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@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Incompatibility between Seata 2.6.0 and Nacos Server 3.2.0 due to outdated nacos-client 1.4.6 [incubator-seata]

Posted by "xuxiaowei-com-cn (via GitHub)" <gi...@apache.org>.
xuxiaowei-com-cn commented on issue #8096:
URL: https://github.com/apache/incubator-seata/issues/8096#issuecomment-4411853258

   > If we upgrade on top of 2.7.0, will there be any breaking changes? If not, I think we should upgrade the Nacos component in the 2.7.0 release.
   
   - 因为没有测试过其他 nacos-server 版本,不确定升级 nacos-client 是否会遇见兼容性问题。
   - Because I haven't tested other nacos-server versions, I'm not sure if upgrading the nacos-client will encounter compatibility issues.


-- 
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@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org