Is there someone I can talk to about the issues th...
# general
s
Is there someone I can talk to about the issues that I am having with the API? I am getting timeouts on multiple endpoints when trying to PATCH and DELETE
p
Hey, thanks for reaching out ! It seems our team is a little busy right now, a human will be with you within the next hour or so. In the meantime, can I help you ?
e
Hi @Sam Armitt-Fior, Thanks for reaching out! To help us investigate, could you please share: • The specific API endpoints you're calling • The full request and response (including status codes) • The PDP version you're running • Any relevant PDP logs around the time of the timeouts This will help us identify the root cause more quickly.
s
Hi Eli sure can I DM what I have already sent over via email to Thomas?
e
Sure, @Sam Armitt-Fior. If possible, it would be best to share the details here in the thread so the whole team can follow along and assist if needed. You can just paste the information you sent to @Thomas, and we’ll take it from there.
s
He should already have it via email
I have also DM’d you a copy of it plus the gateway timeout response we get in postman. The logs that we are seeing in terraform are also in their
e
Thanks, Sam. We’ll review the details and follow up as soon as we have more information.
t
@Sam Armitt-Fior definitely a bug here. I reproduced it. Give us some time to dig into the api to discover why.
s
@Thomas many thanks for getting back too me so quickly about this. Can I ask for a massive favour and ask you too simply delete all instances of the records of the resource roles. This will do a few things for us 1. Allow us to run the terraform again with the new keys in the appropriate “Pro” project that we have created. 2. It will create the appropriate resource roles that we are looking to make so that we can in turn hook into the new roles via our UI. 3. It will allow me to update another part of our infrastructure with the correct keys and be able to then talk to it both in terms of the hosted PDP and associated roles so that the UI can be completed in a demo environment. Would really appreciate any and all assistance with this, please do let me know if this would be possible.
Happy to jump on a quick call / huddle if the above is not clear.
t
@Sam Armitt-Fior right now there is a deeper issue that won't let us clear this env. Will need some time to work through it. As a work around, can you setup another PDP in a new env for the TF tests while we debug with your current Terraform env?
s
I think that one of the underlying issues that we have is that spacelift still has a memory of the current stack so we need to be able to clear that out before we can move to the new env that we have already created inside of Permit. If I am misunderstanding somewhat please do let me know. I can confer with the head of dev ops around this tomorrow morning but essentially as far as I understand it we need to clear this env so that it does not get confused with another one when we re-run the terraform via spacelift.
Would it be at all possible to have a 5 -10 min huddle tomorrow with a colleague of mine who has set up the infra? Just so we are aligned with what we can / need to do our end in order to unblock some of the work discussed above.
@Thomas I have spoken to the head of devops i think we have a workaround for now I will keep you updated if anything changes.
💪 1