Replies: 5 comments 3 replies
-
You have to update your Firebase host certificate in your board. Add your host database host e.g. https://support.arduino.cc/hc/en-us/articles/360016119219-Upload-SSL-root-certificates |
Beta Was this translation helpful? Give feedback.
-
Hello @GarethLHS and @mobizt , I tried adding I am not totally clear what URL to put to fetch SSL certificate. Also I observed whenever my certificate is uploaded successfully my arduino disconnects from IDE on its own, if that is indication to any other issue. |
Beta Was this translation helpful? Give feedback.
-
You can update firmware and add the SSL certificate again. |
Beta Was this translation helpful? Give feedback.
-
I updated the firmware successfully and uploaded |
Beta Was this translation helpful? Give feedback.
-
Resolved! I was in the assumption that the email id and password asked were only related to my firebase signing. Thank you for the prompt response @mobizt and helping me. |
Beta Was this translation helpful? Give feedback.
-
I complete the pre requisites. Firebase console create real-time database create copy API create Auth user and allow anonymous.
I open the Arduino development environment use the example from File --> FirebaseClient --> RealTimeDatabase --> Async --> Get
Firebase version I'm using 1.1.5 I update; WIFI_SSID,WIFI_PASSWORD,API_KEY,USER_EMAIL,USER_PASSWORD, DATABASE_URL
I'm just requesting Database.get(aClient, "/test", asyncCB); I've commented out the other get requests. In my Firebase real time database I have /test setup with 1 as a value.
Anyone else having any issues with the Arduino MKR WiFi 1010 board?
Connecting to Wi-Fi
Connected with IP: 10.227.171.101
Firebase Client v1.1.5
Initializing app...
Event task: task_ms_2165, msg: authenticating, code: 7
Debug task: task_ms_2165, msg: Connecting to server...
Event task: task_ms_2165, msg: auth request sent, code: 8
Event task: task_ms_2165, msg: error, code: 11
Debug task: task_ms_2165, msg: Terminating the server connection...
Error task: task_ms_2165, msg: TCP connection failed, code: -1
Event task: task_ms_37012, msg: authenticating, code: 7
Debug task: task_ms_37012, msg: Connecting to server...
Event task: task_ms_37012, msg: auth request sent, code: 8
I set my database rules as
{
"rules": {
".read": true,
".write": "auth != null"
}
}
Beta Was this translation helpful? Give feedback.
All reactions