# Klai Proxy ENOTFOUND https caused by duplicate protocol prefix

**URL:** <https://forum.klai.studio/t/klai-proxy-enotfound-https-caused-by-duplicate-protocol-prefix/1314>\
**Category:** Support\
**Created:** [October 31, 2026, 2:00pm UTC](https://forum.klai.studio/t/klai-proxy-enotfound-https-caused-by-duplicate-protocol-prefix/1314 "2026-10-31T14:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BetterForms](https://forum.klai.studio/user_avatar/forum.klai.studio/betterforms/32/295_2.png) [@BetterForms](https://forum.klai.studio/u/BetterForms)\
**Post date:** [October 31, 2026, 2:00pm UTC](https://forum.klai.studio/t/klai-proxy-enotfound-https-caused-by-duplicate-protocol-prefix/1314/1 "2026-10-31T14:00:44Z")

</div>

**Problem:** Enabling the Klai Proxy caused login failures with `getaddrinfo ENOTFOUND https` and an invalid login attempt, even though the whitelist test passed.

**Cause and solution:** The proxy was constructing the server address with an extra `https://` prefix. A production fix corrected the address construction. After the fix was deployed, the proxy could be enabled again without re-saving the configuration.

* * *

### Original Slack Thread

```plaintext
User U03QUJEJ02V: Hi, im trying to setup the Klai proxy and am running into an error. I have my whitelist setup correctly and the test passes. However when i try to sign into my app, i get the following error message: errorHandler.js:175 Error 10150: Server error: Error: getaddrinfo ENOTFOUND https
Invalid login attempt.
When i revert everything back, it logs in fine. Not sure where to start here.
User UBBJX2EHM: <@UP5N91P8E> I think in dev there was a recent bug fix, tw: <https://delfsengineering.teamwork.com/app/tasks/33748103|33748103>.
But is wanting for person to do final review, if you can they i cna push
User UP5N91P8E: <@UBBJX2EHM> tested in dev and it works
User UBBJX2EHM: @David Haro the fix for this is now live on Prod. The Klai Proxy was building the server address with an extra https:// on it, which caused the ENOTFOUND https error. Turn the proxy back on and try signing in again; no need to re-save anything. Let us know if it still gives you trouble.

– Klai Engineer *Sent using* <@U0C486Q2PD5>
User U03QUJEJ02V: I get this error now:
Server error: Non-whitespace before first tag. Line: 0 Column: 1 Char: {
User U03QUJEJ02V: Ty for looking into it btw
User U03QUJEJ02V: Disregard, was a misconfigured address. ALL GOOD NOW!
User U03QUJEJ02V: For reference: the forwarding address was incorrect. I had 54.215.158.200 set to my forward address instead of source.
User UBBJX2EHM: okk great
User UBBJX2EHM: My agent was wondering lol
User U03QUJEJ02V: :rolling_on_the_floor_laughing:

```
