-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection refused on example code #7
Comments
Never mind! My firmware was outdated. After trying for over 2h I just found out.... Maybe it's a good idea to mention this either in the error message or here in the docs :) |
Ok thanks |
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. |
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. |
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? |
@InnerWar01 Click add domain button and add your project host myproject-default-rtdb.europe-west1.firebasedatabase.app |
Uploaded the certificate but still get a connection refused. |
@InnerWar01 Make sure access point is for 2.4G WiFi instead of 5G. |
I'm using a mobile hotspot, it says the broadcast channel uses 2.4GHz and the MKR1000 appears as connected devices. |
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. |
Must be a hardware issue then, thanks for the help! |
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, |
Hi, I get a connection refused on the example code (basic). I filled in my project id, database secret (tested) and wifi data. The MKR1000 connects to wifi and is listed at the router.
Any idea how I can debug this? I use version 1.1.3
The text was updated successfully, but these errors were encountered: