Github user qqeasonchen commented on a diff in the pull request:

    https://github.com/apache/incubator-rocketmq/pull/144#discussion_r132623736
  
    --- Diff: 
client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
 ---
    @@ -225,10 +225,13 @@ public void start() throws MQClientException {
                 switch (this.serviceState) {
                     case CREATE_JUST:
                         this.serviceState = ServiceState.START_FAILED;
    -                    // If not specified,looking address from name server
    -                    if (null == this.clientConfig.getNamesrvAddr()) {
    +                    // name server address and web server address should 
be specified at least one
    +                    if (null == this.clientConfig.getNamesrvAddr() && 
MixAll.getWSAddr().equals(MixAll.WS_ADDR)) {
    +                        throw new MQClientException("name server address 
and web server address should be specified at least one.", null);
    --- End diff --
    
    default wsaddr is not reachable, he need to set his own address


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to