-
Notifications
You must be signed in to change notification settings - Fork 492
Connection with firebase 2/27/2020 #476
Comments
I have the same problem |
Me,too. |
I have same problem too. What happen could be? |
Be aware that Firebase's fingerprint has changed again... |
@hugolimachaves thank you. It works |
Hi, |
@danilomna They can't connect your firebase account. You must update them. |
@ucar19 then this is a terrible issue for a commercial IoT device. Let's say that have thousands and thousands sold and installed in customers house, would be a nightmare. |
@danilomna You had to set update system (OTA). After set you can update when you need. |
Works. Thanks a lot |
Guys, who wants to get the right fingerprint, you need to go in this website [https://www.grc.com/fingerprints.htm] and type the url database from your (or any) project (it is the same code for all). |
@Decezaris that was I´m afraid off, so doesn´t matter the project url fingerprint is always same code to any project. That is pretty bad to IoT devices in field that were programmed with previous fingerprint and will stop working. |
@ucar19, that would be a lot of work, and anyway will cause IoT devices stop working for a while. |
Guys, Problems solved!!! Forget about firebase fingetprint changes forever!!! Use this and only this library avaliable on arduino library manager: Firebase ESP8266 Client. An amazing project from @mobizt |
but the fingerprint still in firebase-arduino-master library |
Hi, I asked @mobizt about this here: https://github.com/mobizt/Firebase-ESP8266/issues/88#issuecomment-592960574 And you can see it confirmed is not fingerprint dependent that for him is unacceptable, because this he designed this library, take a look there. |
many thanks for your clarify, it mean that fire base not stop work with this library even using firebase-arduino library? |
@HusseinSR It uses a hard-coded fingerprint to compare with server (Firebase) fingerprint before sending any request if they do not match, the connection was canceled. The fingerprint is the unique identifier of the server's certificate. If the SSL certificate of the server (Firebase for this case) has been renewed or replaced due to expired, the fingerprint of that certificate will be changed too. Read this issue. |
@mobizt what everybody wants to heard from you is you confirming using your library "Firebase ESP8266 Client" in the IoT device it will not stop working anymore when fingerprint change in future. Could you kindly confirm that? |
My library works in different approaches to communicate with Firebase. The fingerprint is not secure and not recommended. |
I am a bit disappointed that this library is not moving forward at all for past 12 months. You can change in your arduino core library to disable the verification, but this is not recommended. I did some work and attempt to improve this last year by checking the root certificate, which it is not suppose to be change frequently and you will have to past in few more parameters to reduce memory usage, I suppose (not verified) it is similar to @mobizt 's solution . Haven't got much time doing it lately but if anyone wants to test/improve from here, I am happy anyone wants it. it is not very stable as the memory would be running out from time to time. The fork is under https://github.com/yhua537/firebase-arduino. I am using this with arduino core 2.5.0, earlier version doesn't work as the memory issue. Will check out @mobizt 's solution when I have time. |
@yhua537 User needs to learn before use. |
Yes, notice that. but your approach on using root cert is very similar, but you are using axtls but mine is forcing to use BearSSL. |
@yhua537 Don't conclude about my library If you don't test it. |
@mobizt Mine has all kind of problem that the current main fork has, but workable for me since June last year. Putting it out there and hoping someone can improve. |
@yhua537 I investigate your library and found you use token that you named refresh token instead of database secret which differs from the original one. If you want to create the custom token for Firebase authentication, jwt is the better way. The mbedTLS (ported to ESP32) has a tool to encrypt this token. |
the first the second i try to use your library in my project without change of the structure of firebase code but is get what is code in your library to get or set value for this examble |
@HusseinSR |
@mobizt I would love to get JWT working with Json/flutter, but with my current setup with ESP8266, it is limiting me from taking on more libraries. Yes, that may kill my setup and force me to move to ESP32 in near future as I am not mentally ready to throw away my 12 ESP-01 yet. |
Changing fingerprint worked for me |
We know if changes will work, but that is not the point, we dont want to be fingerprint dependant anymore. Because this @mobizt is very interesting. |
yes i understood that, but excuse me i still beginner my i build my project IOT since one year ago, and it was working with old library by read/update values by using simple structure as mention above |
can you help me by simple code for on/off led for example by new Firebase i using simple android app created by MIT inventor to do that bey old Firebase library |
@HusseinSR For your simple needs.
|
many many thanks, now it is match with my project and working ..... :) :) |
Hi, I'm using ESP8266 and have just updated my firebase fingerprint but the esp still not connecting to the firebase. Any idea? I'm very new to this. tx |
Unable to connect my ESP8266 to firebase realtime database. But till yesterday the system was working fine
The text was updated successfully, but these errors were encountered: