请问下Nacos donet 启动 项目,报错显示这个,我远程端口都打开了,是什么原因?
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
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。