开发者社区 > 云原生 > 中间件 > 正文

请问下Nacos donet 启动 项目,报错显示这个,我远程端口都打开了,是什么原因?

请问下Nacos donet 启动 项目,报错显示这个,我远程端口都打开了,是什么原因?ecea1abe24da2ef33ab48d773acc7256.png
info: Nacos.V2.Config.NacosConfigService[0]
[config_rpc_client] [subscribe] ActiveSign_Config+Active+6688001a-88f2-4c10-80e2-93345cf449e5
fail: Nacos.V2.Config.NacosConfigService[0]
[config_rpc_client] [sub-server-error] dataId=ActiveSign_Config, group=Active, tenant=6688001a-88f2-4c10-80e2-93345cf449e5, code=Client not connected,current status: STARTING
Nacos.V2.Exceptions.NacosException: Client not connected,current status: STARTING
at Nacos.V2.Remote.RpcClient.Request(CommonRequest request, Int64 timeoutMills)
at Nacos.V2.Config.Impl.ConfigRpcTransportClient.RequestProxy(RpcClient rpcClientInner, CommonRequest request, Int64 timeout)
at Nacos.V2.Config.Impl.ConfigRpcTransportClient.QueryConfig(String dataId, String group, String tenant, Int64 readTimeous, Boolean notify)
fail: Nacos.V2.Config.NacosConfigService[0]
async listen config change error
Nacos.V2.Exceptions.NacosException: Client not connected,current status: STARTING
at Nacos.V2.Remote.RpcClient.Request(CommonRequest request, Int64 timeoutMills)
at Nacos.V2.Config.Impl.ConfigRpcTransportClient.RequestProxy(RpcClient rpcClientInner, CommonRequest request, Int64 timeout)
at Nacos.V2.Config.Impl.ConfigRpcTransportClient.ExecuteConfigListen()
warn: Nacos.V2.Config.NacosConfigService[0]
[config_rpc_client] [get-config] get from server error, dataId=ActiveSign_Config, group=Active, tenant=6688001a-88f2-4c10-80e2-93345cf449e5, msg=Client not connected,current status: STARTING
warn: Nacos.V2.Config.NacosConfigService[0]
[config_rpc_client] [get-config] get snapshot ok, dataId=ActiveSign_Config, group=Active, tenant=6688001a-88f2-4c10-80e2-93345cf449e5, config=
warn: Nacos.Microsoft.Extensions.Configuration.NacosV2ConfigurationProvider[0]
MS Config Query config error, dataid=ActiveSign_Config, group=Active, tenant=6688001a-88f2-4c10-80e2-93345cf449e5
System.ArgumentNullException: Value cannot be null. (Parameter 's')
at System.IO.StringReader..ctor(String s)
at Nacos.Microsoft.Extensions.Configuration.DefaultJsonConfigurationStringParser.ParseString(String input)
at Nacos.Microsoft.Extensions.Configuration.DefaultJsonConfigurationStringParser.Parse(String input)
at Nacos.Microsoft.Extensions.Configuration.NacosV2ConfigurationProvider.Load()
fail: Nacos.Microsoft.Extensions.Configuration.NacosV2ConfigurationProvider[0]
Load config error
System.ArgumentNullException: Value cannot be null. (Parameter 's')
at System.IO.StringReader..ctor(String s)
at Nacos.Microsoft.Extensions.Configuration.DefaultJsonConfigurationStringParser.ParseString(String input)
at Nacos.Microsoft.Extensions.Configuration.DefaultJsonConfigurationStringParser.Parse(String input)
at Nacos.Microsoft.Extensions.Configuration.NacosV2ConfigurationProvider.Load()
Unhandled exception. System.ArgumentNullException: String reference not set to an instance of a String. (Parameter 's')
at System.Text.Encoding.GetBytes(String s)
at CZT.Active.SignApi.Startup.ConfigureServices(IServiceCollection services) in /data/git/activity/czt_activity/CZT.Active.SignApi/Startup.cs:line 98
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>cDisplayClass9_0.gStartup|0(IServiceCollection serviceCollection)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>cDisplayClass8_0.b0(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services, Object instance)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>cDisplayClass13_0.b0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at CZT.Active.SignApi.Program.Main(String[] args) in /data/git/activity/czt_activity/CZT.Active.SignApi/Program.cs:line 23
Aborted

展开
收起
真的很搞笑 2024-03-19 10:42:10 208 0
0 条回答
写回答
取消 提交回答

为企业提供高效、稳定、易扩展的中间件产品。

相关电子书

更多
Nacos架构&原理 立即下载
workshop专场-微服务专场-开发者动手实践营-微服务-使用Nacos进行服务的动态发现和流量调度 立即下载
Nacos 启航,发布第一个版本, 云原生时代助力用户微服务平台建设 立即下载