question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Motioneye media browser not working via reverse proxy

See original GitHub issue

The problem

My scenario involves an access to HA via https from nginx (reverse-proxy) which also does SSL offloading.

In this situation, if I access the MotionEye images via the reverse-proxy (https: //public.domain: 8xxx) I see the names of the files, but not the preview nor the photos themselves.

If instead I access it via internal IP (pure HTTP, http: //192.168.x.y: 8123) I see everything correctly.

What version of Home Assistant Core has the issue?

2021.12.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

motioneye

Link to integration documentation on our website

https://www.home-assistant.io/integrations/motioneye

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
chemelli74commented, Dec 22, 2021

That’s right, or protect your motionEye instance behind an authenticated reverse proxy (that is accessible both internally and externally).

That’s not really safe as it doesn’t allow for MFA.

An easier solution, and what we use in Frigate, is to implement the proxying in the integration itself – but I didn’t implement that for motionEye.

Do you mind adding to your todo list ? 😉

Simone

0reactions
dermotduffycommented, Aug 1, 2022

Hi @chemelli74 , I’m afraid my limited time for open source contributions are going on Frigate at the moment (which supports what you need out of the box). If you’d like work on adding something similar for the motionEye integration, I’m happy to review?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ccrisan/motioneye - Gitter
I installed nginx on ubuntu 16.04 with motionEye to use as reverse proxy. I am only running motionEye behind nginx so using default.conf...
Read more >
HTTPS nginx reverse proxy · Issue #2341 · motioneye-project ...
Hi I have motioneyeOS running on a rpi3 and i can access it externally through DDNS. I am trying to get the connection...
Read more >
motionEye - Home Assistant
This is very useful when motionEye is behind a custom configured reverse proxy, and/or when the stream ports are otherwise not accessible to ......
Read more >
MotionEye Video Surveillance | Mike Polinowski
We are going to use FirewallD as firewall and NGINX as web proxy. Running behind the Nginx webserver (using Nginx as a reverse...
Read more >
Help with Nginx reverse proxy - Raspberry Pi Forums
I'm trying to set up Nginx as a reverse proxy so that, in the end, I can use HTTPS for all ... My...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found