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

Firebase Firestore: RPC Deadline Exceeded #4769

Closed
kevmo314 opened this issue Jan 21, 2018 · 3 comments
Closed

Firebase Firestore: RPC Deadline Exceeded #4769

kevmo314 opened this issue Jan 21, 2018 · 3 comments
Assignees

Comments

@kevmo314
Copy link

Running on Windows 10, python 3.5.2

I also posted to StackOverflow but got no response...

Running the following code from the documentation:

docs = db.collection(u'cities').get()

for doc in docs:
    print(doc.id)

Results in the following unhelpful error 100% of the time:

Traceback (most recent call last):
  File "...", line 74, in <module>
    main()
  File "...", line 53, in main
    for doc in docs:
  File "/usr/lib/python2.7/site-packages/google/cloud/firestore_v1beta1/query.py", line 588, in get
    for index, response_pb in enumerate(response_iterator):
  File "/usr/lib/python2.7/site-packages/grpc/_channel.py", line 347, in next
    return self._next()
  File "/usr/lib/python2.7/site-packages/grpc/_channel.py", line 338, in _next
    raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded)>

To reproduce, create a new firestore database and just run that code.

@kevmo314
Copy link
Author

Also, writes seem to be working correctly, but all reads end up with that error message.

@kevmo314
Copy link
Author

Seems like this issue is related: microsoft/WSL#2657

I managed to successfully run the code on a real linux machine and in the native windows shell, but in WSL it fails miserably.

@theacodes
Copy link
Contributor

Yeah, I would guess that it's an issue with WSL. I'm going to go ahead and close this since it works on Linux and Windows, but feel free to comment or let us know if there's anything else we can do.

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

2 participants