-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tuya] [TuyaOpenAPI] Network error: . Retrying... #508
Comments
Same issue started for me today. Tried uninstalling, reconfiguring, and no luck. Central European server, located in aus. |
|
Same for your region |
Same issue is happening for the EU data center. |
@amybiyuliu have you found any resolution? I tried using a different data center and testing with an incorrect username and password and I'm getting the right authentication failure response. With EU data center there is no network response. |
I read an earlier thread that said this happened to them (months ago) and it was a network issue with Tuya I believe... Unfortunately I think this might be one of those wait for it to sort itself out situations. |
I'm also experiencing this issue, I'm also in Australia. |
Hey I fixed mine. I think this is what fixed it… I tried a few things prior to this also. Like updating node js. Goto terminal |
Hey @chewbanger - I just tried this and unfortunately it didn't work for me |
Hey @fuhckos-98 damn… before disabling IPV6, i did also update the hb-config tool - it’s one of the menu options in hb-config. |
Just gave that a try and still didn't work - hopefully something changes soon |
Same issue for me has recently started, also located in Australia |
Try unlinking your tuya account from the iot project, then link it back again. There restart HB |
Still not working after trying that, still getting a network error |
I am not sure where in the Dev Platform i do this? Is it from the project page? |
@mynameisbrendan Click on Cloud open your project, click Devices tab, Link App Account. Mine stopped working for a couple of days, I tried all these things I have mentioned above ... so difficult to tell which particular thing fixed it. Working now though. |
Thanks, unfortunately that hasn't fixed it for me. |
@chewbanger Disabling IPV6 fixed this discovery for me after I had to restart the whole HB Server, not just the HB service. However, just moments later, it keeps throwing the error again and Hombridge keeps restarting. so, couldn't fix still. |
@emzpasha Ah great! Yes, should have clarified, restart whole server not Homebridge service. :) |
Disabling IPv6 worked for me too.
|
Thanks, disabling IPv6 has now worked for me. I was only restarting the service not doing a full reboot, I'll report back if anything changes. |
Disabling IPV6 also fixed this for my setup. I am using an Orangepi Zero (some regrets) but incase anyone else is in the same boat you need to switch the terminal user using the switch user command "su", then use the "nmtui" command to change the netwok settings. Reboot and all is back to normal. |
I've disabled IPv6 and can also confirm that the plugin works again. Make sure you reboot after making the change. |
I’m also experiencing this issue on macOS. Should I disable IPv6 in the system settings? |
I already had IP6 disabled on my Synology container network when I got this issue. Not sure what action resolved it, but I think it was when I updated the available network interfaces in my Homebridge UI to only the local lan eth0. It may have just been the restart of the synology NAS that resolved it also. |
I'm running homebridge on docker and have tried running the container on a network I've created with IPv6 disabled (docker network create --ipv6=false disable_ipv6) but this hasn't seemed to fix the issue. In the UI I can see an IPV6 address is still assigned. Any ideas? |
There some problems with tuya api, no choice, we have wait until it resume
normal.
…On Wed, Dec 18, 2024 at 18:56 bobsmith523 ***@***.***> wrote:
I'm running homebridge on docker and have tried running the container on a
network I've created with IPv6 disabled (docker network create --ipv6=false
disable_ipv6) but this hasn't seemed to fix the issue. In the UI I can see
an IPV6 address is still assigned. Any ideas?
—
Reply to this email directly, view it on GitHub
<#508 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AODMFLYIL7FWDFQRONR5HTT2GFIGJAVCNFSM6AAAAABR6FUQV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJRGAYDSMZYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This is the same setup as me. I went into the setting in my Homebridge UI and selected the network interface I want (it was on auto before) then rebooted my parent docker server. No idea what change fixed it, but its now working. Maybe just try restarting your docker server? |
How did you change the network interface? Is that using hb-config? I tried that but it said command not found. |
In the homebridge UI. Settings > Network Interfaces. |
I am also in Australia, connecting via https://openapi.tuyaeu.com, getting the exact same errors as the OP continuously. I am using docker on hyper-v, it worked fine until a few weeks ago. I have tried everything listed here (except waiting longer) but nothing is working. I am now looking into Tuya alternatives since it is fully dead in the water at this point. |
If you're using a raspberry pi, you can change it globally to removed IPv6 which worked for me instantly. |
I'm running homebridge on a Ubuntu machine, disabling ipv6 worked well for me |
Mine is working now too, I am not sure what of the thousand things I did that helped. I removed the plugin, updated as many things in my Hyper-V docker as I could work out how to do, re-installed and re-setup the plugin from scratch. It has nicer icons and stuff now so something has definitely changed. Then finally I added the following lines to the homebridge web interface: settings -> startup script (inspired by Amy's comment above): sysctl -w net.ipv6.conf.all.disable_ipv6=1 Theoretically this should kill any attempt to use ipv6 right where I need it killed. I noticed that Hyper-V kept turning ipv6 back on in its windows network connections vethernet (default switch), no matter how many times I tried to remove it. Anyway I am happy now. Good luck to everyone else still struggling with this |
Is anyone else having this issue on a Synology? I've tried all of the above suggestions, even completely removed and re-installed Homebridge (I did restore from backup, as I don't want to have to start again)... |
I was experiencing this issue from Australia while connecting to the EU server and can confirm that disabling IPv6 via the Ubuntu GUI, followed by a reboot, resolved it. |
Confirming that disabling IPv6 and rebooting worked. Seems to be an issue for Australians connecting to the EU servers. I was also having issues with the It was down for a few days, starting 22/12/2024 and given the Christmas period, I was just hoping it would resolved itself. |
Exactly the same for me. Even thinking after Christmas it might sort itself! I disabled ipv6 on my router in the ISP settings. It seemed to get it half working. I could turn things on and off using Homekit but I was still getting network errors in the Tuya plugin. After disabling IPv6 on my Ubuntu server, it appears to be fully resolved. |
I'm having the same issue, running homebridge in a docker container on a RPI in Australia, which all worked fine until a few weeks ago. I've disabled ipv6 on both router and RPI (for the wired connection that I am using, as well as the bridge I created for docker to use). After that, the error changed from Network Error into the infamous 1106 (can't authenticate), assuming something has improved, but no succes yet. Does anyone have a similar setup and found the answer for the network error turned 1106 error? What I've tried:
|
For future reference, there's a difference in Tuya Smart (app) password and Tuya.com (developer) password. Resetting the Tuya Smart app resolved the authentication 1106 error and we're back in business. |
I confirm that disabling the IPv6 on both interfaces (wired and wireless) fixed the issue for me.. But that's strange, who would that disable Tuya API login? |
I've had this just happen again after fixing it. Seems that the way I disabled IPv6 before on the Pi wasn't persisted. |
Hmm I am getting this today. If you are using the Synology package version of Homebridge, you can run SSH into NAS itself and run it in sudo.
|
As weird as it can sound in the context of the whole thread. For me, nothing worked, until i ENABLED IPv6 on my router 🤦 Literally days of trying it out - I setup HB on mymac, I bought small thin client where I setup Ubuntu and installed HB there - couldnt make it work until I found this thread and none of the options worked, but when I ENABLED IPv6 in ISP settings on my router it started working. |
Prerequisite
Accounts
Country Code
1
Region Code
AZ (West US)
Logs
Other Infomations
No response
The text was updated successfully, but these errors were encountered: