grzegorz914 / homebridge-xbox-tv

Homebridge plugin for Microsoft Game Console, publish as independent external platform accessory.
MIT License
163 stars 15 forks source link

Device: 192.168.1.31 Xbox, Send connect request error: Read token error: TypeError: Cannot read properties of undefined (reading 'Token') #192

Closed aberthil closed 6 months ago

aberthil commented 6 months ago

Since the past few days a new error message is popping up even though I did not change my configuration at all. Any help would be great so that we can remove this error message. I am running the plugin as a child in homebridge

Here is my configuration { "bridge": { "name": "Homebridge 32DD", "username": "0E:44:64:DB:32:DD", "port": 51803, "pin": "214-42-102", "advertiser": "avahi" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "devices": [ { "name": "Xbox", "host": "192.168.1.31", "xboxLiveId": "FD00C4B70C15475F", "webApiControl": false, "getInputsFromDevice": false, "filterGames": false, "filterApps": false, "filterSystemApps": false, "filterDlc": false, "inputsDisplayOrder": 0, "buttons": [ { "namePrefix": false } ], "sensorPower": false, "sensorInput": false, "sensorScreenSaver": false, "sensorInputs": [ { "namePrefix": false } ], "webApiPowerOnOff": false, "webApiRcControl": false, "webApiVolumeControl": false, "enableDebugMode": false, "disableLogInfo": false, "disableLogDeviceInfo": false, "enableRestFul": false, "restFulDebug": false, "enableMqtt": false, "mqttDebug": false, "mqttAuth": false, "webApiToken": "M.C107_BAY.2.a3241162-abc9-89f5-559a-8984e509030d", "inputs": [ { "name": "Blu-ray Player", "reference": "Microsoft.BlurayPlayer_8wekyb3d8bbwe!Xbox.BlurayPlayer.Application", "oneStoreProductId": "9NBLGGH4VVD4", "type": "APPLICATION" }, { "name": "Fortnite", "reference": "436609B6.FortniteClient_9ncxwbgmmv7m8!AppFortnite", "oneStoreProductId": "BT5P2X999VH2", "type": "APPLICATION" }, { "name": "ARK: Survival Evolved", "reference": "ARKSurvivalEvolved_2wc4svk0vzm80!ShooterGame", "oneStoreProductId": "BNBLC4ZGFNKB", "type": "APPLICATION" }, { "name": "Cuphead", "reference": "Cuphead_32yh0mcy5nszr!App", "oneStoreProductId": "9NJRX71M5X9P", "type": "APPLICATION" }, { "name": "F1 2018", "reference": "F12018_62ktj6msykznt!F12018Master", "oneStoreProductId": "C2N5TTQ86BC6", "type": "APPLICATION" }, { "name": "FIFA 19", "reference": "FIFAGame19-NA_zwks512sysnyr!FIFAGame.App", "oneStoreProductId": "C3C71TV51SQC", "type": "APPLICATION" }, { "name": "Slime Rancher", "reference": "MonomiPark.SlimeRancher_63zvbkpt4c9hy!App", "oneStoreProductId": "C2NC88M7NWZ1", "type": "APPLICATION" }, { "name": "Apex Legends", "reference": "Apex_zwks512sysnyr!r5.App", "oneStoreProductId": "BV9ML45J2Q5V", "type": "APPLICATION" } ] } ], "platform": "XboxTv" } ] }

aberthil commented 6 months ago

The plugin version is v2.10.3

aberthil commented 6 months ago

Sorry but need to ask you a bit of clarifccation here You want me to change these two files with these two new lines, correct? What is the whole path of these files exactly so that I can find them? Thank you. Alexis

On Jan 5, 2024, at 10:07 PM, Grzegorz @.***> wrote:

Closed #192 https://github.com/grzegorz914/homebridge-xbox-tv/issues/192 as completed via 0eba074 https://github.com/grzegorz914/homebridge-xbox-tv/commit/0eba07470421eeb7460ae7c35ce9f4957be198cc.

— Reply to this email directly, view it on GitHub https://github.com/grzegorz914/homebridge-xbox-tv/issues/192#event-11407341192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR476WK47FPASJ75GJHPCJDYNDSYTAVCNFSM6AAAAABBPAJ4X6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQYDOMZUGEYTSMQ. You are receiving this because you authored the thread.

grzegorz914 commented 6 months ago

Just update the plugin to the latest version.

aberthil commented 6 months ago

Much easier indeed. Thank you for the prompt support Always appreciated

On Jan 6, 2024, at 8:39 AM, Grzegorz @.***> wrote:

Just update the plugin to the latest version.

— Reply to this email directly, view it on GitHub https://github.com/grzegorz914/homebridge-xbox-tv/issues/192#issuecomment-1879750400, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR476WPEDJWXP4KWDQ3SA2LYNF45LAVCNFSM6AAAAABBPAJ4X6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZG42TANBQGA. You are receiving this because you authored the thread.