Z
ZITADEL
Z
ZITADEL
error logs
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
FFO
•
6/3/24, 11:47 AM
With a 504 is there an error from your nginx
?
Like upstream error
?
F
FFO
•
6/7/24, 8:55 AM
Can you share me some more info how you setup zitadel
. Like deplyoment
, db
, cpu
, memory
.
.
.
F
FFO
•
6/7/24, 9:55 AM
OK did you configure something in the DB settings on the zitadel config
?
F
FFO
•
6/7/24, 1:38 PM
What are your nginx Settings
?
The error to me looks like nginx closes the connection to Zitadel
F
FFO
•
6/14/24, 12:30 PM
you could experiment with
grpc_set_header Host $host:443
grpc_set_header Host $host:443
and see how it goes
.
F
FFO
•
6/14/24, 1:46 PM
Can you share the nginx logs with me
?
F
FFO
•
6/14/24, 7:07 PM
what infra are you using
?
upstream timeout means zitadel does not reply in time
F
FFO
•
6/14/24, 7:07 PM
and I have not seen that happen many times
F
FFO
•
6/14/24, 7:07 PM
so
:
1
) Zitadel or the DB have to liitle resources
(which is hard to believe
)
2
) Nginx upstrem timeout is configured too low
S
Sreejith Nair
From zitadel logs I am getting the below errors time="2024-06-14T13:43:45Z" leve...
F
FFO
•
6/17/24, 1:15 PM
I think for this we can ignore them
.
Sizing wise looks fine for a small env
. Can you share what upstream timeouts you have configured
?
F
FFO
•
6/18/24, 5:53 AM
hm
, but would this not mean zitadel takes more then 600s for a response
(which would be way to slow
)
F
FFO
•
6/18/24, 5:55 AM
How does the CPU look like on the database and zitadel vm
F
FFO
•
6/18/24, 6:33 AM
So it only happens on the OTP call
, right
?
What happens if you increase the values to 6000
?
F
FFO
•
6/18/24, 6:33 AM
(not to say that this is correct but a verification
)
F
FFO
•
6/18/24, 6:34 AM
Hehe yeah it is weird
, I have not seen this so far
F
FFO
•
6/18/24, 6:46 AM
Hm do me this looks like a weird connectivity issue
.
Is the nginx on the same machine as zitadel
?
F
FFO
•
6/18/24, 10:53 AM
Can you share me the full logs
. of zitadel and nginx
?
F
FFO
•
6/19/24, 7:16 PM
Hm there is a weird db connection error
. But I am not sure this correlates
.
Interesting the 504 is printed on the callback from an externalIDP redirect
, I thought it was on the OTP page
?
S
solthor
•
8/27/25, 7:23 PM
Has this been solved
? Facing exact same issue but on cloudrun with cloud sql and using either github idp and logging in or entra id and logging in
S
solthor
•
8/28/25, 10:25 AM
Hey
, we solved this with having private ips only cause egress went to serverless vpc
. So our bad
F
FFO
•
8/28/25, 9:04 PM
Hm
, you mean like traffic went through a nat gateway or something like that
?
grpc_set_header Host $host:443
grpc_set_header Host $host:443