mobizt / Firebase-ESP32

[DEPRECATED]🔥 Firebase RTDB Arduino Library for ESP32. The complete, fast, secured and reliable Firebase Arduino client library that supports CRUD (create, read, update, delete) and Stream operations.
MIT License
415 stars 118 forks source link

stream begin error, unknown error #265

Closed 6N5tr closed 1 year ago

6N5tr commented 1 year ago

Im using this one...

https://github.com/mobizt/Firebase-ESP32/blob/master/examples/ExternalClient/WiFi/StreamCallback/StreamCallback.ino

but it doesnt work... two weeks ago with the same code it works perfectly but now it doesnt... Im using a stream callback with testmode authentication.

For reproduce it... just try to use the code of the example. Need help. Thanks.

Im working with: esp32 visual studio code PlatformIO IDE. Firebase Client v4.3.5

Serial Monitor shows:

Connecting to Wi-Fi........ Connected with IP: xxx.xxx.xxx.xxx Connected!

stream begin error, unknown error

mobizt commented 1 year ago

Nothing I can do because of server issue.

You should use authentication and follow Google recommendation. Google may stop the services for this kind of usage as policy violation.

6N5tr commented 1 year ago

Well I just want to test this example withouth auth but im gonna try with auth and give feedback about this new try.

mobizt commented 1 year ago

Please check the library installation. You should uninstall all Firebase libraries that found in libraries folder.

The Arduino IDE library installation from zip download and Library Manager updates causes the libraries in different version install in different folders that leads to error during compile and run.

After delete all, install the latest version from Library Manager.

6N5tr commented 1 year ago

Please check the library installation. You should uninstall all Firebase libraries that found in libraries folder.

The Arduino IDE library installation from zip download and Library Manager updates causes the libraries in different version install in different folders that leads to error during compile and run.

After delete all, install the latest version from Library Manager.

Feedback from test with auth: In the new version you cant use streamcallback for esp32 withouth auth or testmode. It works like two weeks ago but this one needs auth now.

mobizt commented 1 year ago

You still can use test mode for RTDB but it's not recommended. There's nothing limit for auth and no-auth functional, but you need to check the library installation issue that I replied above.