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

Dubbo Java 2.7.1 occasionally problem. When the provider of dubbo deploying, and the IP is changed. The new provider's IP has been pushed to dubbo, but the error shows that the consumer still sends requests to the old IP that has been offline. #14660

Open
3 of 4 tasks
Wide-wide opened this issue Sep 11, 2024 · 3 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@Wide-wide
Copy link

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo Iava 2.7.1

Steps to reproduce this issue

Our self-developed registration and discovery service relies on dubbo. During the release of the provider by the business side, their IPs changed. According to the dubbo 2.7.1 log tracking, the new provider's IP has been pushed to dubbo. Accoring to dubbo source cod log: logger.info("Notify urls for subscribe url " + url + ", urls: " + urls); Providers' ip typed out is correct.
image
However, this problem is sporadic. We tried to reproduce it many times locally but failed. The business side encountered this problem twice. The consumer failed to call the provider, and one of them was restored half an hour later,the consumer reconnected to the correct provider.

What you expected to happen

Normally, we push the correct provider IP to dubbo, then dubbo should push the correct provider IP to the consumer, and the consumer will establish a connection to the new provider.I hope to find out the cause of this BUG in Dubbo Java 2.7.1 and which version has fixed this problem.

Anything else

Occasional problem, difficult to reproduce

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@Wide-wide Wide-wide added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Sep 11, 2024
@AlbumenJ
Copy link
Member

Please try on the latest version. For this problem, we have fixed several times for diferent scenarios.

@Wide-wide
Copy link
Author

Please try on the latest version. For this problem, we have fixed several times for diferent scenarios.

It is difficult for the business side to upgrade the version. Do you have a detailed explanation about this problem? We want to fix and reproduce this problem in 2.7.1

@AlbumenJ
Copy link
Member

Please try on the latest version. For this problem, we have fixed several times for diferent scenarios.

It is difficult for the business side to upgrade the version. Do you have a detailed explanation about this problem? We want to fix and reproduce this problem in 2.7.1

We have fixed it for more that 5 times and it is really hard to figure all of them out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Status: Todo
Development

No branches or pull requests

2 participants