homebridge-tahoma icon indicating copy to clipboard operation
homebridge-tahoma copied to clipboard

Error 401 Not authenticated (RESOURCE_ACCESS_DENIED)

Open byna opened this issue 2 years ago • 23 comments

Hi!

I constantly get authentication errors when polling. It seems to work the first time after restarting Homebridge but after that I always get the following error message: [07/09/2022, 14:16:58] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED)

Do you have any idea how to fix/get around it?

Thanks for your great work with the plugin 👍

byna avatar Sep 07 '22 12:09 byna

Hi,

Can you send me more log to check the complete sequence (with login, register, fetch, ...). Do you change config params like pollingPeriod ? What is your plugin version ?

Thank you.

dubocr avatar Sep 07 '22 14:09 dubocr

Same issue here since updating today.

[9/7/2022, 5:46:28 PM] [Connexoon] API client will be locked for 60 seconds because of bad credentials or temporary service outage. You can restart plugin to force login retry (not recommanded except if you think your credentials are wrong).
[9/7/2022, 5:46:28 PM] [Connexoon] Error 401 Bad credentials (AUTHENTICATION_ERROR)
[9/7/2022, 5:46:28 PM] TypeError: this.log is not a function
    at process.error (/homebridge/node_modules/homebridge/src/logger.ts:139:10)
    at process.emit (node:events:513:28)
    at process.emit (/homebridge/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
/homebridge/node_modules/homebridge/lib/logger.js:90
        this.log("error" /* ERROR */, message, ...parameters);
             ^

TypeError: this.log is not a function
    at process.error (/homebridge/node_modules/homebridge/src/logger.ts:139:10)
    at process.emit (node:events:525:35)
    at process.emit (/homebridge/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
    at process._fatalException (node:internal/process/execution:167:25)

homebridge-tahoma v2.2.31

//EDIT - Same with latest update v2.2.32

My password is working in your site: image

and on the somfy website and app

barthoefs avatar Sep 07 '22 15:09 barthoefs

Plugin version: v2.2.30 My password is also working on the somfy website and in the app

[07/09/2022, 14:38:49] [TaHoma] Initializing Tahoma platform... [07/09/2022, 14:38:49] [WeatherPlus] Initializing WeatherPlus platform... [07/09/2022, 14:38:49] [WeatherPlus] Adding station with weather service OpenWeatherMap named 'Weather station plus' [07/09/2022, 14:38:49] Initializing platform accessory 'Weather station plus'... [07/09/2022, 14:38:49] Initializing platform accessory 'Pergola'...

and then

[07/09/2022, 14:38:50] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge F9B4) is running on port 51962. [07/09/2022, 14:38:50] [Broadlink RM] [INFO] Discovered Manual RM4 Pro Device (2227) at 192.168.86.186 (24:df:a7:f1:16:49) [07/09/2022, 14:38:51] [TaHoma] Configure device Solsensor [07/09/2022, 14:38:51] [TaHoma] LightSensor > LuminanceSensor [07/09/2022, 17:05:32] [TaHoma] Polling error - connect ENETUNREACH 178.32.15.131:443 [07/09/2022, 17:46:33] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [07/09/2022, 17:46:33] [TaHoma] API client will be locked for 60 seconds because of bad credentials or temporary service outage. You can restart plugin to force login retry (not recommanded except if you think your credentials are wrong). [07/09/2022, 17:46:33] [TaHoma] Registration error - Error 401 Bad credentials (AUTHENTICATION_ERROR)

byna avatar Sep 07 '22 16:09 byna

Same issue since the update... installation of an old version didn't solve the issue...

Does anyone has a solution?

DaniS81 avatar Sep 08 '22 09:09 DaniS81

Same issue since the update... installation of an old version didn't solve the issue...

Does anyone has a solution?

Moved it to child bridge to keep homebridge running. Disabled it for 2 hours, now starts fine again...

barthoefs avatar Sep 08 '22 09:09 barthoefs

Could you please add config param "debug": true then repost logs when error occurs. I published un update to fix homebridge restart when exception occurs.

If error is RESOURCE_ACCESS_DENIED, comment here. If error is AUTHENTICATION_ERROR, comment on #387

Thank you

dubocr avatar Sep 08 '22 09:09 dubocr

Same issue since the update... installation of an old version didn't solve the issue... Does anyone has a solution?

Moved it to child bridge to keep homebridge running. Disabled it for 2 hours, now starts fine again...

Disabled for some hour and after a restart it's working again...

DaniS81 avatar Sep 08 '22 17:09 DaniS81

Got this with debug mode turned on:

[14/09/2022, 09:16:51] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) {"level":30,"time":1663139834485,"pid":30021,"hostname":"raspberrypi","reqId":"req-3q","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58035},"msg":"incoming request"} {"level":30,"time":1663139834499,"pid":30021,"hostname":"raspberrypi","reqId":"req-3q","res":{"statusCode":200},"responseTime":13.314517974853516,"msg":"request completed"} {"level":30,"time":1663139885870,"pid":30021,"hostname":"raspberrypi","reqId":"req-3r","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58038},"msg":"incoming request"} {"level":30,"time":1663139885875,"pid":30021,"hostname":"raspberrypi","reqId":"req-3r","res":{"statusCode":200},"responseTime":4.251354992389679,"msg":"request completed"} {"level":30,"time":1663139946637,"pid":30021,"hostname":"raspberrypi","reqId":"req-3s","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58036},"msg":"incoming request"} {"level":30,"time":1663139946641,"pid":30021,"hostname":"raspberrypi","reqId":"req-3s","res":{"statusCode":200},"responseTime":3.787937045097351,"msg":"request completed"} {"level":30,"time":1663139994339,"pid":30021,"hostname":"raspberrypi","reqId":"req-3t","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58035},"msg":"incoming request"} {"level":30,"time":1663139994349,"pid":30021,"hostname":"raspberrypi","reqId":"req-3t","res":{"statusCode":200},"responseTime":8.84572297334671,"msg":"request completed"} {"level":30,"time":1663140072358,"pid":30021,"hostname":"raspberrypi","reqId":"req-3u","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58117},"msg":"incoming request"} {"level":30,"time":1663140072363,"pid":30021,"hostname":"raspberrypi","reqId":"req-3u","res":{"statusCode":200},"responseTime":4.140301942825317,"msg":"request completed"} {"level":30,"time":1663140132705,"pid":30021,"hostname":"raspberrypi","reqId":"req-3v","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58116},"msg":"incoming request"} {"level":30,"time":1663140132710,"pid":30021,"hostname":"raspberrypi","reqId":"req-3v","res":{"statusCode":200},"responseTime":5.093544006347656,"msg":"request completed"} {"level":30,"time":1663140192587,"pid":30021,"hostname":"raspberrypi","reqId":"req-3w","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58119},"msg":"incoming request"} {"level":30,"time":1663140192592,"pid":30021,"hostname":"raspberrypi","reqId":"req-3w","res":{"statusCode":200},"responseTime":4.260743021965027,"msg":"request completed"} {"level":30,"time":1663140251188,"pid":30021,"hostname":"raspberrypi","reqId":"req-3x","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58116},"msg":"incoming request"} {"level":30,"time":1663140251192,"pid":30021,"hostname":"raspberrypi","reqId":"req-3x","res":{"statusCode":200},"responseTime":3.699401021003723,"msg":"request completed"} {"level":30,"time":1663140300889,"pid":30021,"hostname":"raspberrypi","reqId":"req-3y","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58119},"msg":"incoming request"} {"level":30,"time":1663140300896,"pid":30021,"hostname":"raspberrypi","reqId":"req-3y","res":{"statusCode":200},"responseTime":4.33550101518631,"msg":"request completed"} {"level":30,"time":1663140375341,"pid":30021,"hostname":"raspberrypi","reqId":"req-3z","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58156},"msg":"incoming request"} {"level":30,"time":1663140375347,"pid":30021,"hostname":"raspberrypi","reqId":"req-3z","res":{"statusCode":200},"responseTime":4.730201005935669,"msg":"request completed"} {"level":30,"time":1663140434752,"pid":30021,"hostname":"raspberrypi","reqId":"req-40","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58155},"msg":"incoming request"} {"level":30,"time":1663140434756,"pid":30021,"hostname":"raspberrypi","reqId":"req-40","res":{"statusCode":200},"responseTime":3.198558986186981,"msg":"request completed"} {"level":30,"time":1663140483877,"pid":30021,"hostname":"raspberrypi","reqId":"req-41","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58158},"msg":"incoming request"} {"level":30,"time":1663140483882,"pid":30021,"hostname":"raspberrypi","reqId":"req-41","res":{"statusCode":200},"responseTime":3.858380973339081,"msg":"request completed"} {"level":30,"time":1663140532354,"pid":30021,"hostname":"raspberrypi","reqId":"req-42","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58156},"msg":"incoming request"} {"level":30,"time":1663140532359,"pid":30021,"hostname":"raspberrypi","reqId":"req-42","res":{"statusCode":200},"responseTime":4.168523967266083,"msg":"request completed"} {"level":30,"time":1663140608126,"pid":30021,"hostname":"raspberrypi","reqId":"req-43","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58199},"msg":"incoming request"} {"level":30,"time":1663140608131,"pid":30021,"hostname":"raspberrypi","reqId":"req-43","res":{"statusCode":200},"responseTime":4.372057020664215,"msg":"request completed"} {"level":30,"time":1663140657888,"pid":30021,"hostname":"raspberrypi","reqId":"req-44","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58199},"msg":"incoming request"} {"level":30,"time":1663140657894,"pid":30021,"hostname":"raspberrypi","reqId":"req-44","res":{"statusCode":200},"responseTime":4.999862015247345,"msg":"request completed"} [14/09/2022, 09:32:02] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) {"level":30,"time":1663140735632,"pid":30021,"hostname":"raspberrypi","reqId":"req-45","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58221},"msg":"incoming request"} {"level":30,"time":1663140735638,"pid":30021,"hostname":"raspberrypi","reqId":"req-45","res":{"statusCode":200},"responseTime":4.45964902639389,"msg":"request completed"} {"level":30,"time":1663140793891,"pid":30021,"hostname":"raspberrypi","reqId":"req-46","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58220},"msg":"incoming request"} {"level":30,"time":1663140793896,"pid":30021,"hostname":"raspberrypi","reqId":"req-46","res":{"statusCode":200},"responseTime":4.052267014980316,"msg":"request completed"} {"level":30,"time":1663140844056,"pid":30021,"hostname":"raspberrypi","reqId":"req-47","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58223},"msg":"incoming request"} {"level":30,"time":1663140844061,"pid":30021,"hostname":"raspberrypi","reqId":"req-47","res":{"statusCode":200},"responseTime":4.19541198015213,"msg":"request completed"} {"level":30,"time":1663140902266,"pid":30021,"hostname":"raspberrypi","reqId":"req-48","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58223},"msg":"incoming request"} {"level":30,"time":1663140902271,"pid":30021,"hostname":"raspberrypi","reqId":"req-48","res":{"statusCode":200},"responseTime":4.23193097114563,"msg":"request completed"} {"level":30,"time":1663140974083,"pid":30021,"hostname":"raspberrypi","reqId":"req-49","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58223},"msg":"incoming request"} {"level":30,"time":1663140974091,"pid":30021,"hostname":"raspberrypi","reqId":"req-49","res":{"statusCode":200},"responseTime":6.04484498500824,"msg":"request completed"} {"level":30,"time":1663141033872,"pid":30021,"hostname":"raspberrypi","reqId":"req-4a","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58251},"msg":"incoming request"} {"level":30,"time":1663141033876,"pid":30021,"hostname":"raspberrypi","reqId":"req-4a","res":{"statusCode":200},"responseTime":3.7894749641418457,"msg":"request completed"} {"level":30,"time":1663141093264,"pid":30021,"hostname":"raspberrypi","reqId":"req-4b","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58221},"msg":"incoming request"} {"level":30,"time":1663141093270,"pid":30021,"hostname":"raspberrypi","reqId":"req-4b","res":{"statusCode":200},"responseTime":4.784439027309418,"msg":"request completed"} {"level":30,"time":1663141150772,"pid":30021,"hostname":"raspberrypi","reqId":"req-4c","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58251},"msg":"incoming request"} {"level":30,"time":1663141150778,"pid":30021,"hostname":"raspberrypi","reqId":"req-4c","res":{"statusCode":200},"responseTime":4.886660039424896,"msg":"request completed"} {"level":30,"time":1663141207540,"pid":30021,"hostname":"raspberrypi","reqId":"req-4d","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58221},"msg":"incoming request"} {"level":30,"time":1663141207546,"pid":30021,"hostname":"raspberrypi","reqId":"req-4d","res":{"statusCode":200},"responseTime":4.715940952301025,"msg":"request completed"} {"level":30,"time":1663141265168,"pid":30021,"hostname":"raspberrypi","reqId":"req-4e","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58251},"msg":"incoming request"} {"level":30,"time":1663141265174,"pid":30021,"hostname":"raspberrypi","reqId":"req-4e","res":{"statusCode":200},"responseTime":4.682829976081848,"msg":"request completed"} {"level":30,"time":1663141323525,"pid":30021,"hostname":"raspberrypi","reqId":"req-4f","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58223},"msg":"incoming request"} {"level":30,"time":1663141323530,"pid":30021,"hostname":"raspberrypi","reqId":"req-4f","res":{"statusCode":200},"responseTime":4.37303900718689,"msg":"request completed"} {"level":30,"time":1663141371519,"pid":30021,"hostname":"raspberrypi","reqId":"req-4g","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58251},"msg":"incoming request"} {"level":30,"time":1663141371528,"pid":30021,"hostname":"raspberrypi","reqId":"req-4g","res":{"statusCode":200},"responseTime":8.16330897808075,"msg":"request completed"} {"level":30,"time":1663141445395,"pid":30021,"hostname":"raspberrypi","reqId":"req-4h","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58389},"msg":"incoming request"} {"level":30,"time":1663141445400,"pid":30021,"hostname":"raspberrypi","reqId":"req-4h","res":{"statusCode":200},"responseTime":4.1483020186424255,"msg":"request completed"} {"level":30,"time":1663141493905,"pid":30021,"hostname":"raspberrypi","reqId":"req-4i","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58388},"msg":"incoming request"} {"level":30,"time":1663141493911,"pid":30021,"hostname":"raspberrypi","reqId":"req-4i","res":{"statusCode":200},"responseTime":4.424630045890808,"msg":"request completed"} {"level":30,"time":1663141572924,"pid":30021,"hostname":"raspberrypi","reqId":"req-4j","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58554},"msg":"incoming request"} {"level":30,"time":1663141572930,"pid":30021,"hostname":"raspberrypi","reqId":"req-4j","res":{"statusCode":200},"responseTime":5.071805000305176,"msg":"request completed"} {"level":30,"time":1663141622846,"pid":30021,"hostname":"raspberrypi","reqId":"req-4k","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58553},"msg":"incoming request"} {"level":30,"time":1663141622851,"pid":30021,"hostname":"raspberrypi","reqId":"req-4k","res":{"statusCode":200},"responseTime":4.323150038719177,"msg":"request completed"} [14/09/2022, 09:47:13] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) {"level":30,"time":1663141694462,"pid":30021,"hostname":"raspberrypi","reqId":"req-4l","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58554},"msg":"incoming request"} {"level":30,"time":1663141694468,"pid":30021,"hostname":"raspberrypi","reqId":"req-4l","res":{"statusCode":200},"responseTime":4.073821008205414,"msg":"request completed"} {"level":30,"time":1663141744386,"pid":30021,"hostname":"raspberrypi","reqId":"req-4m","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58553},"msg":"incoming request"} {"level":30,"time":1663141744392,"pid":30021,"hostname":"raspberrypi","reqId":"req-4m","res":{"statusCode":200},"responseTime":4.68495899438858,"msg":"request completed"} {"level":30,"time":1663141792377,"pid":30021,"hostname":"raspberrypi","reqId":"req-4n","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58556},"msg":"incoming request"} {"level":30,"time":1663141792383,"pid":30021,"hostname":"raspberrypi","reqId":"req-4n","res":{"statusCode":200},"responseTime":4.251726031303406,"msg":"request completed"} {"level":30,"time":1663141875976,"pid":30021,"hostname":"raspberrypi","reqId":"req-4o","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58895},"msg":"incoming request"} {"level":30,"time":1663141875982,"pid":30021,"hostname":"raspberrypi","reqId":"req-4o","res":{"statusCode":200},"responseTime":4.382371008396149,"msg":"request completed"} {"level":30,"time":1663141934600,"pid":30021,"hostname":"raspberrypi","reqId":"req-4p","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58894},"msg":"incoming request"} {"level":30,"time":1663141934606,"pid":30021,"hostname":"raspberrypi","reqId":"req-4p","res":{"statusCode":200},"responseTime":5.721035003662109,"msg":"request completed"} {"level":30,"time":1663141993332,"pid":30021,"hostname":"raspberrypi","reqId":"req-4q","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58895},"msg":"incoming request"} {"level":30,"time":1663141993337,"pid":30021,"hostname":"raspberrypi","reqId":"req-4q","res":{"statusCode":200},"responseTime":4.997323989868164,"msg":"request completed"} {"level":30,"time":1663142049926,"pid":30021,"hostname":"raspberrypi","reqId":"req-4r","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58897},"msg":"incoming request"} {"level":30,"time":1663142049929,"pid":30021,"hostname":"raspberrypi","reqId":"req-4r","res":{"statusCode":200},"responseTime":3.1150960326194763,"msg":"request completed"} {"level":30,"time":1663142097265,"pid":30021,"hostname":"raspberrypi","reqId":"req-4s","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":58894},"msg":"incoming request"} {"level":30,"time":1663142097270,"pid":30021,"hostname":"raspberrypi","reqId":"req-4s","res":{"statusCode":200},"responseTime":4.404186010360718,"msg":"request completed"} {"level":30,"time":1663142175506,"pid":30021,"hostname":"raspberrypi","reqId":"req-4t","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59253},"msg":"incoming request"} {"level":30,"time":1663142175512,"pid":30021,"hostname":"raspberrypi","reqId":"req-4t","res":{"statusCode":200},"responseTime":5.520927011966705,"msg":"request completed"} {"level":30,"time":1663142228199,"pid":30021,"hostname":"raspberrypi","reqId":"req-4u","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59255},"msg":"incoming request"} {"level":30,"time":1663142228204,"pid":30021,"hostname":"raspberrypi","reqId":"req-4u","res":{"statusCode":200},"responseTime":3.993767023086548,"msg":"request completed"} {"level":30,"time":1663142278932,"pid":30021,"hostname":"raspberrypi","reqId":"req-4v","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59253},"msg":"incoming request"} {"level":30,"time":1663142278939,"pid":30021,"hostname":"raspberrypi","reqId":"req-4v","res":{"statusCode":200},"responseTime":5.79238498210907,"msg":"request completed"} {"level":30,"time":1663142354080,"pid":30021,"hostname":"raspberrypi","reqId":"req-4w","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59402},"msg":"incoming request"} {"level":30,"time":1663142354085,"pid":30021,"hostname":"raspberrypi","reqId":"req-4w","res":{"statusCode":200},"responseTime":4.145024001598358,"msg":"request completed"} {"level":30,"time":1663142406673,"pid":30021,"hostname":"raspberrypi","reqId":"req-4x","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59404},"msg":"incoming request"} {"level":30,"time":1663142406679,"pid":30021,"hostname":"raspberrypi","reqId":"req-4x","res":{"statusCode":200},"responseTime":4.931921005249023,"msg":"request completed"} {"level":30,"time":1663142454918,"pid":30021,"hostname":"raspberrypi","reqId":"req-4y","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59401},"msg":"incoming request"} {"level":30,"time":1663142454923,"pid":30021,"hostname":"raspberrypi","reqId":"req-4y","res":{"statusCode":200},"responseTime":4.123179018497467,"msg":"request completed"} {"level":30,"time":1663142534403,"pid":30021,"hostname":"raspberrypi","reqId":"req-4z","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59469},"msg":"incoming request"} {"level":30,"time":1663142534414,"pid":30021,"hostname":"raspberrypi","reqId":"req-4z","res":{"statusCode":200},"responseTime":4.363267958164215,"msg":"request completed"} [14/09/2022, 10:02:24] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) {"level":30,"time":1663142591722,"pid":30021,"hostname":"raspberrypi","reqId":"req-50","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59471},"msg":"incoming request"} {"level":30,"time":1663142591727,"pid":30021,"hostname":"raspberrypi","reqId":"req-50","res":{"statusCode":200},"responseTime":4.225197017192841,"msg":"request completed"} {"level":30,"time":1663142651827,"pid":30021,"hostname":"raspberrypi","reqId":"req-51","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59469},"msg":"incoming request"} {"level":30,"time":1663142651835,"pid":30021,"hostname":"raspberrypi","reqId":"req-51","res":{"statusCode":200},"responseTime":6.829131007194519,"msg":"request completed"} {"level":30,"time":1663142711624,"pid":30021,"hostname":"raspberrypi","reqId":"req-52","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59471},"msg":"incoming request"} {"level":30,"time":1663142711630,"pid":30021,"hostname":"raspberrypi","reqId":"req-52","res":{"statusCode":200},"responseTime":5.132311999797821,"msg":"request completed"} {"level":30,"time":1663142766298,"pid":30021,"hostname":"raspberrypi","reqId":"req-53","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59469},"msg":"incoming request"} {"level":30,"time":1663142766302,"pid":30021,"hostname":"raspberrypi","reqId":"req-53","res":{"statusCode":200},"responseTime":3.405456006526947,"msg":"request completed"} {"level":30,"time":1663142814389,"pid":30021,"hostname":"raspberrypi","reqId":"req-54","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59468},"msg":"incoming request"} {"level":30,"time":1663142814394,"pid":30021,"hostname":"raspberrypi","reqId":"req-54","res":{"statusCode":200},"responseTime":3.680339992046356,"msg":"request completed"} {"level":30,"time":1663142903643,"pid":30021,"hostname":"raspberrypi","reqId":"req-55","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59788},"msg":"incoming request"} {"level":30,"time":1663142903648,"pid":30021,"hostname":"raspberrypi","reqId":"req-55","res":{"statusCode":200},"responseTime":4.195442020893097,"msg":"request completed"} {"level":30,"time":1663142954872,"pid":30021,"hostname":"raspberrypi","reqId":"req-56","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59786},"msg":"incoming request"} {"level":30,"time":1663142954878,"pid":30021,"hostname":"raspberrypi","reqId":"req-56","res":{"statusCode":200},"responseTime":4.715582013130188,"msg":"request completed"} {"level":30,"time":1663143013971,"pid":30021,"hostname":"raspberrypi","reqId":"req-57","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59790},"msg":"incoming request"} {"level":30,"time":1663143013977,"pid":30021,"hostname":"raspberrypi","reqId":"req-57","res":{"statusCode":200},"responseTime":4.517012000083923,"msg":"request completed"} {"level":30,"time":1663143064604,"pid":30021,"hostname":"raspberrypi","reqId":"req-58","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":59786},"msg":"incoming request"} {"level":30,"time":1663143064612,"pid":30021,"hostname":"raspberrypi","reqId":"req-58","res":{"statusCode":200},"responseTime":7.005561053752899,"msg":"request completed"} {"level":30,"time":1663143137336,"pid":30021,"hostname":"raspberrypi","reqId":"req-59","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":60013},"msg":"incoming request"} {"level":30,"time":1663143137342,"pid":30021,"hostname":"raspberrypi","reqId":"req-59","res":{"statusCode":200},"responseTime":4.571438014507294,"msg":"request completed"} {"level":30,"time":1663143194691,"pid":30021,"hostname":"raspberrypi","reqId":"req-5a","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":60012},"msg":"incoming request"} {"level":30,"time":1663143194696,"pid":30021,"hostname":"raspberrypi","reqId":"req-5a","res":{"statusCode":200},"responseTime":4.140464007854462,"msg":"request completed"} {"level":30,"time":1663143243845,"pid":30021,"hostname":"raspberrypi","reqId":"req-5b","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":60013},"msg":"incoming request"} {"level":30,"time":1663143243851,"pid":30021,"hostname":"raspberrypi","reqId":"req-5b","res":{"statusCode":200},"responseTime":4.65762197971344,"msg":"request completed"} {"level":30,"time":1663143302995,"pid":30021,"hostname":"raspberrypi","reqId":"req-5c","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":60012},"msg":"incoming request"} {"level":30,"time":1663143302999,"pid":30021,"hostname":"raspberrypi","reqId":"req-5c","res":{"statusCode":200},"responseTime":3.812951982021332,"msg":"request completed"} {"level":30,"time":1663143351407,"pid":30021,"hostname":"raspberrypi","reqId":"req-5d","req":{"method":"GET","url":"/api/auth/check","hostname":"MyIpAddress198:8581","remoteAddress":"::ffff:MyIpAddress235","remotePort":60015},"msg":"incoming request"} {"level":30,"time":1663143351438,"pid":30021,"hostname":"raspberrypi","reqId":"req-5d","res":{"statusCode":200},"responseTime":30.405784964561462,"msg":"request completed"}

byna avatar Sep 14 '22 09:09 byna

What are the logs before and after ? Does the {"level":30,"time":1663143351438,"pid":30021,"hostname":"raspberrypi","reqId":"req-5d","res":{"statusCode":200},"responseTime":30.405784964561462,"msg":"request completed"} logs are from homtbridge-tahoma plugin ???

dubocr avatar Sep 14 '22 11:09 dubocr

I got this as well now:

[19/09/2022, 09:17:34] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [19/09/2022, 09:17:44] [TaHoma] POST /login [19/09/2022, 09:17:44] [TaHoma] Enable event polling period every 900 sec [19/09/2022, 09:17:44] [TaHoma] POST /events/register [19/09/2022, 09:32:44] [TaHoma] POST /events/549c2d65-ac10-3e01-6399-5f116fc8a72a/fetch [19/09/2022, 09:32:44] [TaHoma] Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [19/09/2022, 09:32:44] [TaHoma] Disable event polling

byna avatar Sep 19 '22 08:09 byna

+1 also getting the same issue.

sprihar avatar Sep 19 '22 20:09 sprihar

I got this as well now:

[19/09/2022, 09:17:34] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [19/09/2022, 09:17:44] [TaHoma] POST /login [19/09/2022, 09:17:44] [TaHoma] Enable event polling period every 900 sec [19/09/2022, 09:17:44] [TaHoma] POST /events/register [19/09/2022, 09:32:44] [TaHoma] POST /events/549c2d65-ac10-3e01-6399-5f116fc8a72a/fetch [19/09/2022, 09:32:44] [TaHoma] Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [19/09/2022, 09:32:44] [TaHoma] Disable event polling

Hi,

@byna It seems you changed the pollingPeriod to 900 (sec), that's why your session expires between each fetch requests. You should leave the default pollingPeriod value or set it to 0 to disable polling (will have the same effect as setting it to 900 because if session expires every changes are missed, but without this error)

dubocr avatar Sep 19 '22 20:09 dubocr

+1 also getting the same issue.

@sprihar If the previous answer doesn't apply for you, please enable "debug": true parameter in your config then send full log since plugin startup until the first Error 401 Not authenticated (RESOURCE_ACCESS_DENIED).

Thank you.

dubocr avatar Sep 19 '22 20:09 dubocr

+1 also getting the same issue.

@sprihar If the previous answer doesn't apply for you, please enable "debug": true parameter in your config then send full log since plugin startup until the first Error 401 Not authenticated (RESOURCE_ACCESS_DENIED).

Thank you.

Hi @dubocr Please see the below logs in debug mode:

9/19/2022, 5:51:36 PM Tahoma Bridge Configuration change 9/19/2022, 5:51:36 PM Tahoma Bridge tahomabridge stopping 9/19/2022, 5:51:42 PM Tahoma Bridge Tahoma Bridge starting 9/19/2022, 5:51:47 PM Tahoma Bridge Loaded plugin 'homebridge-tahoma' 9/19/2022, 5:51:47 PM Tahoma Bridge [ DEBUG ] Registering platform 'homebridge-tahoma.Tahoma' 9/19/2022, 5:51:47 PM Tahoma Bridge Loading 1 platforms... 9/19/2022, 5:51:47 PM Tahoma Bridge TaHoma POST /login 9/19/2022, 5:51:48 PM Tahoma Bridge Bridge is running on port 51836. 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma Enable event polling period every 60 sec 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma GET /setup/devices 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma GET /setup/location 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma POST /events/register 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma Configure device 2nd Floor 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma Screen > UpDownScreen 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma Configure device Living Room 9/19/2022, 5:51:48 PM Tahoma Bridge TaHoma Screen > UpDownScreen 9/19/2022, 5:52:48 PM Tahoma Bridge TaHoma POST /events/57bc684c-ac10-3201-67f0-2025d7ced3f8/fetch 9/19/2022, 5:52:48 PM Tahoma Bridge TaHoma Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:52:48 PM Tahoma Bridge TaHoma Disable event polling 9/19/2022, 5:52:48 PM Tahoma Bridge TaHoma [ ERROR ] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:52:58 PM Tahoma Bridge TaHoma POST /login 9/19/2022, 5:52:59 PM Tahoma Bridge TaHoma Enable event polling period every 60 sec 9/19/2022, 5:52:59 PM Tahoma Bridge TaHoma POST /events/register 9/19/2022, 5:53:59 PM Tahoma Bridge TaHoma POST /events/57bd7c4a-ac10-3201-67f0-2025006d3371/fetch 9/19/2022, 5:53:59 PM Tahoma Bridge TaHoma Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:53:59 PM Tahoma Bridge TaHoma Disable event polling 9/19/2022, 5:53:59 PM Tahoma Bridge TaHoma [ ERROR ] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:54:09 PM Tahoma Bridge TaHoma POST /login 9/19/2022, 5:54:10 PM Tahoma Bridge TaHoma Enable event polling period every 60 sec 9/19/2022, 5:54:10 PM Tahoma Bridge TaHoma POST /events/register 9/19/2022, 5:54:37 PM Tahoma Bridge TaHoma [Living Room] my[] 9/19/2022, 5:54:37 PM Tahoma Bridge TaHoma [2nd Floor] my[] 9/19/2022, 5:54:37 PM Tahoma Bridge TaHoma POST /exec/apply 9/19/2022, 5:54:37 PM Tahoma Bridge TaHoma Change event polling period to 5 sec 9/19/2022, 5:54:37 PM Tahoma Bridge TaHoma POST /exec/apply 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma [Living Room] my NOT_TRANSMITTED 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma [Living Room] my TRANSMITTED 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma [2nd Floor] my NOT_TRANSMITTED 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma [2nd Floor] my TRANSMITTED 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma [Living Room] my IN_PROGRESS 9/19/2022, 5:54:42 PM Tahoma Bridge TaHoma [2nd Floor] my IN_PROGRESS 9/19/2022, 5:54:47 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:54:52 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:54:57 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:55:02 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:55:07 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:55:12 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:55:12 PM Tahoma Bridge TaHoma [Living Room] my COMPLETED 9/19/2022, 5:55:12 PM Tahoma Bridge TaHoma [2nd Floor] my COMPLETED 9/19/2022, 5:55:17 PM Tahoma Bridge TaHoma Change event polling period to 60 sec 9/19/2022, 5:56:17 PM Tahoma Bridge TaHoma POST /events/57be909f-ac10-3201-67f0-202580c32ef5/fetch 9/19/2022, 5:56:17 PM Tahoma Bridge TaHoma Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:56:17 PM Tahoma Bridge TaHoma Disable event polling 9/19/2022, 5:56:17 PM Tahoma Bridge TaHoma [ ERROR ] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:56:27 PM Tahoma Bridge TaHoma POST /login 9/19/2022, 5:56:28 PM Tahoma Bridge TaHoma Enable event polling period every 60 sec 9/19/2022, 5:56:28 PM Tahoma Bridge TaHoma POST /events/register 9/19/2022, 5:57:28 PM Tahoma Bridge TaHoma POST /events/57c0ac79-ac10-3201-67f0-2025ea05739a/fetch 9/19/2022, 5:57:28 PM Tahoma Bridge TaHoma Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:57:28 PM Tahoma Bridge TaHoma Disable event polling 9/19/2022, 5:57:28 PM Tahoma Bridge TaHoma [ ERROR ] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) 9/19/2022, 5:57:38 PM Tahoma Bridge TaHoma POST /login 9/19/2022, 5:57:38 PM Tahoma Bridge TaHoma Enable event polling period every 60 sec 9/19/2022, 5:57:38 PM Tahoma Bridge TaHoma POST /events/register

sprihar avatar Sep 19 '22 22:09 sprihar

[9/20/2022, 8:33:01 AM] [Tahoma] POST /events/59825857-ac10-3e01-6399-5f11f68ff165/fetch [9/20/2022, 8:33:01 AM] [Tahoma] Session expired: Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [9/20/2022, 8:33:01 AM] [Tahoma] Disable event polling [9/20/2022, 8:33:01 AM] [Tahoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [9/20/2022, 8:33:11 AM] [Tahoma] POST /login [9/20/2022, 8:33:11 AM] [Tahoma] API client will be locked for 60 seconds because of bad credentials or temporary service outage. You can restart plugin to force login retry (not recommanded except if you think your credentials are wrong). [9/20/2022, 8:33:11 AM] [Tahoma] Registration error - Error 401 Bad credentials (AUTHENTICATION_ERROR)

Tontonpat avatar Sep 20 '22 06:09 Tontonpat

Thank you @sprihar, Can you try to change the config "pollingPeriod": 30 (try at 30, then if you don't notice any changes, try at 15 then 10).

@Tontonpat, c'est sur ta config cloud ? A combien est ton pollingPeriod ?

dubocr avatar Sep 20 '22 16:09 dubocr

@dubocr Oui sur la config cloud "pollingPeriod": 30, "refreshPeriod": 10,

Tontonpat avatar Sep 20 '22 16:09 Tontonpat

Thank you @sprihar, Can you try to change the config "pollingPeriod": 30 (try at 30, then if you don't notice any changes, try at 15 then 10).

@Tontonpat, c'est sur ta config cloud ? A combien est ton pollingPeriod ?

@dubocr thank you, try now. Will report back in a few hours and provide updated logs.

sprihar avatar Sep 20 '22 17:09 sprihar

@dubocr I changed the pollingperiod to 15, 10 and 5. All three options are not returning the error any longer. Is there any benefit to keeping it at 5 instead of 15?

sprihar avatar Sep 20 '22 17:09 sprihar

@dubocr I changed the pollingperiod to 15, 10 and 5. All three options are not returning the error any longer. Is there any benefit to keeping it at 5 instead of 15?

The default value is 60. Set it to the highest functional value as this will overload Somfy servers.

dubocr avatar Sep 20 '22 18:09 dubocr

@dubocr I changed the pollingperiod to 15, 10 and 5. All three options are not returning the error any longer. Is there any benefit to keeping it at 5 instead of 15?

The default value is 60. Set it to the highest functional value as this will overload Somfy servers.

@dubocr this worked perfectly. Thank you for all your help!

sprihar avatar Sep 21 '22 01:09 sprihar

I set pollingperiod to 15 and I still get the following:

[21/09/2022, 07:53:36] [TaHoma] Polling error - Error 502 [21/09/2022, 07:54:23] [TaHoma] Polling error - Error 502 [21/09/2022, 07:55:46] [TaHoma] Polling error - Error 503 [21/09/2022, 07:58:03] [TaHoma] Polling error - read ECONNRESET [21/09/2022, 08:00:31] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:01:12] [TaHoma] Polling error - Error 502 [21/09/2022, 08:03:46] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:04:04] [TaHoma] Error 503 [21/09/2022, 08:05:12] [TaHoma] Polling error - Error 503 [21/09/2022, 08:07:46] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:10:15] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:11:42] [TaHoma] Polling error - Error 503 [21/09/2022, 08:12:40] [TaHoma] Polling error - Error 503 [21/09/2022, 08:15:17] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:17:45] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:18:47] [TaHoma] Polling error - Error 503 [21/09/2022, 08:21:15] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:23:44] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:26:17] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:27:13] [TaHoma] Polling error - Error 503 [21/09/2022, 08:31:45] [TaHoma] Polling error - read ECONNRESET [21/09/2022, 08:33:13] [TaHoma] Error 503 [21/09/2022, 08:34:03] [TaHoma] Polling error - read ECONNRESET [21/09/2022, 08:36:27] [TaHoma] Polling error - read ECONNRESET [21/09/2022, 08:39:00] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:41:29] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:42:32] [TaHoma] Polling error - Error 503 [21/09/2022, 08:43:40] [TaHoma] Polling error - Error 503 [21/09/2022, 08:44:39] [TaHoma] Polling error - Error 503 [21/09/2022, 08:46:10] [TaHoma] Polling error - Error 502 [21/09/2022, 08:47:11] [TaHoma] Polling error - Error 503 [21/09/2022, 08:49:14] [TaHoma] Polling error - Error 503 [21/09/2022, 08:50:19] [TaHoma] Polling error - Error 503 [21/09/2022, 08:51:09] [TaHoma] Polling error - Error 503 [21/09/2022, 08:53:46] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:54:48] [TaHoma] Polling error - Error 503 [21/09/2022, 08:57:16] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 08:58:28] [TaHoma] Polling error - Error 503 [21/09/2022, 09:01:01] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:02:59] [TaHoma] Polling error - Error 503 [21/09/2022, 09:04:31] [TaHoma] read ECONNRESET [21/09/2022, 09:05:33] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:08:01] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:10:30] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:12:26] [TaHoma] Polling error - Error 503 [21/09/2022, 09:15:01] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:16:05] [TaHoma] Polling error - Error 503 [21/09/2022, 09:16:56] [TaHoma] Polling error - Error 503 [21/09/2022, 09:18:33] [TaHoma] Polling error - Error 502 [21/09/2022, 09:20:59] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:22:24] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [21/09/2022, 09:25:20] [TaHoma] Polling error - connect ETIMEDOUT 178.32.15.131:443 [21/09/2022, 09:26:14] [TaHoma] Polling error - Error 502 [21/09/2022, 09:27:14] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED) [21/09/2022, 09:27:26] [TaHoma] Registration error - Error 502

byna avatar Sep 22 '22 05:09 byna

I set pollingPeriod to 10 and it seems to work most of the time👍 I get the following error message sometimes though:

[29/09/2022, 07:01:54] [TaHoma] Error 400 Too many asynchronous jobs, try again later (job was Full refresh all states) (TOO_MANY_OPERATIONS_IN_PROGRESS)

byna avatar Sep 29 '22 11:09 byna

[10/26/2022, 8:13:47 PM] [TaHoma] Error 400 Too many asynchronous jobs, try again later (job was Full refresh all states) (TOO_MANY_OPERATIONS_IN_PROGRESS) [10/27/2022, 1:33:05 AM] [TaHoma] Polling error - connect ETIMEDOUT 178...: [10/27/2022, 1:34:09 AM] [TaHoma] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED [10/27/2022, 5:34:42 AM] [TaHoma] Polling error - connect ETIMEDOUT 178...: [10/27/2022, 5:36:41 AM] [TaHoma] Registration error - connect ETIMEDOUT 178...: [10/27/2022, 5:36:41 AM] [TaHoma] connect ETIMEDOUT 178...: [10/27/2022, 6:00:02 AM] [TaHoma] [Bedroom Shutter] open connect ETIMEDOUT 178...: [10/27/2022, 6:00:02 AM] [TaHoma] [Dining Room Shutter] open connect ETIMEDOUT 178...: [10/27/2022, 6:00:02 AM] [TaHoma] [Sara Room front Shutter] open connect ETIMEDOUT 178...: [10/27/2022, 6:00:02 AM] [TaHoma] [Kitchen Shutter] open connect ETIMEDOUT 178...: [10/27/2022, 6:00:02 AM] [TaHoma] [Sara Room Left Shutter] open connect ETIMEDOUT 178...:

can you help me please ? device : Tahoma Switch

steve-mahdi avatar Oct 27 '22 05:10 steve-mahdi

There hasn't been any activity on this issue recently. Please make sure to update to the latest Homebridge TaHoma version to see if that solves the issue. This issue will be closed in case of inactivity.

github-actions[bot] avatar Nov 27 '22 02:11 github-actions[bot]