coldfire84 / node-red-alexa-home-skill-v3-web

Web Service/ API for Alexa and Google Home Node-RED Smart Home Control

Home Page:https://red.cb-net.co.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: certificate has expired

Fernando-Checa opened this issue · comments

Describe the bug
lots of messages like this.
II tried to redeploy the nodes but no fix yet.

Log Output
`7 Mar 10:07:06 - [warn] [alexa-smart-home-v3-conf:0a407f1bc09a3464] Re-connecting to Alexa/ Google Home Skill MQTT server: mq-red.cb-net.co.uk, account username: xxxxxx

7 Mar 10:07:06 - [error] [alexa-smart-home-v3-conf:0a407f1bc09a3464] Error: certificate has expired`

Environment (please complete the following information):

  • Node-RED node version:
    3.0.2

I can ping both servers just fine:

PING mq-red.cb-net.co.uk (178.79.148.16) 56(84) bytes of data.
64 bytes from li268-16.members.linode.com (178.79.148.16): icmp_seq=1 ttl=53 time=35.6 ms
PING red.cb-net.co.uk (172.67.131.163) 56(84) bytes of data.
64 bytes from 172.67.131.163 (172.67.131.163): icmp_seq=1 ttl=56 time=25.9 ms

Also restarted Nodered, the whole machine and even changed my password on the website to update the node.

But still not working

Also tried to clear tokens and relinking the skill...

Same problem here since some hours:

The skill does not work anymore the nodes are disconnected and try to reconnect regularly but they do not succeed.
For a long time nothing has changed on the own server or the flows, so I assume a problem with the service server.
I hope someone can fix this, because the service has worked excellent so far.

Debug Messages from NodeRed:

7.3.2023, 13:45:25node: 2477ed594d34bee6msg : string[103]
"Re-connecting to Alexa/ Google Home Skill MQTT server: mq-red.cb-net.co.uk, account username: XXXXX"
7.3.2023, 13:45:25node: 2477ed594d34bee6
msg : error
"Error: certificate has expired"

commented

Same problem here.

Ditto. Also tried deleting tokens and re linking.

same here

now it has changed to:

Error: connect ECONNREFUSED 178.79.148.16:8883

nodered log:

`7 Mar 20:33:22 - [warn] [alexa-smart-home-v3-conf:0a407f1bc09a3464] Re-connecting to Alexa/ Google Home Skill MQTT server: mq-red.cb-net.co.uk, account username: xxxxxx

7 Mar 20:33:23 - [error] [alexa-smart-home-v3-conf:0a407f1bc09a3464] Error: connect ECONNREFUSED 178.79.148.16:8883

7 Mar 20:33:23 - [error] [alexa-smart-home-v3-conf:0a407f1bc09a3464] Error: connect ECONNREFUSED 178.79.148.16:8883`

I’m on it. Bear with me.

Take your time.
If you need any help, tests or logs just ask.

if you need help tell us

This should now be resolved. Still trying to get to the bottom of what happened --> cert renewed automatically, as expected, but this led to some users not being able to connect. Inconsistent results across different groups of users, always makes RCA hard.

I have reset certs across the stack (hence some of the downtime tonight - first real outage in years 😭).

.Thanks a lot , I confirm that all are ok now.

Good job !!!!

Seems resolved from here as well.
Thanks so much for your time

I have refactored the cert-renewal hook scripts this evening, I am hopeful this should solve/ prevent a reoccurrence of the issue.