Authenticating Server Key Issue

Recently started having an issue with my self hosted server not authenticating my key it gives me a curl error 6 now and i tried making another key just to be sure. My network settings havent change it was fine for months until two days ago.