Skip to content
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

connect EHOSTUNREACH #598

Open
mrwhiteman opened this issue Mar 28, 2024 · 4 comments
Open

connect EHOSTUNREACH #598

mrwhiteman opened this issue Mar 28, 2024 · 4 comments
Labels
bug Something isn't working stale This issue has not received any updates for some time.

Comments

@mrwhiteman
Copy link

I get this error message in the plugin log:
[3/28/2024, 5:18:32 PM] [TuyaWebPlatform] connect EHOSTUNREACH 3.127.225.168:443

It doesn't seem to log in with my credentials. They're 100% correct, though.

Plugin version: v1.1.5

JSON:

{
   "name": "TuyaWebPlatform",
   "options": {
       "username": "xxx",
       "password": "xxx",
       "countryCode": "xx",
       "platform": "smart_life"
   },
   "defaults": [
       {
           "device_type": "form"
       }
   ],
   "scenes": false,
   "platform": "TuyaWebPlatform"
}

Device Config:

Getting credentials
Got credentials
{   'access_token': 'xxx',
    'expires_in': 864000,
    'refresh_token': 'xxx',
    'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
    'payload': {   'devices': [   {   'data': {'online': False, 'state': False},
                                      'dev_type': 'switch',
                                      'ha_type': 'switch',
                                      'icon': 'https://images.tuyaeu.com/smart/icon/ay15422864509092y6k8/1622259081104c41dc2b7.png',
                                      'id': 'bf79bb94ba4f259a46tuob',
                                      'name': 'WiFi Plug - Living Room'},
                                  {   'data': {'online': False, 'state': True},
                                      'dev_type': 'switch',
                                      'ha_type': 'switch',
                                      'icon': 'https://images.tuyaeu.com/smart/icon/001460162698766TR4v1/1571295242db8f709b6dc.png',
                                      'id': 'bf3cf8647a6ec9f964lata',
                                      'name': 'WiFi Plug - Garden'},
                                  {   'data': {'online': True, 'state': False},
                                      'dev_type': 'switch',
                                      'ha_type': 'switch',
                                      'icon': 'https://images.tuyaeu.com/smart/icon/ay15422864509092y6k8/1622259081104c41dc2b7.png',
                                      'id': 'bf969f4527982679ceujol',
                                      'name': 'WiFi Plug - Office'}],
                   'scenes': []}}
!!! NOW REMOVE THIS FILE, SO YOUR CREDENTIALS (username, password) WON'T LEAK !!!
@mrwhiteman mrwhiteman added the bug Something isn't working label Mar 28, 2024
@milo526
Copy link
Owner

milo526 commented Mar 30, 2024

Hey; can you tell me if this keeps happening?
It seems like Tuya switched some server IP address

@mrwhiteman
Copy link
Author

Yeah still the same error. But different ip address. Looks like the ip changes every time the service starts.

[3/30/2024, 4:09:03 PM] [TuyaWebPlatform] connect EHOSTUNREACH 18.156.68.22:443

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale This issue has not received any updates for some time. label Apr 10, 2024
@mrwhiteman
Copy link
Author

It's still not fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This issue has not received any updates for some time.
Projects
None yet
Development

No branches or pull requests

2 participants