Skip to content

firestore, bigquery, Others? ('_RSAPrivateKey' object has no attribute 'sign') #4867

@fgervais

Description

@fgervais

It looks like the new version of google-auth released 2 days ago is causing an issue with at least firestore and bigquery which is the ones I've tested.

Here's the stack trace for firestore:

File "/home/fgervais/tensorflow_21_nov_2017/lib/python3.5/site-packages/google/cloud/firestore_v1beta1/query.py", line 588, in get
for index, response_pb in enumerate(response_iterator):
File "/home/fgervais/tensorflow_21_nov_2017/lib/python3.5/site-packages/grpc/_channel.py", line 347, in next
return self._next()
File "/home/fgervais/tensorflow_21_nov_2017/lib/python3.5/site-packages/grpc/_channel.py", line 341, in _next
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Getting metadata from plugin failed with error: '_RSAPrivateKey' object has no attribute 'sign')>

pip3 install google-auth==1.3.0 solves the problem.

It might be specific to the way I instantiate the client I'm not sure.
I'm using:

db = firestore.Client.from_service_account_json(
    "firebase-adminsdk.json")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions