Comments (12)
Never mind! My firmware was outdated. After trying for over 2h I just found out....
If anyone has the same issue: https://www.arduino.cc/en/Tutorial/FirmwareUpdater
Maybe it's a good idea to mention this either in the error message or here in the docs :)
from firebase-arduino-wifi101.
@InnerWar01
https://www.arduino.cc/en/Tutorial/FirmwareUpdater#certificate-uploading
Click add domain button and add your project host myproject-default-rtdb.europe-west1.firebasedatabase.app
from firebase-arduino-wifi101.
Ok thanks
from firebase-arduino-wifi101.
Hi! I'm experiencing the same issue on the example code (connection refused). The firmware is updated to version 19.6.1 and the MKR1000 does connect to WiFi (it shows connected with IP...). I changed the database secret a couple of times still the same problem though.
from firebase-arduino-wifi101.
The library was test with my MKR1000 before I post this comment which it works normally without the problem.
Please try to upload certificate and also add the domain of your Firebase host.
from firebase-arduino-wifi101.
The Firebase host that I have is myproject-default-rtdb.europe-west1.firebasedatabase.app and for the certificate I am not sure which one to upload. Is it the authDomain?
from firebase-arduino-wifi101.
Uploaded the certificate but still get a connection refused.
from firebase-arduino-wifi101.
@InnerWar01
No internet connectivity, check your router or WiFi hotspot.
Make sure access point is for 2.4G WiFi instead of 5G.
from firebase-arduino-wifi101.
I'm using a mobile hotspot, it says the broadcast channel uses 2.4GHz and the MKR1000 appears as connected devices.
from firebase-arduino-wifi101.
Let try to update the WiFi101 library.
You must provide the valid host in FIREBASE_HOST e.g. myproject-default-rtdb.europe-west1.firebasedatabase.app without schemes (https://) and backslash at the end.
For FIREBASE_AUTH, try to renew your database secret from Firebase project console.
If you're still cannot connect, the issue is on your device hardware.
Try to change the shorter USB cable to provide more stable power.
from firebase-arduino-wifi101.
Must be a hardware issue then, thanks for the help!
from firebase-arduino-wifi101.
@InnerWar01 https://www.arduino.cc/en/Tutorial/FirmwareUpdater#certificate-uploading
Click add domain button and add your project host myproject-default-rtdb.europe-west1.firebasedatabase.app
Nice it works, thanks a lot, It would have been better to explain this in the Readme or in te comments of Basic example, Thanks again,
from firebase-arduino-wifi101.
Related Issues (10)
- Firebase_Arduino_WiFi101_HTTPCLient.h: The "L" in wifi client should not be capitalized HOT 1
- stream not Working HOT 3
- Readme Addition HOT 2
- push and set TIMESTAMPs HOT 9
- Connection Refused using an Arduino MKR1000 board HOT 2
- Error in the getInt example HOT 1
- checking connection and forcing reconnection HOT 1
- Getting bad request HOT 3
- Adafruit Feather M0 WiFi issue HOT 2
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-arduino-wifi101.