Error pushing data to Firestore #171
-
First of all thank you for the awesome library . I am using the updateDocument.ino sketch , with UserAuth , but I am getting this errror continuously. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
The SSL client e.g. You have to debug it yourself why it cannot access to Googe API server. The possible reason is your network Firewall blocking. Please reset your router or change the network. Another cause is your device and code. If your board crashed and reboot repeatedly and your device is trying to connect to server repeatedly then crash. The DDoS prevention of server may block your server access, please remove the code that connected to WiFi and debug your code to fix the crash and resume the WiFi connection. In case of device crashed due to memory issue in ESP8266, please select the proper Heap by follow this documentation. |
Beta Was this translation helpful? Give feedback.
-
Like in your examples you are using UserAuth for authentication , can we use ServiceAuth or other type of auths as well correct ?. |
Beta Was this translation helpful? Give feedback.
-
As I told you, It performs the networking work, and it used to connect to To connect to internet without Firewall and proxy server, you should use your mobile hotspot as AP. You should create your own simple code to test the internet access by using |
Beta Was this translation helpful? Give feedback.
-
The Firebase authentication and server time are not involved because we are talking about the |
Beta Was this translation helpful? Give feedback.
-
Did your country was blocked by Google? I never face this problem in all my corporate, mobile and home Fiber networks from my internet service provider in my country. |
Beta Was this translation helpful? Give feedback.
-
No , the country is not blocked by Google Apis , I am in India . |
Beta Was this translation helpful? Give feedback.
As I told you,
WiFiClientSecure
was defined on the user code side.It performs the networking work, and it used to connect to
googleapis.com
via port 443. The http code403 forbidden
SHALL not return by googleapis. It returns from some middleware not a real googleapis.com server.To connect to internet without Firewall and proxy server, you should use your mobile hotspot as AP.
You should create your own simple code to test the internet access by using
WiFiClientSecure
to connect to the secure server e.g. google.com or github.com via port 443.