Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Nacos Config Boot] : The preload configuration is not enabled #252

Open
zouxulin opened this issue Apr 9, 2024 · 1 comment
Open

[Nacos Config Boot] : The preload configuration is not enabled #252

zouxulin opened this issue Apr 9, 2024 · 1 comment

Comments

@zouxulin
Copy link

zouxulin commented Apr 9, 2024

代码分支:develop
NACOS版本:2.3.1

application和gateway服务运行时报如下错误信息后直接结束了启动:

Connected to the target VM, address: '127.0.0.1:65376', transport: 'socket'
2024-04-09 17:13:02.757  WARN 20696 --- [           main] c.a.nacos.client.logging.NacosLogging    : Load Logback Configuration of Nacos fail, message: ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction
2024-04-09 17:13:02.763  WARN 20696 --- [           main] c.a.nacos.client.logging.NacosLogging    : Load Logback Configuration of Nacos fail, message: ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction
2024-04-09 17:13:02.856  INFO 20696 --- [           main] c.a.b.n.c.u.NacosConfigPropertiesUtils   : nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='null', dataIds='null', group='DEFAULT_GROUP', type=null, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}}
2024-04-09 17:13:02.858  INFO 20696 --- [           main] NacosConfigApplicationContextInitializer : [Nacos Config Boot] : The preload configuration is not enabled
2024-04-09 17:13:03.112  WARN 20696 --- [           main] c.a.nacos.client.logging.NacosLogging    : Load Logback Configuration of Nacos fail, message: ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction
2024-04-09 17:13:03.114  INFO 20696 --- [           main] c.alibaba.nacos.client.utils.ParamUtil   : [settings] [req-serv] nacos-server port:8848
2024-04-09 17:13:03.114  INFO 20696 --- [           main] c.alibaba.nacos.client.utils.ParamUtil   : [settings] [http-client] connect timeout:1000
2024-04-09 17:13:03.117  INFO 20696 --- [           main] c.alibaba.nacos.client.utils.ParamUtil   : PER_TASK_CONFIG_SIZE: 3000.0
2024-04-09 17:13:03.330  INFO 20696 --- [           main] c.a.n.client.identify.CredentialWatcher  : null No credential found
Disconnected from the target VM, address: '127.0.0.1:65376', transport: 'socket'

Process finished with exit code 1

@TerrenceGee
Copy link
Contributor

您好,报错信息较少,难以排查。可以的话,请尝试用 try catch 捕获下主方法的异常,打印出来看下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants