Hi all,
I’m running NYM on Linux as network gateways – all fine with that, deployed by Ansible, all sweet really.
Yesterday, for one hour all my NYM GW’s showed the same nym-vpnc status:
nym-vpnc status
State: Error state: PerformantExitGatewayUnavailable
Anyone would know what this means and a reason? No tunX interfaces at all for that time.
The issue self healed and I did try to reboot the nodes while the hick-up occurred to no effect.
Thanks,
sn
Didn’t get any other reports like this. Will keep you posted if there are any updates.
PerformantExitGatewayUnavailable sounds like it can’t find an exit gateway because the selection algorithm fails. This has happened to me before on lower versions but I don’t know if it still happens on the latest versions. I also haven’t checked logs back then.
You could just use Random instead of Auto/Safest and Fastest. Random for me was the most reliable. If this works for you it would be nice to know because then I know that me giving this advice is still correct 
1 Like
Hey,
Thanks a lot for your share, interesting – out of the status message I did gather that somewhat there has been an issue with the set gateways..
These are my Ansible .j2 NYM settings of interest, I’m hardcoding entry + exit countries according to target hosts variables indeed:
/usr/bin/nym-vpnc gateway set --entry-country {{ nym_entry_country | default('<DEFAULT_VAR>') }} \
--exit-country {{ nym_exit_country | default('<DEFAULT_VAR>') }} \
--residential-exit {{ nym_residential_exit | default('on') }}
Perhaps I did something wrong, if anyone has any ideas. What I found astonishing was that all of my nodes showed the same artifacts which all self healed.. Don’t like it when there ain’t no identifiable root cause =]
Thanks for any help,
Cheers,
sn
Sorry for the late reply.
The problem might just be that there’s no (residential) exit in a specific country available. Also if you specify countries explicitly it narrows down the selection of nodes by quite a margin which I think could also cause this. nym-vpnc seems to only support that but you could try to rotate countries in the script to make sure that it is connecting correctly. For example create an array of country codes and switch between them if the command does not succeed. Residential exit most likely will limit your choice by a lot therefore it might be easier to just not use it. I think there’s <5% residential entry/exit nodes.