We are trying to run <https://github.com/growthboo...
# ask-questions
e
We are trying to run https://github.com/growthbook/growthbook-proxy within our k8s. It seems to work in general, but the logs show auth errors. The secret key is correct and set in our GB dashboard. Any idea what's wrong? The healthcheck passes (when checked on the SDK connection detail page) but sometimes it switches to an error state (which might be related to the log error message).
Copy code
" | {"level":50,"time":1744289736197,"pid":48,"hostname":"growthbook-proxy","msg":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InvalidArgument</Code><Message>Unsupported Authorization Type</Message><ArgumentName>Authorization</ArgumentName><ArgumentValue>Bearer secret_readonly_SOME_KEY_HERE</ArgumentValue><RequestId>T6683RVTDTCKPTP8</RequestId><HostId>mmLiDPve4W04r+z+5EWMhFjPcRjxuk1LPEGAu1qxXMH+TTqZaQ6fI1gmqbXOWuAK/TuX1/4hONs=</HostId></Error>"}"
There is also a second message:
Copy code
" | {"level":50,"time":1744290876196,"pid":48,"hostname":"growthbook-proxy","msg":"connection polling error: status code is 400"}"
so turned out we used the wrong
GROWTHBOOK_API_HOST
<https://cdn.growthbook.io/>
instead of
<https://api.growthbook.io/>
🙌 1