The Nacos community recently released versions 2.2.0 and 2.2.1, which brings significant changes to the default authentication plug-in. However, because the default token.secret.key is used in the default console UI of Nacos, many users who deploy images or use the latest version by default experience a high number of startup failures after the token.secret.key default value is removed. This greatly affects the usability of the users. Therefore, version 2.2.2 is mainly optimized to address this problem.
In Nacos 2.2.0 and 2.2.1, three default values related to authentication were removed to avoid the risk of database collision due to unmodified changes during deployment. However, token.secret.key is a mandatory dependency for the landing page of the default console UI of Nacos. As a result, many environments that use the default configuration or have lower security requirements cannot be started and run directly, causing trouble for a large number of users.
Therefore, the main change in version 2.2.2 is the removal of the mandatory dependency on token.secret.key by removing the login requirement in the default console without authentication. If authentication is enabled, users still need to set custom token.secret.key, nacos.core.auth.server.identity.key, and nacos.core.auth.server.identity.value. Otherwise, the node cannot be started and the login and authentication will fail.
For more information about the specific changes in version 2.2.2, please refer to the change log.
## Enhancement&Refactor
[#10153] Close console login page when auth.enabled is false.
[#10276] Default close openssl for client.
## BugFix
[#10208] Remove DefaultSettingPropertySource.java.
Nacos-Go-SDK 2.2.1 mainly addresses a memory usage problem present in version 2.2.0, and also resolves some other usage problems, making it more stable.
* update get cache config log print by @binbin0325 in #594
* fixed memory usage problem caused by maxInt chan by @binbin0325 in #596
* Adjust [INFO] logDir cacheDir log output by @Cotch22 in #590
* Fix the issue of initialization concurrent read and write by @tonglin96 in #591
* grpc default port init by @binbin0325 in #598
Nacos 3.0 is under planning, which will further evolve Nacos' functionality and architecture in the directions of unified control plane, support for localization, and storage-compute separation. You are welcome to join the construction of the new version.
Nacos is committed to helping you discover, configure, and manage microservices. Nacos offers a simple and easy-to-use set of features that enable you to quickly achieve dynamic service discovery, service configuration, service metadata, and traffic management.
With Nacos, you can build, deliver, and manage microservices platforms more agilely and easily. Nacos is a service infrastructure that builds modern application architectures centered around services, such as microservices paradigms and cloud-native paradigms.
[1] Authentication
https://nacos.io/en-us/docs/v2/guide/user/auth.html
[2] 2.2.4 Release
https://github.com/alibaba/nacos/releases/tag/2.2.4
[3] 2.2.3 Release
https://github.com/alibaba/nacos/releases/tag/2.2.3
[4] 2.2.2 Release
https://github.com/alibaba/nacos/releases/tag/2.2.2
[5] 2.2.1 Release
https://github.com/alibaba/nacos/releases/tag/2.2.1
In-depth Interpretation of OpenYurt v1.2: Five Steps to Build an OpenYurt Cluster
760 posts | 60 followers
FollowAlibaba Cloud Native Community - December 22, 2025
Alibaba Cloud Native Community - June 18, 2024
Alibaba Cloud Community - May 6, 2024
Alibaba Cloud Native Community - September 3, 2025
Alibaba Cloud Native Community - May 22, 2025
Alibaba Cloud Native Community - March 13, 2026
760 posts | 60 followers
Follow
Cloud-Native Applications Management Solution
Accelerate and secure the development, deployment, and management of containerized applications cost-effectively.
Learn More
EventBridge
EventBridge is a serverless event bus service that connects to Alibaba Cloud services, custom applications, and SaaS applications as a centralized hub.
Learn More
API Gateway
API Gateway provides you with high-performance and high-availability API hosting services to deploy and release your APIs on Alibaba Cloud products.
Learn More
Managed Service for Prometheus
Multi-source metrics are aggregated to monitor the status of your business and services in real time.
Learn MoreMore Posts by Alibaba Cloud Native Community
Dikky Ryan Pratama July 1, 2023 at 3:50 pm
awesome!