<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/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/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.5</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>create a simple app with dubbo</li>
<li>create dubbo.properties file which contains <code class="notranslate">dubbo.config-center.address=zookeeper://127.0.0.1:2181</code></li>
<li>start app with springContainer</li>
<li>invoke<code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code></li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto"><code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code>  return a non-empty list, it contains an instance of <code class="notranslate">ConfigCenterConfig</code></p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto"><code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code>  return a empty list</p>
<h3 dir="auto">Other</h3>
<p dir="auto">I just want test new API <code class="notranslate">DubboBootstrap</code> in 2.7.5, so the app is very simple. It does not contain any services.<br>
And <code class="notranslate">dubbo.properties</code>is simple too :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dubbo.config-center.address=zookeeper://127.0.0.1:2181
dubbo.application.name=test
dubbo.protocol.name=dubbo
dubbo.protocol.port=20880"><pre class="notranslate"><code class="notranslate">dubbo.config-center.address=zookeeper://127.0.0.1:2181
dubbo.application.name=test
dubbo.protocol.name=dubbo
dubbo.protocol.port=20880
</code></pre></div>
<p dir="auto">After dubbo starts, <code class="notranslate">DubboBootstarp.getApplication()</code> a returned the correct instance of <code class="notranslate">ApplicationConfig</code>, should <code class="notranslate">ApplicationModel.getConfigManager().getConfigCenters()</code>  return a non-empty list?</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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 class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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.1</li>
<li>Operating System version: macOS mojave 10.14.5</li>
<li>Java version: 1.8.0_191</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>provider consumer 均没有配置全局超时时间和重试次数</li>
<li>在PersonRelTempletServiceImpl 上配置的方法级别的超时时间  <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(methods = {<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/method/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/method">@method</a>(name = "getAllRelTempletList", timeout = 35000, retries = 2)})<br>
3.使用2.6.6 版本不会报超时错误<br>
4.在2.7.1 会报如下错误<br>
org.apache.dubbo.remoting.TimeoutException: Waiting server-side response timeout. start time: 2019-08-15 16:21:46.234, end time: 2019-08-15 16:21:47.239, client elapsed: 1 ms, server elapsed: 1004 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getAllRelTempletList, parameterTypes=[], arguments=[], attachments={path=com.hudong.microservices.service.PersonRelTempletService, interface=com.hudong.microservices.service.PersonRelTempletService, version=0.0.0}]], channel: /127.0.0.1:53556 -&gt; /127.0.0.1:20881</li>
</ol>