Facing similar problems. See my post above.
Also XMR-Stak.
Still no answers......
Hi. Thank you for sharing. I actually spent a few hours TODAY just scanning this FORUM for key words "xmr-stak" combined with an array of things "cryptonight" "miningpoolhub" "getaddrinfo" and did not find very many results. I also wasted some more time scanning google for answers, no resolve there.
I believe I also tried to switch to AEON and try to mine that with xmr, and also got the same results.
So, as a matter of troubleshooting - my next step will be to try and use other software. My version of xmr-stak was modified by myself and I customized my own routines, that work perfectly for the other monero pools I have tried so far. Hopefully I overlooked something in my account setup that is rejecting my worker from attaching.