Jimy-Guo commented on issue #9776:
URL: https://github.com/apache/dubbo/issues/9776#issuecomment-1074695049
后面发现在本地启动时偶尔会出现这个问题,但是在docker容器中却没有出现,检查了两者差别之后发现
`injvm://127.0.0.1/org.apache.dubbo.metadata.MetadataService?anyhost=true&application=clife-family-sports-async&background=false&bind.ip=***&bind.port=20881&connections=1&delay=0&deprecated=false&dubbo=2.0.2&dynamic=true&executes=100&generic=false&group=clife-family-sports-async&interface=org.apache.dubbo.metadata.MetadataService&metadata-type=remote&methods=getMetadataURL,isMetadataService,getExportedURLs,serviceName,version,getSubscribedURLs,getExportedServiceURLs,getMetadataInfo,toSortedStrings,getMetadataInfos,getServiceDefinition&pid=2840&qos.accept.foreign.ip=false&qos.enable=false®ister-mode=all&release=3.0.6&revision=3.0.6&side=provider×tamp=1647920490682&version=1.0.0,
dubbo version: 3.0.6, current host: ****`
有个服务org.apache.dubbo.metadata.MetadataService是否需要手动设置ConsumerConfig.Injvm为true,才能启动成功呢。
有尝试过其他方法,但那都是随机启动时报错
`java.lang.NullPointerException: null
at org.apache.dubbo.metadata.MetadataInfo.init(MetadataInfo.java:122)`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]