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

grpc: received message larger than max #20879

Closed
mingfang opened this issue Mar 30, 2019 · 6 comments · Fixed by #20906
Closed

grpc: received message larger than max #20879

mingfang opened this issue Mar 30, 2019 · 6 comments · Fixed by #20906
Milestone

Comments

@mingfang
Copy link

I'm building a provider for Kubernetes and am getting this error

>terraform providers schema -json

Error: Failed to retrieve schema from provider "k8s": rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4377699 vs. 4194304)

It looks like I'm hitting the default max here https://github.com/grpc/grpc-go/blob/3910b873d3af01925d2ab2820206eae340541df5/clientconn.go#L92

Please either increase the max or give me a cli/env option to increase it.

@mingfang
Copy link
Author

mingfang commented Apr 2, 2019

confirm fixed

@zegl
Copy link

zegl commented May 23, 2019

I'm getting this error on 0.12:

$ ./terraform version
Terraform v0.12.0
+ provider.archive v1.2.2
+ provider.aws v2.11.0
+ provider.local v1.2.2
+ provider.null v2.1.2
data.local_file.compiled_func: Refreshing state...

Error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (25532983 vs. 4194304)

@LarsFronius
Copy link

I'm seeing the same - am wondering if it's due to me moving to the new terraform remote backend.

@apparentlymart
Copy link
Contributor

Hi @zegl!

Although the symptom looks similar, it seems that you've hit a problem in a different part of Terraform than where this was originally found. Could you please open a new issue for that and include the information requested by the new issue template? That way we can hopefully figure out which subsystem is generating the error.

@pawelsocha
Copy link

@apparentlymart What about grpc provisioner? In #20906 changes only client-side.

@ghost
Copy link

ghost commented Jul 24, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants