Comments (19)
It works, Thanx
from node-red-contrib-smartnora.
I was going to give you all the information but you've already manage to fix it!
Thanks a lot Andrei!
All is working as intended,
I will still try to update to bookworm so I can keep the last version of node.js
Again I'll appreciate what you have done!
from node-red-contrib-smartnora.
@Shikaban can you post full logs?
It seems like there's an issue with the network/internet access on your machine and nora can't access the internet:
from node-red-contrib-smartnora.
After updating from 1.20.0 to 1.21.0 im also not able to authenticate.
12/1/2023, 7:51:29 PM
msg : string[67]
"nora: FirebaseError: Firebase: Error (auth/network-request-failed)."
I am able to login https://smart-nora.eu/my-nora
Maybe something to do with google 2FA?
from node-red-contrib-smartnora.
After reverting to1.20.0 tried to login via nora config node. The "link account" shows "instance unknown to link" See screenshot below.
from node-red-contrib-smartnora.
After reverting to1.20.0 tried to login via nora config node.
Even for me the same popup after I click ok it's going in a loop where is not logging in , same for me unknokwn appear.
from node-red-contrib-smartnora.
@Shikaban can you post full logs?
It seems like there's an issue with the network/internet access on your machine and nora can't access the internet:
Hi andrei yes I will share it as soon il get back to my home that screenshot was taken from my iPhone as I was out of my home for work, when I'm back i will share better photo , the account is a premium account and the subscription is active with a renew at 3º of this month.
Just give me like 15 hours I'm going to take-off in this moment
from node-red-contrib-smartnora.
My user id:
vqIWAc8vGpSiquZ6GEozbtuposm1
from node-red-contrib-smartnora.
@Shikaban it's not clear to me what is happening. Have you been able to check the internet access on the device you're running node-red on? The error is the same (network-request-failed).
Can you try pinging identitytoolkit.googleapis.com
(eg: ping identitytoolkit.googleapis.com
).
Do you have any firewall rules setup or something else that could block the network traffic to the node-red instance?
from node-red-contrib-smartnora.
After reverting to1.20.0 tried to login via nora config node. The "link account" shows "instance unknown to link" See screenshot below.
This might be related to the browser you're using and shouldn't impact the login. What browser/os are you using?
from node-red-contrib-smartnora.
@Shikaban it's not clear to me what is happening. Have you been able to check the internet access on the device you're running node-red on? The error is the same (network-request-failed).
Can you try pinging
identitytoolkit.googleapis.com
(eg:ping identitytoolkit.googleapis.com
).Do you have any firewall rules setup or something else that could block the network traffic to the node-red instance?
Yes I've disabled the pihole that I was using just to be sure but all of that happened after I've updated to the last version, I was using the 1.18.2 for a while so I've just updated firstly to the 1.20 and after to the 1.21 as it wasn't working.
Internet is ok I've also tried to disable all the flow and create only one node with SmartNora but nothing.
Ping is ok
Also tried to link a new account just for testing purpose but still nothing.
Could I do something more for helping us finding the issue?
I will try to move from buster release to bookworm but I think I'll find the time on the next Saturday , living with a little daughter is a little hard 😆
from node-red-contrib-smartnora.
@Shikaban can you provide more info on the following:
- running on a Raspberry Pi?
- running debian buster?
- node.js version?
- node-red version?
- is this a new setup and it's not working or on the same setup you have now, it worked before?
- what region of the globe are you in? Italy?
- is there any other detail in the node-red logs? (if you run
sudo journalctl -u nodered -S yesterday > nodered_logs_1day.txt
and send over the filenodered_logs_1day.txt
- maybe over email).
from node-red-contrib-smartnora.
After reverting to1.20.0 tried to login via nora config node. The "link account" shows "instance unknown to link" See screenshot below.
This might be related to the browser you're using and shouldn't impact the login. What browser/os are you using?
Hi Andrea,
I used 2 chrome and firefox.
The 'unknown' is replaced by the local node-red ip when i ''Clear cookies and site data...". But that does not resolve the issue as you stated.
Used ping to check internet access on the PI. That is ok.
Removed "node-red-contrib-smartnora" node from node-red including the global node configuration.
Reinstalled version 1.21.0 and repeated the smart nora twice whith 2 accounts.
From log "nodered_logs_1day.txt"
Dec 03 11:03:49 raspberrypi Node-RED[324]: [2023-12-03T10:03:49.090Z] @firebase/auth: Auth (10.7.0): INTERNAL ASSERTION FAILED: Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill
Dec 03 11:03:49 raspberrypi Node-RED[324]: 3 Dec 11:03:49 - [error] nora: FirebaseError: Firebase: Error (auth/network-request-failed).
No Solution yet. Do you have any ideas?
from node-red-contrib-smartnora.
@jvdpas - if you could also provide answers to the same questions as above:
- running on a Raspberry Pi?
- running debian buster?
- node.js version?
- node-red version?
- is this a new setup and it's not working or on the same setup you have now, it worked before?
- what region of the globe are you in? Italy?
- is there any other detail in the node-red logs? (if you run
sudo journalctl -u nodered -S yesterday > nodered_logs_1day.txt
and send over the filenodered_logs_1day.txt
- maybe over email).
from node-red-contrib-smartnora.
- yes
- NO "Raspbian GNU/Linux 9 (stretch)"
- Node.js v14.21.0.
- 3.0.2: Maintenance Release
- It was a working setup (in use a few years)
- No netherlands
- snip from log
Dec 03 11:02:37 raspberrypi Node-RED[324]: [2023-12-03T10:02:37.479Z] @firebase/auth: Auth (10.7.0): INTERNAL ASSERTION FAILED: Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill
Dec 03 11:02:37 raspberrypi Node-RED[324]: 3 Dec 11:02:37 - [error] nora: FirebaseError: Firebase: Error (auth/network-request-failed).
from node-red-contrib-smartnora.
@jvdpas I think the problem is the one you highlighted in the logs:
Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill
.
I was able to reproduce it using the versions you're running. I think the actual problem is the old npm version shipped with node 14.
I'm looking into a fix.
The fastest fix for you would probably be to update node.js to v18 or v20.
from node-red-contrib-smartnora.
@jvdpas @Shikaban
I've published node-red-contrib-smartnora
version 1.21.4
(you can install it by running, inside .node-red
folder: npm install [email protected]
).
The issue was caused by the latest firebase package version. I fixed it to 10.6
and that fixed the issue.
from node-red-contrib-smartnora.
@jvdpas @Shikaban I've published
node-red-contrib-smartnora
version1.21.4
(you can install it by running, inside.node-red
folder:npm install [email protected]
).The issue was caused by the latest firebase package version. I fixed it to
10.6
and that fixed the issue.
Hi Andrei, Thanx nohting else to say ;-)
from node-red-contrib-smartnora.
I was going to give you all the information but you've already manage to fix it! Thanks a lot Andrei! All is working as intended, I will still try to update to bookworm so I can keep the last version of node.js
Again I'll appreciate what you have done!
Hi Shikaban, could you please close the ticket. ThanX
from node-red-contrib-smartnora.
Related Issues (20)
- Not able to connect smart nore with google home HOT 5
- I have an issue while using NORA HOT 8
- I have an issue while using NORA HOT 7
- I have an issue while using NORA HOT 3
- I have an issue while using NORA HOT 3
- I have an issue while using NORA HOT 1
- I have an issue while using NORA HOT 1
- All my SMART Nora devices keep showing up in offline status HOT 4
- I have an issue while using NORA HOT 3
- I have an issue while using NORA HOT 1
- Thermostat "on" mode not working. HOT 7
- Doorbell does not work HOT 5
- I have an issue while using NORA HOT 3
- I have an issue while using NORA HOT 5
- Migración de node-red de Windows a raspberry pi HOT 4
- I have an issue while using NORA HOT 4
- I have an issue while using NORA HOT 3
- Issue with update HOT 8
- Security node issue HOT 4
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 node-red-contrib-smartnora.