diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java b/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java index 3f5b731745fd..fd414edd1357 100644 --- a/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java +++ b/dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java @@ -50,6 +50,7 @@ import static com.alibaba.dubbo.common.Constants.ACCEPT_FOREIGN_IP; import static com.alibaba.dubbo.common.Constants.QOS_ENABLE; import static com.alibaba.dubbo.common.Constants.QOS_PORT; +import static com.alibaba.dubbo.common.Constants.VALIDATION_KEY; /** * RegistryProtocol @@ -227,7 +228,8 @@ private URL getRegistedProviderUrl(final Invoker originInvoker) { .removeParameter(Constants.BIND_PORT_KEY) .removeParameter(QOS_ENABLE) .removeParameter(QOS_PORT) - .removeParameter(ACCEPT_FOREIGN_IP); + .removeParameter(ACCEPT_FOREIGN_IP) + .removeParameter(VALIDATION_KEY); return registedProviderUrl; }