Git Product home page Git Product logo

Comments (12)

crysxd avatar crysxd commented on June 24, 2024 1

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.

mobizt avatar mobizt commented on June 24, 2024 1

@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.

mobizt avatar mobizt commented on June 24, 2024

Ok thanks

from firebase-arduino-wifi101.

InnerWar01 avatar InnerWar01 commented on June 24, 2024

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.

mobizt avatar mobizt commented on June 24, 2024

@InnerWar01

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.

InnerWar01 avatar InnerWar01 commented on June 24, 2024

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.

InnerWar01 avatar InnerWar01 commented on June 24, 2024

Uploaded the certificate but still get a connection refused.

from firebase-arduino-wifi101.

mobizt avatar mobizt commented on June 24, 2024

@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.

InnerWar01 avatar InnerWar01 commented on June 24, 2024

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.

mobizt avatar mobizt commented on June 24, 2024

@InnerWar01

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.

InnerWar01 avatar InnerWar01 commented on June 24, 2024

Must be a hardware issue then, thanks for the help!

from firebase-arduino-wifi101.

gachet avatar gachet commented on June 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.