Getting kFirebaseFingerprint Error
Karandalwani opened this issue ยท 39 comments
C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^
In file included from C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\Karan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
166 | bool begin(String host, uint16_t port, String uri = "/") attribute ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
| ^~~~~
C:\Users\Karan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\Karan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
167 | bool begin(String url, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ^~~~~
C:\Users\Karan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\Karan\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\Karan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Bro, Yesterday I got the same kinda error that got solved by doing the following.
you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Bro, Yesterday I got the same kinda error that got solved by doing the following.
you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Thank you @YashHajare, it's working
Bro, Yesterday I got the same kinda error that got solved by doing the following.
you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Thankyou so much @YashHajare , this is the only reply that solved my problem.
thankyou so much, its very helpfull
thanks a lot bro its working
@YashHajare its very helpfull
@YashHajare life saver thank you so much man
thank you @YashHajare
Thank You SOOOOO MUCHHH @YashHajare
can any one please give me link of esp8266 2.7.X library
@yadavamitk221 go to Tools > board manager, find esp8266, then choose your version to install
ุงูู ุดูุฑ ูู ุตุฏููู ูุนูุง ุฌุจุชูุง .. ุงุดุชุบู ู ุนู ูุธุงู ู
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Hey thanks a lot, this really helped a lot
Hey thanks a lot, this really helped a lot
Using PlatformIO I couldn't find any 2.7.x version, but worked with 2.6.3! Thanks @YashHajare !
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Bro you the best, you solved my issue which with i was struggling for long. Keep up the good work of helping people out. Thanks @YashHajare !
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Respect bro.. Its working finally.
thaks
Thank you So much ! It worked.
you re great. i should have found this 1 messy hour before
Awesome..... It worked.... thanks a lot
Thankyou so much @YashHajare
esp8266 2.7.X' by the esp8266 community.
where can i install it?
how to change the version of esp8266
Superb thanks!
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
where i can install it??
please read previous comments: Tools > board manager, find esp8266, then choose your version to install
@YashHajare i just wanna say thank you brother. you are the best
@YashHajare Thank uuuuuuuu so much broo
Awesome bro. Thanks a lot @YashHajare
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
This worked !!! Thanks dude :)
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Solved my error, Thanks!
wooow thank you bro problem solved !
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
great thank you bro ,work is done!!
great thank you bro ,work is done!!
Wonderful, I appreciate your assistance, my friend. The task has been successfully completed!
Bro, Yesterday I got the same kinda error that got solved by doing the following. you might have installed 'esp8266 3.0.0', try changing it to 'esp8266 2.7.X' by the esp8266 community.
Thanks bro..saved my day