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 pubsub missing scope error #2908

Closed
daspecster opened this issue Dec 29, 2016 · 1 comment · Fixed by #2909
Closed

gRPC pubsub missing scope error #2908

daspecster opened this issue Dec 29, 2016 · 1 comment · Fixed by #2909
Assignees
Labels
api: pubsub Issues related to the Pub/Sub API. grpc

Comments

@daspecster
Copy link
Contributor

It appears that something changed in gRPC.

Exception google.auth.exceptions.RefreshError: RefreshError('invalid_scope: Empty or missing scope not allowed.', u'{\n  "error" : "invalid_scope",\n  "error_description" : "Empty or missing scope not allowed."\n}') in 'grpc._cython.cygrpc.plugin_get_metadata' ignored

Reference: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python/builds/187483537#L2101

Running $ tox -e system-tests -- pubsub yields the same results.

However running $ GOOGLE_CLOUD_DISABLE_GRPC=true tox -e system-tests -- pubsub allows the tests to pass.

@daspecster daspecster added grpc api: pubsub Issues related to the Pub/Sub API. labels Dec 29, 2016
@dhermes
Copy link
Contributor

dhermes commented Dec 29, 2016

That error is not in gRPC, it's in the auth code. For some reason the credentials aren't scoped. Might be related to #2870 or #2874 (I am author of both)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. grpc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants