# Error: Connection attempt failed: The given key was not present in the dictionary

**URL:** <http://discussions.gridprotectionalliance.org/t/error-connection-attempt-failed-the-given-key-was-not-present-in-the-dictionary/833>\
**Category:** openPDC\
**Created:** [February 12, 2021, 3:31pm UTC](http://discussions.gridprotectionalliance.org/t/error-connection-attempt-failed-the-given-key-was-not-present-in-the-dictionary/833 "2021-02-12T15:31:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GFS](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/g/41988e/32.png) [@GFS](http://discussions.gridprotectionalliance.org/u/GFS)\
**Post date:** [February 12, 2021, 3:31pm UTC](http://discussions.gridprotectionalliance.org/t/error-connection-attempt-failed-the-given-key-was-not-present-in-the-dictionary/833/1 "2021-02-12T15:31:21Z")

</div>

Hello,

I have been struggling to get openPDC to work with a lab PMU test setup. The device is a Siemens Siprotec 5, configured as PMU, and works properly; in fact the PMU Connection Tester establishes a connection correctly, and the traffic is also visible with Wireshark.

After setting up openPDC with minimal changes to the default settings, using an SQLLite DB, I can configure the input device correctly; openPDC even interprets the UDP Config frame correctly, setting up the phasor information accordingly. The configuration is shown in picture 2:

 ![Device_Configuration](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/354f609134350d01ed968f505b2d5e6c6503def8.gif)  
_PMU Configuration_

However one the configuration is saved , the connection is repeatedy attempted and failed, with the following message:

_[PMUX] Attempting connection…_  
_[PMUX] Connection attempt failed: The given key was not present in the dictionary_  
_[PMUX] Data channel user unhandled exception: The given key was not present in the dictionary_

Noteworthy points:

- The device is enabled
- The firewall has been disabled
- PMU Connection Tester is **not** running in the background
- I have more screenshots that I can not upload due to being a new user. I can provide mor details if needed.

What could be causing this issue? Any help would be much appreciated. I have little experience with the software so please bear with me on this one.

Best regards,  
Gonzalo

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [February 12, 2021, 3:33pm UTC](http://discussions.gridprotectionalliance.org/t/error-connection-attempt-failed-the-given-key-was-not-present-in-the-dictionary/833/2 "2021-02-12T15:33:59Z")

</div>

Try the nightly build:  
[https://www.gridprotectionalliance.org/nightlybuilds/openPDC/Beta/Synchrophasor.Installs.zip](https://www.gridprotectionalliance.org/nightlybuilds/openPDC/Beta/Synchrophasor.Installs.zip)

---

<div class="post-metadata">

**Author:** ![GFS](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/g/41988e/32.png) [@GFS](http://discussions.gridprotectionalliance.org/u/GFS)\
**Post date:** [February 15, 2021, 10:45am UTC](http://discussions.gridprotectionalliance.org/t/error-connection-attempt-failed-the-given-key-was-not-present-in-the-dictionary/833/3 "2021-02-15T10:45:10Z")

</div>

Dear Ritchie,

thanks a lot for the quick response. I will test it throughout this week and get back to you with the results.

Best regards,  
Gonzalo

---

<div class="post-metadata">

**Author:** ![GFS](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/g/41988e/32.png) [@GFS](http://discussions.gridprotectionalliance.org/u/GFS)\
**Post date:** [February 18, 2021, 10:17am UTC](http://discussions.gridprotectionalliance.org/t/error-connection-attempt-failed-the-given-key-was-not-present-in-the-dictionary/833/4 "2021-02-18T10:17:17Z")

</div>

Hello again Ritchie,

the version you suggested is installed and working properly. Thank you very much for the support!

Best regards,  
Gonzalo
