sjthespian / addon-tuyagateway

An addon for the [TuyaGateway][tuyagateway] application.
MIT License
17 stars 3 forks source link

Tuya Gateway refuses to connect. #11

Open Frans1960 opened 3 years ago

Frans1960 commented 3 years ago

When I try to open the Tuya Gateway web page from the Side Bar The page show the message: refuses to connect.

the Addon Log: 2020-11-15 13:07:34,274 DEBUG [paho.mqtt.client] Sending PINGREQ 2020-11-15 13:07:34,279 DEBUG [paho.mqtt.client] Received PINGRESP [15/Nov/2020 13:08:09] "GET / HTTP/1.1" 200 818 2020-11-15 13:08:34,372 DEBUG [paho.mqtt.client] Sending PINGREQ 2020-11-15 13:08:34,376 DEBUG [paho.mqtt.client] Received PINGRESP [15/Nov/2020 13:09:15] "GET / HTTP/1.1" 200 818 [15/Nov/2020 13:09:33] "GET / HTTP/1.1" 200 818 [15/Nov/2020 13:09:34] "GET /static/css/styles.css HTTP/1.1" 404 1669 Not Found: /favicon.ico 2020-11-15 13:09:34,268 WARNING [django.request] Not Found: /favicon.ico [15/Nov/2020 13:09:34] "GET /favicon.ico HTTP/1.1" 404 2302 2020-11-15 13:09:34,463 DEBUG [paho.mqtt.client] Sending PINGREQ 2020-11-15 13:09:34,465 DEBUG [paho.mqtt.client] Received PINGRESP [15/Nov/2020 13:09:36] "GET /admin/ HTTP/1.1" 302 0 [15/Nov/2020 13:09:36] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 6098 [15/Nov/2020 13:09:53] "POST /admin/login/?next=/admin/ HTTP/1.1" 200 6438 [15/Nov/2020 13:10:11] "POST /admin/login/?next=/admin/ HTTP/1.1" 200 6438 [15/Nov/2020 13:10:12] "POST /admin/login/?next=/admin/ HTTP/1.1" 200 6438 [15/Nov/2020 13:10:12] "POST /admin/login/?next=/admin/ HTTP/1.1" 200 6438 [15/Nov/2020 13:10:12] "POST /admin/login/?next=/admin/ HTTP/1.1" 200 6438 [15/Nov/2020 13:10:24] "POST /admin/login/?next=/admin/ HTTP/1.1" 200 6438 2020-11-15 13:10:34,556 DEBUG [paho.mqtt.client] Sending PINGREQ 2020-11-15 13:10:34,561 DEBUG [paho.mqtt.client] Received PINGRESP [15/Nov/2020 13:10:42] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 6098 [15/Nov/2020 13:10:53] "GET / HTTP/1.1" 200 818

The system is running on: Supervisor Version 2020.11.0 Newest Version 2020.11.0 Host System Hostname orangepipc IP Address 10.0.100.134/24 Operating System Debian GNU/Linux 10 (buster) Docker version 19.03.13

Host Log: 20-11-15 13:03:23 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 20-11-15 13:03:35 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sjthespian/addon-tuyagateway repository 20-11-15 13:03:35 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository 20-11-15 13:03:35 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository 20-11-15 13:03:37 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove 20-11-15 13:06:23 INFO (SyncWorker_2) [supervisor.docker.interface] Stopping addon_ba9f8461_tuyagateway application 20-11-15 13:06:24 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning addon_ba9f8461_tuyagateway application 20-11-15 13:06:26 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ba9f8461/armv7-addon-tuyagateway with version 0.6

macattack69traf commented 3 years ago

I am also having this same issue. Have you had any luck progressing it?

LEJOUI commented 3 years ago

Sidebar doesn't work. Try approaching the port 8111 as configured in the configuration.

malballuk commented 3 years ago

I also have this issue with a new install, not from the sidebar but from the button"Open Web Interface", would appreciate some guidance on what to try

adulovic commented 3 years ago
  1. The "Open Web Interface" button just gives a xx.xx.xx.x refused to connect. The error message which appears in the console is Refused to display 'http://xx.xx.xx.x:8123/' in a frame because it set 'X-Frame-Options' to 'deny'.

  2. When attempting to open the gismo directly in a new tab at http://xx.xx.xx.xx:8111 the default user/pass (admin/admin) are not accepted and a correct username and password for a staff account is requested.

  3. The tuyagateway log still shows a WARNING [mqtt.mqtt] () Failed to connect to MQTT Broker Setting matching query does not exist.

Minims commented 3 years ago

3. The tuyagateway log still shows a WARNING [mqtt.mqtt] () Failed to connect to MQTT Broker Setting matching query does not exist

I have the same issue

spicerackk commented 2 years ago

Still having this issue. admin:admin doesn't work as login either.

spicerackk commented 2 years ago

I am also unable to load the tuyagateway webUI from either the addon itself or the sidebar.

junalmeida commented 2 years ago

I also have this problem. Is this project still on maintenance or abandoned?

IIDemoniaKII commented 1 year ago

Hello, UP !