<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1</li>
<li>Operating System version: mac os 10.14.4</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>Spring Boot Dubbo Consul start</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.IllegalStateException: Failed to register dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&amp;application=ejlerp-cache-provider&amp;application.version=master&amp;bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&amp;default.deprecated=false&amp;default.dynamic=false&amp;default.register=true&amp;default.retries=0&amp;default.timeout=6000&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=false&amp;generic=false&amp;interface=com.ejlerp.cache.api.HashCacher&amp;methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&amp;organization=egenie&amp;owner=dani&amp;pid=11049&amp;register=true&amp;release=2.7.1&amp;revision=10.0.0-SNAPSHOT&amp;side=provider&amp;threadpool=cached&amp;timestamp=1554355820115&amp;version=0.1 to registry 192.168.0.230:8500, cause: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('url', 'dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&amp;application=ejlerp-cache-provider&amp;application.version=master&amp;bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&amp;default.deprecated=false&amp;default.dynamic=false&amp;default.register=true&amp;default.retries=0&amp;default.timeout=6000&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=false&amp;generic=false&amp;interface=com.ejlerp.cache.api.HashCacher&amp;methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&amp;organization=egenie&amp;owner=dani&amp;pid=11049&amp;register=true&amp;release=2.7.1&amp;revision=10.0.0-SNAPSHOT&amp;side=provider&amp;threadpool=cached&amp;timestamp=1554355820115&amp;version=0.1'): Value is too long (limit: 512 characters)')
	at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:244)
	at org.apache.dubbo.registry.consul.ConsulRegistry.register(ConsulRegistry.java:90)
	at org.apache.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:160)
	at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:194)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:106)
	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:61)
	at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
	at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:559)
	at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:417)
	at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:375)
	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:337)
	at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:319)
	at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:113)
	at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:59)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:354)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:886)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)
	at com.ejlerp.cache.CacheProvider.main(CacheProvider.java:20)
Caused by: com.ecwid.consul.v1.OperationException: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('url', 'dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&amp;application=ejlerp-cache-provider&amp;application.version=master&amp;bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&amp;default.deprecated=false&amp;default.dynamic=false&amp;default.register=true&amp;default.retries=0&amp;default.timeout=6000&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=false&amp;generic=false&amp;interface=com.ejlerp.cache.api.HashCacher&amp;methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&amp;organization=egenie&amp;owner=dani&amp;pid=11049&amp;register=true&amp;release=2.7.1&amp;revision=10.0.0-SNAPSHOT&amp;side=provider&amp;threadpool=cached&amp;timestamp=1554355820115&amp;version=0.1'): Value is too long (limit: 512 characters)')
	at com.ecwid.consul.v1.agent.AgentConsulClient.agentServiceRegister(AgentConsulClient.java:278)
	at com.ecwid.consul.v1.agent.AgentConsulClient.agentServiceRegister(AgentConsulClient.java:265)
	at com.ecwid.consul.v1.ConsulClient.agentServiceRegister(ConsulClient.java:305)
	at org.apache.dubbo.registry.consul.ConsulRegistry.doRegister(ConsulRegistry.java:95)
	at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:231)"><pre class="notranslate"><code class="notranslate">java.lang.IllegalStateException: Failed to register dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&amp;application=ejlerp-cache-provider&amp;application.version=master&amp;bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&amp;default.deprecated=false&amp;default.dynamic=false&amp;default.register=true&amp;default.retries=0&amp;default.timeout=6000&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=false&amp;generic=false&amp;interface=com.ejlerp.cache.api.HashCacher&amp;methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&amp;organization=egenie&amp;owner=dani&amp;pid=11049&amp;register=true&amp;release=2.7.1&amp;revision=10.0.0-SNAPSHOT&amp;side=provider&amp;threadpool=cached&amp;timestamp=1554355820115&amp;version=0.1 to registry 192.168.0.230:8500, cause: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('url', 'dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&amp;application=ejlerp-cache-provider&amp;application.version=master&amp;bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&amp;default.deprecated=false&amp;default.dynamic=false&amp;default.register=true&amp;default.retries=0&amp;default.timeout=6000&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=false&amp;generic=false&amp;interface=com.ejlerp.cache.api.HashCacher&amp;methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&amp;organization=egenie&amp;owner=dani&amp;pid=11049&amp;register=true&amp;release=2.7.1&amp;revision=10.0.0-SNAPSHOT&amp;side=provider&amp;threadpool=cached&amp;timestamp=1554355820115&amp;version=0.1'): Value is too long (limit: 512 characters)')
	at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:244)
	at org.apache.dubbo.registry.consul.ConsulRegistry.register(ConsulRegistry.java:90)
	at org.apache.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:160)
	at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:194)
	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:106)
	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:61)
	at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
	at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:559)
	at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:417)
	at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:375)
	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:337)
	at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:319)
	at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:113)
	at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:59)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:354)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:886)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)
	at com.ejlerp.cache.CacheProvider.main(CacheProvider.java:20)
Caused by: com.ecwid.consul.v1.OperationException: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('url', 'dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&amp;application=ejlerp-cache-provider&amp;application.version=master&amp;bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&amp;default.deprecated=false&amp;default.dynamic=false&amp;default.register=true&amp;default.retries=0&amp;default.timeout=6000&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=false&amp;generic=false&amp;interface=com.ejlerp.cache.api.HashCacher&amp;methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&amp;organization=egenie&amp;owner=dani&amp;pid=11049&amp;register=true&amp;release=2.7.1&amp;revision=10.0.0-SNAPSHOT&amp;side=provider&amp;threadpool=cached&amp;timestamp=1554355820115&amp;version=0.1'): Value is too long (limit: 512 characters)')
	at com.ecwid.consul.v1.agent.AgentConsulClient.agentServiceRegister(AgentConsulClient.java:278)
	at com.ecwid.consul.v1.agent.AgentConsulClient.agentServiceRegister(AgentConsulClient.java:265)
	at com.ecwid.consul.v1.ConsulClient.agentServiceRegister(ConsulClient.java:305)
	at org.apache.dubbo.registry.consul.ConsulRegistry.doRegister(ConsulRegistry.java:95)
	at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:231)
</code></pre></div>
<ul dir="auto">
<li>[√] I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li>[√] I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.3</li>
<li>Operating System version: MacOS 10</li>
<li>Java version: Oracle JDK 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Cannot configure zookeeper cluster address after using multiple registry</p>
<p dir="auto">Only one address can be configured when using multiple:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;dubbo:registry address=&quot;
    multiple://127.0.0.1?
    reference-registry=zookeeper://127.0.0.1:2182,sofa://127.0.0.1:9603&amp;amp;
    service-registry=zookeeper://127.0.0.1:2182,sofa://127.0.0.1:9603&quot;/&gt;"><pre class="notranslate"><code class="notranslate"> &lt;dubbo:registry address="
    multiple://127.0.0.1?
    reference-registry=zookeeper://127.0.0.1:2182,sofa://127.0.0.1:9603&amp;amp;
    service-registry=zookeeper://127.0.0.1:2182,sofa://127.0.0.1:9603"/&gt;
</code></pre></div>
<p dir="auto">If you use the backup field, could only add one more address:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;dubbo:registry address=&quot;
    multiple://127.0.0.1?
    reference-registry=zookeeper://127.0.0.1:2182?backup=127.0.0.1:2181,sofa://127.0.0.1:9603&amp;amp;
    service-registry=zookeeper://127.0.0.1:2182?backup=127.0.0.1:2181,sofa://127.0.0.1:9603&quot;/&gt;"><pre class="notranslate"><code class="notranslate"> &lt;dubbo:registry address="
    multiple://127.0.0.1?
    reference-registry=zookeeper://127.0.0.1:2182?backup=127.0.0.1:2181,sofa://127.0.0.1:9603&amp;amp;
    service-registry=zookeeper://127.0.0.1:2182?backup=127.0.0.1:2181,sofa://127.0.0.1:9603"/&gt;
</code></pre></div>
<p dir="auto">The previous configuration is like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;dubbo:registry protocol=&quot;zookeeper&quot; address=&quot;10.20.153.10:2181,10.20.153.11:2181,10.20.153.12:2181&quot; /&gt;"><pre class="notranslate"><code class="notranslate">&lt;dubbo:registry protocol="zookeeper" address="10.20.153.10:2181,10.20.153.11:2181,10.20.153.12:2181" /&gt;
</code></pre></div>
<p dir="auto">Only two addresses can be configured that do not meet the needs of our production environment.</p>