Z
ZITADEL
J
ZITADEL
•
5mo ago
•
9 replies
jorar
Zitadel cloud grpc client recommended keepalive parameters
Hi
,
We are on a
zitadel cloud pro plan
, we use the
zitadel
-go
pkg to communicate with our zitadel instance
, when we create a new client
(
https://github.com/zitadel/zitadel-go/blob/45e1206d57a1e78fea9afcdca37c6bda1463a10c/pkg/client/client.go#L123
)
what are the recommended keepalive parameters for the client
?
(
https://pkg.go.dev/google.golang.org/grpc/keepalive
) I
'm getting responses like
"rpc error
: code
= Unavailable desc
= error reading from server
: read tcp xx
.xx
.xx
.
x
x
:56690
-
>xx
.xx
.xx
.
x
x
:443
: read
:
connection reset by peer
" after sometime if I create the client without any grpc options
, so my guess is that we should be passing the keepalive option
(
https://pkg.go.dev/google.golang.org/grpc#WithKeepaliveParams
)
Best
,
Jorge
GitHub
zitadel-go/pkg/client/client.go at 45e1206d57a1e78fea9afcdca37c6bda...
ZITADEL Go
- The official client library of ZITADEL for an easy integration into your Go project
.
- zitadel
/zitadel
-go
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,374
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
Go Zitadel Client
J
JoseSzycho / questions-help-bugs
9mo ago
Using Zitadel Cloud for Tailscale
M
mackid1993 / questions-help-bugs
5mo ago