tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
332 stars 168 forks source link

Error: Request failed with status code 405 #277

Closed jaimebadillo closed 1 year ago

jaimebadillo commented 1 year ago

Restarting Process... [9/1/2022, 6:47:24 PM] [TuyaPlatform] Launched child bridge with PID 1530 [9/1/2022, 6:47:24 PM] Registering platform 'homebridge-tuya-platform.TuyaPlatform' [9/1/2022, 6:47:24 PM] [TuyaPlatform] Loaded homebridge-tuya-platform v1.5.0 child bridge successfully Initializing TuyaPlatform... TuyaOpenAPI request: method = post, endpoint = undefined, path = /v1.0/iot-03/users/login, params = null, body = {"username":"--------","password":"****"}, headers = {"t":"1662050844553","client_id":"fnkfcavgavz36tqi6sli","nonce":"c150ef20-2a15-11ed-a33e-4dd6c7d4e89e","Signature-Headers":"client_id","sign":"3B53BF4FE1A1ECF2DC6266B4B9AE833D724844EF45224A8DF83CFA1776E17C3F","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"} [9/1/2022, 6:47:24 PM] Homebridge v1.5.0 (HAP v0.10.2) (TuyaPlatform) is running on port 30480.

/homebridge/node_modules/homebridge-tuya-platform/node_modules/axios/lib/core/createError.js:16 var error = new Error(message); ^ Error: Request failed with status code 405 at createError (/homebridge/node_modules/homebridge-tuya-platform/node_modules/axios/lib/core/createError.js:16:15) at settle (/homebridge/node_modules/homebridge-tuya-platform/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/homebridge/node_modules/homebridge-tuya-platform/node_modules/axios/lib/adapters/http.js:269:11) at IncomingMessage.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) [9/1/2022, 6:47:24 PM] [TuyaPlatform] Child bridge process ended [9/1/2022, 6:47:24 PM] [TuyaPlatform] Process Ended. Code: 1, Signal: null

github-actions[bot] commented 1 year ago

Thank you for your feedback, we will solve this issue soon

github-actions[bot] commented 1 year ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.