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

Fetch events via integration websocket/proxy, not directly #19

Closed
dermotduffy opened this issue Aug 28, 2021 · 4 comments · Fixed by #31
Closed

Fetch events via integration websocket/proxy, not directly #19

dermotduffy opened this issue Aug 28, 2021 · 4 comments · Fixed by #31

Comments

@dermotduffy
Copy link
Owner

  • Necessary to support Nabu Casa.
  • Would make setup easier for addon users.
@Haloooch
Copy link

Haloooch commented Aug 28, 2021

(Edit: I should have read the instructions better; you already have a note about mixed content!)

Adding my comments here as I think they are related. I have HA running on SSL through a domain: https://home.mydomain.net:8123/

Frigate however is not on SSL: http://192.168.1.166:5000

Both are accessible on my browser (at least internally), but when the card tries to pull in content, I get the 'Failed to fetch' error. When checking the console, I can see the browser is flagging a warning of trying to load mixed content (http & https) and blocks the http (frigate) content.

Accessing frigate content through the integration should resolve this issue.

(Side note, amazing addition to HA. I used the Aarlo custom card prior to switching my camera's over to Unifi & frigate. This is exactly what I was looking for, thank you!)

@dermotduffy dermotduffy changed the title Fetch events via integration proxy, not directly Fetch events via integration websocket/proxy, not directly Aug 28, 2021
@s24dor
Copy link

s24dor commented Aug 28, 2021

thanks dermot, this would defiantly helps a lot, btw the card is great, exactly what i was looking for.

@dermotduffy
Copy link
Owner Author

Hi all, I have a fairly complete fix for this ready. I hope to have a pre-release in the next few days.

@dermotduffy
Copy link
Owner Author

@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants