Git Product home page Git Product logo

Comments (6)

timmo001 avatar timmo001 commented on August 28, 2024 2

Yes, due to the tauri webview running on https, you must also have a home assistatant URL which is on https.

I should add a note in the settings also

from home-assistant-assist-desktop.

Gi60s avatar Gi60s commented on August 28, 2024

I'm also seeing this behavior on Windows 11 using version 1.1.2.

from home-assistant-assist-desktop.

timmo001 avatar timmo001 commented on August 28, 2024

I'm also seeing this behavior on Windows 11 using version 1.1.2.

Can you add your logs from %appdata%\dev.timmo.home-assistant-assist-desktop\logs

I'm not sure how to find the logs on a mac. They can also be opened via the system tray menu:

image

from home-assistant-assist-desktop.

g-nogueira avatar g-nogueira commented on August 28, 2024

Seeing the same behavior on Win 11. Here are my logs, if it helps:

[2024-01-03][10:20:56][INFO][webview::unknown] Loaded settings: {"settings":{"autostart":false,"home_assistant":{"access_token":"","host":"homeassistant.local","port":8123,"ssl":false}}}
[2024-01-03][10:20:56][INFO][webview::unknown] Attached console
[2024-01-03][10:20:56][INFO][webview::unknown] Opened settings
[2024-01-03][10:20:56][INFO][webview::unknown] Loaded settings: {"settings":{"autostart":false,"home_assistant":{"access_token":"","host":"homeassistant.local","port":8123,"ssl":false}}}
[2024-01-03][10:20:56][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://homeassistant.local:8123"}
[2024-01-03][10:20:56][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:20:56][INFO][webview::unknown] Attached console
[2024-01-03][10:20:59][WARN][wry::webview::webview2::file_drop] Error occurred while processing dropped/hovered item: item is not a file.
[2024-01-03][10:21:34][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://192.168.1.100:8123"}
[2024-01-03][10:21:34][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:23:57][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://192.168.1.100:8123"}
[2024-01-03][10:23:57][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:24:00][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://192.168.1.200:8123"}
[2024-01-03][10:24:00][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:24:40][INFO][webview::unknown] Loaded settings: {"settings":{"autostart":false,"home_assistant":{"access_token":"","host":"homeassistant.local","port":8123,"ssl":false}}}
[2024-01-03][10:24:40][INFO][webview::unknown] Attached console
[2024-01-03][10:24:40][INFO][webview::unknown] Opened settings
[2024-01-03][10:24:40][INFO][webview::unknown] Loaded settings: {"settings":{"autostart":false,"home_assistant":{"access_token":"","host":"homeassistant.local","port":8123,"ssl":false}}}
[2024-01-03][10:24:40][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://homeassistant.local:8123"}
[2024-01-03][10:24:40][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:24:40][INFO][webview::unknown] Attached console
[2024-01-03][10:24:43][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://homeassistant.local:8123"}
[2024-01-03][10:24:43][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:24:57][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://192.168.1.200:8123/"}
[2024-01-03][10:24:57][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:25:30][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-01-03][10:25:30][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-01-03][10:26:28][INFO][webview::unknown] Loaded settings: {"settings":{"autostart":false,"home_assistant":{"access_token":"","host":"homeassistant.local","port":8123,"ssl":false}}}
[2024-01-03][10:26:28][INFO][webview::unknown] Attached console
[2024-01-03][10:26:28][INFO][webview::unknown] Opened settings
[2024-01-03][10:26:28][INFO][webview::unknown] Loaded settings: {"settings":{"autostart":false,"home_assistant":{"access_token":"","host":"homeassistant.local","port":8123,"ssl":false}}}
[2024-01-03][10:26:28][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://homeassistant.local:8123"}
[2024-01-03][10:26:28][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:26:28][INFO][webview::unknown] Attached console
[2024-01-03][10:26:36][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://192.168.1.100:8123/"}
[2024-01-03][10:26:36][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:26:39][INFO][webview::unknown] Validating settings: {"home_assistant_url":"http://192.168.1.100:8123/"}
[2024-01-03][10:26:39][INFO][webview::unknown] Home Assistant URL is not HTTPS
[2024-01-03][10:27:28][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-01-03][10:27:28][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-01-03][10:27:44][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2024-01-03][10:27:44][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2024-01-03][10:27:46][WARN][wry::webview::webview2::file_drop] Error occurred while processing dropped/hovered item: item is not a file.
[2024-01-03][10:27:48][WARN][wry::webview::webview2::file_drop] Error occurred while processing dropped/hovered item: item is not a file.

from home-assistant-assist-desktop.

g-nogueira avatar g-nogueira commented on August 28, 2024

Oh... Ok. Saw in the code that it only works on HTTPS. Not sure if it's the best. If it's by design, maybe we need some warning?

from home-assistant-assist-desktop.

Gi60s avatar Gi60s commented on August 28, 2024

My logs showed the same error. HTTPS is required.

from home-assistant-assist-desktop.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.