Comments (5)
I don't know.
You should debug it yourself.
You can use ping to check internet status.
from firebase-esp8266.
i made the question to ask if there can be some issues to have both functions at the same time, both are callback and both are in background working, so maybe they cannot work at the same time, that should explain why it works when the stream callback is alone.
from firebase-esp8266.
In ESP8266, the stream will be processed repeatedly in schedule functions then it should not have conflicts with others.
I can be memory issue.
You can use Firebase.runStream();
in loop to execute all stream tasks manually. The result will send to the Stream callback functions.
from firebase-esp8266.
ok i solved it! it was a payload size issue, thanks you so much. I have other question, sorry for being annoying, sometimes the token generation says something like "Token error: code: -135, message: NTP server time synching failed", how can i retry until i get token status = ready by code? i would like to avoid the system to continue working until the token part is ready, otherwise maybe restart the ESP to try again
from firebase-esp8266.
When server or root certificate was assigned (in ESP8266 only) or the auth method is access or custom token, library required valid time for certificate validation and jwt token signing.
If time was not set or synch when Firebase.begin
was called, library will get the time from NTP server. This process may fail and reports the error for letting you know what's going on. The library will try to send new request to NTP sever every 10 seconds when no response from NTP server.
The Firebase.ready()
reurns false during this. You can set your device time using configTime
function and wait until your device time was set before calling Firebase.begin
then the internal time synching process will be ignored.
from firebase-esp8266.
Related Issues (20)
- help me, error compiling/uploading HOT 3
- Sending PushJSON syntax to log data always failed while streaming. HOT 3
- error: 'SDFSConfig' does not name a type HOT 1
- getJSON returns unknown error HOT 1
- BUG id token (GITKit token), status = error HOT 3
- ESP8266 is crashing while writing to firebase realtime database HOT 6
- ESP8266 is crashing while writing to firebase realtime database HOT 5
- soft wdt reset issue in esp8266 HOT 1
- I'm trying to read this data HOT 2
- WiFiClientSecure issue HOT 6
- Get Token status HOT 1
- issuse HOT 14
- BUG Token info: type = id token (GITKit token), status = on request HOT 1
- PLEASE HELP HOT 3
- [HELP] Cannot connect esp8266 and firebase. Compilation error: invalid conversion from 'int' to 'FirebaseConfig*' {aka 'firebase_cfg_t*'} [-fpermissive] HOT 1
- I've been getting a connection refused after a few seconds
- I've been getting a connection refused after a few seconds after connection to firebase HOT 1
- HELP : Executed HTTPS and connection Firebase HOT 2
- HELP :: captivePortal and firebase connection HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-esp8266.