Nginx Reverse Proxy - Infinite Redirect

Have you seen this error before?

ConnectionError at /me/

HTTPSConnectionPool(host=‘kc.wsbeng.com’, port=443): Max retries exceeded with url: /api/v1/user (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f0d30d12e20>: Failed to establish a new connection: [Errno -2] Name or service not known’))

Update:
Okay looks like the kpi endpoints aren’t working quite right either. This error is being thrown due to this. Looks like
https://kf.wsbeng.com/kobocat/ -> Redirects to https://kc.wsbeng.com

And https://kc.wsbeng.com -> redirects to https://kf.wsbeng.com/accounts/login/?next=/kobocat/#/