0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.
MIT License
206 stars 58 forks source link

login issue with v1.7 beta 51, cannot roll back to beta 50 #386

Closed DolmensDude closed 9 months ago

DolmensDude commented 9 months ago

Prerequisite

Cache

Version

1.7.0-beta51

Device Infomation JSON File

No response

Device Control Mode

None

Logs

[10/7/2023, 12:11:54 PM] [@0x5e/homebridge-tuya-platform] Login failed. code=1013, msg=request time is invalid

Other Infomations

this seems to be new to this version. all prev 1.7 betas were fine.

only option was to rollback to v1.6 for now

DolmensDude commented 9 months ago

can we close this? I retried a few hours later and it logged in. no changes in the VM where this runs... odd... but it consistently failed on this when I made the report.

fun stuff.

DolmensDude commented 9 months ago

close

DolmensDude commented 9 months ago

thanks

0x5e commented 9 months ago

the tuya api request requires correct system time, if your system time is wrong then it will failed.

DolmensDude commented 9 months ago

Yeah, of course I checked that first, as well as the time zone offset displayed in the homebridge status page first. These were fine.So I don’t really know what the cause was, or the fix to be honest.On Oct 8, 2023, at 06:18, gaosen @.***> wrote: the tuya api request requires correct system time, if your system time is wrong then it will failed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>

0x5e commented 9 months ago

well, that's weird... if you can reproduce it, please enable homgbridge debug mode, copy the whole tuya network request & response, paste here and also submit a ticket on tuya platform.