title: Not able to connect to grpc from nodejs/python client
body: <p>My grpc server is in go (go-micro), and it working fine, I have tested both via <code>micro web</code> and go web app (iris).</p>
  
  <p>This is a local grpc setup</p>
  
  <p>I keep getting this error (<code>Stream removed</code>)</p>
  
  <pre><code>{ Error: 2 UNKNOWN: Stream removed
      at new createStatusError ([projectROOT]/node_modules/grpc/src/client.js:64:15)
      at [projectROOT]/node_modules/grpc/src/client.js:583:15
    code: 2,
    metadata: Metadata { _internal_repr: {} },
    details: 'Stream removed' }
  </code></pre>
  
  <hr>
  
  <p>and sometimes I get this error (<code>Trying to connect an http1.x server</code>)</p>
  
  <pre><code>{ Error: 14 UNAVAILABLE: Trying to connect an http1.x server
      at new createStatusError ([projectROOT]/node_modules/grpc/src/client.js:64:15)
      at [projectROOT]/node_modules/grpc/src/client.js:583:15
    code: 14,
    metadata: Metadata { _internal_repr: {} },
    details: 'Trying to connect an http1.x server' }
  </code></pre>
  
  <hr>
  
  <h2>My Node Code</h2>
  
  <pre><code>const grpc = require('grpc');
  
  const AuthPB      = require('./auth_pb');
  const AuthService = require('./auth_grpc_pb');
  
  const AuthClient = new AuthService.AuthClient(
      `localhost:59685`,
      grpc.credentials.createInsecure()
  );
  
  function run(cb) {
    const AuthTokenRequest = new AuthPB.AuthTokenRequest({
      token: `some token`,
    });
    AuthClient.isLoggedIn(AuthTokenRequest, (err, authRes) =&gt; {
      if(!err) return cb({status: 1});
      cb({
        status: 0,
        err,
        message: 'Not loggedin',
      });
    });
  }
  
  
  run(console.log);
  </code></pre>
  
  <hr>
  
  <h2>Facing the same problem with Python code also</h2>
  
  Errors
  
  <pre><code>Traceback (most recent call last):
    File "app.py", line 15, in &lt;module&gt;
      run()
    File "app.py", line 11, in run
      res = AuthStub.IsLoggedIn(atReq)
    File "[python3.6-path]/site-packages/grpc/_channel.py", line 484, in __call__
      return _end_unary_response_blocking(state, call, False, deadline)
    File "[python3.6-path]/site-packages/grpc/_channel.py", line 434, in _end_unary_response_blocking
      raise _Rendezvous(state, None, None, deadline)
  grpc._channel._Rendezvous: &lt;_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Trying to connect an http1.x server)&gt;
  </code></pre>
  
  <p>.</p>
  
  <pre><code>Traceback (most recent call last):
    File "app.py", line 15, in &lt;module&gt;
      run()
    File "app.py", line 11, in run
      res = AuthStub.IsLoggedIn(atReq)
    File "[python3.6-path]/site-packages/grpc/_channel.py", line 484, in __call__
      return _end_unary_response_blocking(state, call, False, deadline)
    File "[python3.6-path]/site-packages/grpc/_channel.py", line 434, in _end_unary_response_blocking
      raise _Rendezvous(state, None, None, deadline)
  grpc._channel._Rendezvous: &lt;_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, Stream removed)&gt;
  </code></pre>
  
  <hr>
  
  <h3>My Python Code</h3>
  
  <pre><code>import grpc
  import auth_pb2
  import auth_pb2_grpc
  
  def run():
      channel = grpc.insecure_channel('localhost:59685')
      AuthStub = auth_pb2_grpc.AuthStub(channel)
      atReq = auth_pb2.AuthTokenRequest(token='some token')
      res = AuthStub.IsLoggedIn(atReq)
      print("IsLoggedin: " + res.status)
  
  if __name__ == "__main__":
      run()
  </code></pre>