-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
[Bug] consumer cannot be registered #14844
Comments
Can you provide a demo that is stable to reproduce? |
Q1. Yes, tonight I'll create a simple example to reproduce the problem. |
If no Dubbo service is defined, the service will not be registered. I always thought that Dubbo was designed this way, isn't it? |
It depends on how it's designed. But, this description is not found in the documentation. Moreover, the description of the configuration item |
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo java 3.3.x
Steps to reproduce this issue
The consumer side cannot register with the registry center.
What you expected to happen
The
isValidInstance
always returns false. Because ServiceInstance.getHost() always returns null, and instance.getPort() always returns -1.Because there is no definition of the @ DubboService ServiceInstance. GetServiceMetadata () collectExportedURLSet () always returns empty. So, the values of DefaultServiceInstance host and port cannot be updated.
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: