title: Chaincode not found in channel during invoke
body: <p>I am trying some code from the fabric-sdk-node v1.0.0-alpha e2e tests. I have the following network configuration:</p>
  
  <ul>
  <li>1 CA </li>
  <li>1 orderer</li>
  <li>2 peers which are part of channel 'mychannel'</li>
  </ul>
  
  <p>In short, im trying to accomplish the following </p>
  
  <ol>
  <li>Create a channel  </li>
  <li>Join peer0, peer1 to the channel  </li>
  <li>Install, instantiate chaincode </li>
  <li>Send invoke and query transactions </li>
  </ol>
  
  <p>After the instantiate operation I can see the following log entry in both of the chaincode container started for peer0 and peer1</p>
  
  <h3>Content of both chaincode logs after install + instantiate</h3>
  
  <pre><code>########### example_cc Init ###########
  Aval = 100, Bval = 200
  </code></pre>
  
  <p>But when I sent the invoke, the peer gives the following error in the log of peer1:</p>
  
  <h3>peer1 log</h3>
  
  <pre><code>2017-04-12 10:53:43.966 UTC [sysccapi] deploySysCC -&gt; INFO 035 system chaincode qscc/mychannel(github.com/hyperledger/fabric/core/chaincode/qscc) deployed
  2017-04-12 10:53:44.085 UTC [gossip/comm#-1] authenticateRemotePeer -&gt; WARN 036 Remote peer 172.18.0.7:7051 didn't send TLS certificate
  2017-04-12 10:53:44.085 UTC [gossip/comm#-1] sendToEndpoint -&gt; WARN 037 Failed obtaining connection for peer0:7051, PKIid:[] reason: Remote peer 172.18.0.7:7051 didn't send TLS certificate
  2017-04-12 10:53:55.024 UTC [lccc] Invoke -&gt; ERRO 038 ChaincodeId: end2end does not exist on channel: mychannel(err:chaincode not found end2end)
  </code></pre>
  
  <p>After the invoke attempt following is the log entries in both the chaincode containers:</p>
  
  <h3>peer0 chaincode container log</h3>
  
  <pre><code>########### example_cc Init ###########
  Aval = 100, Bval = 200
  ########### example_cc Invoke ###########
  Aval = 0, Bval = 300
  </code></pre>
  
  <h3>peer1 chaincode container log</h3>
  
  <pre><code>########### example_cc Init ###########
  Aval = 100, Bval = 200
  </code></pre>
  
  <p>What could be the cause of the <code>chaincode not found</code>  error? And why does it occur even though the init seems to be successful on both the peers?</p>