title: Duplicate Nodes in Corda Network Map Snapshot
body: <p>Yesterday I ran into the problem that my nodes are sometimes not responding to my corda flows. The flow process is hanging at the <code>Collecting signatures from counterparties.</code> step.</p>
  <p>The logs of the initiating node shows that the counter party node was not found (e.g. <code>StateTransitionException: Don't know about O=Alice, L=Paris, C=FR</code>). However, the node is running in the terminal and the first flow usually goes through. Later flows fail.</p>
  <p>Today, I noticed that this problem only occurs if the network map snapshot shows duplicate nodes.</p>
  <pre><code>- addresses:
    - &quot;localhost:10005&quot;
    legalIdentitiesAndCerts:
    - &quot;O=EU, L=Brussel, C=BE&quot;
    platformVersion: 5
    serial: 1593767408170
  - addresses:
    - &quot;localhost:10008&quot;
    legalIdentitiesAndCerts:
    - &quot;O=Alice, L=Paris, C=FR&quot;
    platformVersion: 5
    serial: 1593767409470
  - addresses:
    - &quot;localhost:10004&quot;
    legalIdentitiesAndCerts:
    - &quot;O=Bob, L=Berlin, C=DE&quot;
    platformVersion: 5
    serial: 1593767409558
  - addresses:
    - &quot;localhost:10002&quot;
    legalIdentitiesAndCerts:
    - &quot;O=Notary, L=Brussel, C=BE&quot;
    platformVersion: 5
    serial: 1593767403239
  - addresses:
    - &quot;localhost:10002&quot;
    legalIdentitiesAndCerts:
    - &quot;O=Notary, L=Brussel, C=BE&quot;
    platformVersion: 5
    serial: 1593763985840
  - addresses:
    - &quot;localhost:10004&quot;
    legalIdentitiesAndCerts:
    - &quot;O=Bob, L=Berlin, C=DE&quot;
    platformVersion: 5
    serial: 1593763987047
  - addresses:
    - &quot;localhost:10008&quot;
    legalIdentitiesAndCerts:
    - &quot;O=Alice, L=Paris, C=FR&quot;
    platformVersion: 5
    serial: 1593763979393
  - addresses:
    - &quot;localhost:10005&quot;
    legalIdentitiesAndCerts:
    - &quot;O=EU, L=Brussel, C=BE&quot;
    platformVersion: 5
    serial: 1593763986487
  
  </code></pre>
  <p>As you can see, every node has a duplicate with a different serial number. My theory is that the flow tries to find the wrong counter party node. One that is not running. How do I fix this problem?</p>