This message was deleted.
# general
b
This message was deleted.
👀 1
e
Hey Oliver! Let me get one of the team to look
l
Hi @high-army-59209 which URL are you looking at?
Can you try going to
/stats
?
h
URL is the one from our internal load balancer
l
what was the URL that gave you the invalid API key error?
h
Although stats EC2 was just restarting that's why I had a bad gateway 😅
l
Can you try
curl -I <https://users.tfe-nonprod.aws-cloud.axa-de.intraxa/cost_api>
?
hmm this is odd because the /health page gets loaded before the auth even kicks in (https://github.com/infracost/cloud-pricing-api/blob/master/src/app.ts#L79). So I’m wondering if it’s something to do with the LB not loading the correct paths. Do you have any logs from the instance?
Can you also try
curl -i <https://users.tfe-nonprod.aws-cloud.axa-de.intraxa/cost_api/graphql> -H "X-Api-Key: YOUR_SELF_HOSTED_INFRACOST_API_KEY"
Happy to jump on a zoom as well if it helps to debug this.
h
Your mentioned curl doesn't work either.
Can you please give me your mail Adresse? I will send you a teams invitation as zoom is forbidden for us 😅
l
h
What timezone do you live in?
l
UK (GMT+1 at the moment)
Here’s a calendly link if that works: https://calendly.com/aiscott/30min?back=1&amp;month=2022-07&amp;date=2022-07-06 I’m also free this morning from 10am (1hour from now) - 11:30am
Here’s the branch with the path prefix change: https://github.com/infracost/cloud-pricing-api/tree/add-path-prefix So you can try running with this and setting env
PATH_PREFIX=/cost_api/
^ @high-army-59209 (forgot to tag you in the above)
@high-army-59209 any luck with this?