Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when --explain (stream terminated by RST_STREAM with error code NO_ERROR) #201

Closed
Saturas89 opened this issue Feb 22, 2023 · 8 comments

Comments

@Saturas89
Copy link

If we are using zed against authzed.com we can not use the "--explain" flag in a permission check.
There is always this error:

INF debugging requested on check
WRN No debuging information returned for the check
Error: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR

We are using zed via brew on an apple m1.

@josephschorr
Copy link
Member

This is sadly a known issue and we have not determined a root cause as of yet

@Saturas89
Copy link
Author

Is there any workaround?
We are using the java client in our backend. There is no possibility to set the debug header or?

@ldeng-apex
Copy link

We hit the same issue. We host spicedb in k8s cluster with istio. If we access spicedb via istio virtual service, with --explain, we reproduce the same error:
Error: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR

If we k8s port-forward k8s service of the spicedb Pods to a local port, then run the zed permission check --explain, against the local port, it then works fine. So it makes us think it is an issue related to networking.

@josephschorr
Copy link
Member

@ldeng-apex Any insight into why istio might be showing that error?

@ldeng-apex
Copy link

@ldeng-apex Any insight into why istio might be showing that error?

No idea. Just a guess it is related to istio, based on that the workaround does not go through the istio network routing.

@josephschorr
Copy link
Member

Update: we believe this is due to the debug trace information exceeding the maximum configured allowable size of the HTTP2 trailers; some clients libraries allow this to be overridden, but we're doing more research to determine a long-term solution

@vroldanbet
Copy link
Contributor

This should be addressed now as of https://github.com/authzed/zed/releases/tag/v0.17.0

@epaulson10
Copy link
Contributor

Thanks guys! I was just coming to this issue to report that this miraculously started working again after upgrading Spicedb to v1.31.0. Can confirm it is working for @ldeng-apex and I now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants