I’m unsure how to reproduce it as some of the queries are working and some don’t.
Even in the sample query above, some fields are not working but if we removed those fields the query works. That same working query after sometime stopped working. Very hard to track what’s going on. We haven’t make any changes to the schema or the data since the version 4.3 from 4.0.3 upgrade.
I took the backup of the app and restored it in my local docker as fresh copy and the query seems to be working. Also on the problem app, there is no error logs or anything that make sense comes out of it.
I just like to check if anyone ever experience this kind of 502 error in squidex or know any possible cause of it?
Do you have something in front of squidex? like nginx or load balancer or so? If yes, I would check the logs of these services. My assumption is that the response headers get too large or so.
we run squidex in google kubernetes, we have a nginx ingress in front of squidex
He’s trying with all versions from 4.0.3 and above. It seems to work be working for 4.1.
I’ll let him try other versions and update the finding tomorrow.
We manage Squidex deployment with helm 2 in google cloud Kubernetes cluster
We have a Nginx ingress in gke, it redirects traffic to Squidex
We were using 4.0.2 before, the GraphQL query shown in May’s screenshot worked very well since beginning, imho, it shouldn’t be Nginx config issue, I also have attempted to upgrade to Squidex 4.1.3, I can confirm that works well too.
This only happens when we upgrade to 4.2.0, I tried 4.3.0, it’s the same issue.
Also noticed in 4.2.0, if I removed a few fields from the query, for example, if I query:
{
queryShowContents {
flatData {
name
logoImage { url }
bannerImage { id }
}
}
}
this works, when I add more properties, it starts to failing again.
I looked the logging, couldn’t find any errors. I assume this might be an migration issue? could you advise how I can investigate further?
I have made a few changes to the headers over time to support the CDN and this also affects graphql. I am pretty sure that the issue is somewhere there. I never had a 502 coming from Squidex