title: WSO2 API Manager Gateway cluster is not working
body: <p>I configure the gateway cluster follow this guide:<a href="https://docs.wso2.com/display/AM210/Clustering+the+Gateway" rel="nofollow noreferrer">https://docs.wso2.com/display/AM210/Clustering+the+Gateway</a>.</p>
  
  <p>172.19.28.71: Gateway Manager Host
  172.19.28.84: Gateway Worker Host</p>
  
  <p>Gateway Manager axis2.xml:</p>
  
  <pre><code>&lt;clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
                  enable="true"&gt;
          &lt;parameter name="membershipScheme"&gt;wka&lt;/parameter&gt;
          &lt;parameter name="domain"&gt;wso2.am.internal.domain&lt;/parameter&gt;
          &lt;parameter name="localMemberHost"&gt;172.19.28.71&lt;/parameter&gt;
          &lt;parameter name="localMemberPort"&gt;4500&lt;/parameter&gt;
          &lt;members&gt;
              &lt;member&gt;
                    &lt;hostName&gt;172.19.28.71&lt;/hostName&gt;
                    &lt;port&gt;4500&lt;/port&gt;
              &lt;/member&gt;
              &lt;member&gt;
                    &lt;hostName&gt;172.19.28.84&lt;/hostName&gt;
                    &lt;port&gt;4200&lt;/port&gt;
              &lt;/member&gt;
          &lt;/members&gt;
  </code></pre>
  
  <p>Gateway Worker axis2.xml:</p>
  
  <pre><code>&lt;clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
                  enable="true"&gt;
      &lt;parameter name="membershipScheme"&gt;wka&lt;/parameter&gt;
      &lt;parameter name="domain"&gt;wso2.am.internal.domain&lt;/parameter&gt;
      &lt;parameter name="localMemberHost"&gt;172.19.28.84&lt;/parameter&gt;
      &lt;parameter name="localMemberPort"&gt;4200&lt;/parameter&gt;
      &lt;members&gt;
          &lt;member&gt;
                &lt;hostName&gt;172.19.28.71&lt;/hostName&gt;
                &lt;port&gt;4500&lt;/port&gt;
          &lt;/member&gt;
          &lt;member&gt;
                &lt;hostName&gt;172.19.28.84&lt;/hostName&gt;
                &lt;port&gt;4200&lt;/port&gt;
          &lt;/member&gt;
      &lt;/members&gt;
  </code></pre>
  
  <p>Publiser and Store api-manager.xml:</p>
  
  <pre><code>    &lt;Environment type="hybrid" api-console="true"&gt;
          &lt;Name&gt;Internal&lt;/Name&gt;
          &lt;Description&gt;This is a hybrid gateway that handles both production and sandbox token traffic.&lt;/Description&gt;
          &lt;ServerURL&gt;https://172.19.28.71:9443/services/&lt;/ServerURL&gt; 
          &lt;Username&gt;${admin.username}&lt;/Username&gt;
          &lt;Password&gt;${admin.password}&lt;/Password&gt;
   &lt;GatewayEndpoint&gt;http://172.19.28.84:8280,https://172.19.28.84:8243&lt;/GatewayEndpoint&gt;
      &lt;/Environment&gt;
  </code></pre>
  
  <p><strong><em>But When I test in API Console(Gateway Worker URL:<a href="https://172.19.28.84:8243/pizzashack/3.0.0" rel="nofollow noreferrer">https://172.19.28.84:8243/pizzashack/3.0.0</a>), nothing response, following is Gateway Worker's log:</em></strong></p>
  
  <pre><code>[2017-05-16 10:15:57,996]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  STATUS = Message dispatched to the main sequence. Invalid URL., RESOURCE = /pizzashack/3.0.0/menu {org.apache.synapse.mediators.builtin.LogMediator}
  </code></pre>
  
  <p><strong><em>Gateway Manager URL (172.19.28.71:8243/pizzashack/3.0.0) is working.</em></strong></p>