firebase-admin-python
firebase-admin-python copied to clipboard
Requests incredibly slow on PiZero (Arm)
Hello,
I have been using firebase on pizero since 1st of Jan 2017 and it worked perfectly up until the day before yesterday.
I was using the pyrebase library, which is no longer supported and has reached end of life. The symptoms would be that the program will just hang.
I thought it was because of the library, so I have updated to python3.7 and installed the admin sdk (which took 4h to build for ARM)
All good, but now I think it suffers from the same issue. Whenever I do a get: db.reference('/collection').order_by_key().limit_to_last(1)
It takes at least 5 mins to get one record back.
Any help would be highly appreciated.
Apologies for not following the template, I am typing from my phone.
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
If you're seeing the same (or similar) issue with both libraries, and if it started happening out of the blue 2 days ago, it might be an issue with the network or the hardware itself. Pyrebase may be no longer maintained, but I'd still expect the released versions to work without a glitch. Perhaps you should enable debug logs for Python and see where the delay is.