homebridge / homebridge-syno-spk

Homebridge Package for Synology DSM 7.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPv6 and/or HomeKit Accessory Security -> registry.npmjs.org timeout

TroyG-Aus opened this issue · comments

Analysis

I've getting the following error ever since I upgrade to 3.0.17 of the package.
[8/23/2023, 7:03:57 PM] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://homebridge.io/w/JJSz6 for help.

This started happening once I upgraded my previous 3.0.9 to node.js v18 (I restored to a fresh install of the package to fix it at the time), and again when I upgraded to 3.0.17. (I had no issues with node.js v16.)

Additionally, the Plugin page would not load - I assume because of the same connection issue.

Expected Behavior

Successfully connect to registry.npmjs.org
Plugin page loads

Steps To Reproduce

I'm not sure exactly what fixed it, because I wasn't rigorous in my rebooting of the NAS, but the two settings I've played around with were...

  1. Disable IPv6 in the Synology Control Panel
  2. Disable HomeKit Security for my Homebridge Hub in the Apple Home app (Home Settings -> Wi-Fi Network & Routers -> homebridge.io Bridge -> No Restriction)

Once I changed those settings AND did a full reboot of the NAS, things have been stable.

At this time, I have not rigorously tested all combinations of the above settings, but happy to if that would help.

Logs

`[8/23/2023, 7:03:57 PM] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://homebridge.io/w/JJSz6 for help.`

Configuration

{
    "accessories": [
        {
            "name": "Good Morning",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "reverse": false,
            "name": "Dinner Time",
            "resettable": false,
            "stateful": false,
            "accessory": "DummySwitch",
            "time": 1000
        },
        {
            "reverse": false,
            "name": "Movie Time",
            "resettable": false,
            "stateful": false,
            "accessory": "DummySwitch",
            "time": 1000
        },
        {
            "name": "Good Night",
            "stateful": false,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "Security System",
            "serial_number": "xxx",
            "default_mode": "Off",
            "arm_seconds": 0,
            "trigger_seconds": 0,
            "reset_minutes": 10,
            "save_state": false,
            "proxy_mode": false,
            "test_mode": false,
            "override_off": false,
            "reset_off_flow": false,
            "double_knock": false,
            "double_knock_seconds": 90,
            "double_knock_modes": [
                "Away"
            ],
            "tripped_sensor": false,
            "tripped_sensor_seconds": 5,
            "siren_sensor": false,
            "siren_sensor_seconds": 5,
            "reset_sensor": false,
            "mode_switches": true,
            "mode_off_switch": true,
            "mode_away_extended_switch": false,
            "mode_pause_switch": false,
            "pause_minutes": 0,
            "arming_lock_switch": false,
            "arming_lock_switches": false,
            "siren_switch": false,
            "siren_override_switch": false,
            "siren_mode_switches": true,
            "audio_switch": false,
            "audio": false,
            "audio_language": "en-US",
            "audio_volume": "100",
            "audio_arming_looped": false,
            "audio_alert_looped": false,
            "accessory": "security-system"
        },
        {
            "name": "Security Home Delay",
            "delay": 5000,
            "sensorType": "motion",
            "flipSensorState": false,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Pushover Messenger",
            "services": {
                "pushover": {
                    "user": "xxx",
                    "token": "xxx"
                },
                "email": {
                    "smtpPort": 8080
                }
            },
            "messages": [
                {
                    "name": "Pushover Test Message",
                    "type": "pushover",
                    "text": "This is a Level 2 Test message",
                    "priority": 2,
                    "sound": "pushover"
                }
            ],
            "accessory": "HomebridgeMessenger"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "auto",
            "sessionTimeout": 172800,
            "platform": "config"
        },
        {
            "name": "Alexa",
            "username": "xxx",
            "password": "xxx",
            "pin": "xxx",
            "routines": false,
            "blind": false,
            "door": false,
            "debug": false,
            "refresh": 7200,
            "deviceListHandling": "allow",
            "deviceList": [
                "Good Morning",
                "Good Night",
                "Dinner Time",
                "Movie Time",
                "Lounge Wall Lamps",
                "Lounge Ceiling Fixture"
            ],
            "platform": "Alexa"
        },
        {
            "username": "xxx",
            "password": "xxx",
            "disableFan": false,
            "disableDry": true,
            "ignoreHomeKitDevices": false,
            "enableSyncButton": false,
            "syncButtonInAccessory": false,
            "enableOccupancySensor": false,
            "enableClimateReactSwitch": false,
            "enableHistoryStorage": false,
            "disableHorizontalSwing": false,
            "disableLightSwitch": true,
            "externalHumiditySensor": false,
            "allowRepeatedCommands": false,
            "debug": false,
            "platform": "SensiboAC"
        },
        {
            "name": "Shelly",
            "admin": {
                "enabled": true
            },
            "platform": "Shelly"
        },
        {
            "platform": "NotifyEvents",
            "action": {
                "enabled": false,
                "listen": "0.0.0.0",
                "port": 53535,
                "host": "",
                "path": "/"
            },
            "channels": [
                {
                    "title": "Bosisto Notifications",
                    "token": "xxx",
                    "messages": [
                        {
                            "name": "Test Notify.Events Switch",
                            "title": "This is a test message",
                            "text": "Priority :Highest and Level: Warning",
                            "priority": "highest",
                            "level": "warning",
                            "images": [],
                            "files": [],
                            "actions": []
                        }
                    ]
                }
            ]
        }
    ],
    "bridge": {
        "pin": "xxx",
        "name": "Homebridge",
        "advertiser": "ciao",
        "username": "xxx",
        "port": 51635
    },
    "disabledPlugins": [
        "@milo526/homebridge-tuya-web",
        "homebridge-tplink-smarthome",
        "homebridge-gsh",
        "@switchbot/homebridge-switchbot"
    ]
}

Environment

  • OS: DSM 7.2-64570 Update 1
  • Software: Homebridge Synology package 3.0.17
  • Node: v18.15.0
  • npm: 9.6.7

DiskStation DS418 (Realtek RTD1296 SoC)
IPv6 Enabled / Auto
Eero-based network with IPv6 turned on (latest version)
HomeKit Security enabled

Process Supervisor

hb-service

Additional Context

No response

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.