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

MotionEye 10.2 unable to connect to some cameras #126

Closed
Shadowpheonix opened this issue Oct 14, 2020 · 27 comments
Closed

MotionEye 10.2 unable to connect to some cameras #126

Shadowpheonix opened this issue Oct 14, 2020 · 27 comments
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@Shadowpheonix
Copy link

Problem/Motivation

My camera feed stopped working after upgrading from MotionEye 0.8.1 to 10.2.

Expected behavior

My camera feed should continue to work.

Actual behavior

I get a "no camera" icon instead of my camera feed.

Steps to reproduce

Setup MotionEye with a generic IP cam in Home-Assistant. In my case, Home-Assistant is the Docker version running on an Ubuntu Linux VM.

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

MotionEye 10.2 Log.txt
For comparison, here's the log from MotionEye 8.1 working on the same system (I reverted the HASS snapshot for MotionEye after 10.2 failed)...
MotionEye 8.1 Log.txt

@frenck
Copy link
Member

frenck commented Oct 14, 2020

There is nothing in the logs that indicate an issue.

@Shadowpheonix
Copy link
Author

Is there some other log I can get that might help (and if so, how do I get it)? The one I provided is what shows up when selecting the Log tab for the MotionEye add-on in Home-Assistant.

The only thing I noticed in those logs myself is that 10.2 reports "ERROR: mjpg client timed out receiving data for camera 1 on port 8081" while 8.1 does not (8.1's log makes no mention of port 8081 at all).

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jan 22, 2021
@Shadowpheonix
Copy link
Author

This is still an issue for me. Is there any additional logging or other troubleshooting that I can do? I really would like to update from the old 8.1 version.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Jan 23, 2021
@Shadowpheonix
Copy link
Author

This is still an issue with the new version 0.11.0.

@doublepedaldylan
Copy link

Experiencing what looks like similar issue.

Operating System: Debian GNU/Linux 10 (buster)
Docker version: 20.10.2
Version: supervisor-2021.02.6
Version: core-2021.2.1
motionEye Version: 0.42.1
Motion Version: 4.3.2

I have two Amcrest rtsp cams. Existing one (IP2M-841W) added fine and continues to work, new one (ASH26-W) is accepted by MotionEye, but I get a grey screen saying "unable to open video device".

Log results:
[09/Feb/2021:12:13:44 -0600] [viewingIP], 172.30.32.1(172.30.32.2) GET /picture/1/current/?_=[13_digit_number]&_username=admin&_signature=[40_digit_hex_string] HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36) ERROR: mjpg client timed out receiving data for camera 2 on port 8082

I can connect to the new rtsp cam through VLC just fine.

Possibly related threads
https://community.home-assistant.io/t/motioneye-rtsp-and-virtualbox/174267
motioneye-project/motioneye#2022 (comment)

Possibly unrelated note:
When adding the non-working camera, once I enter URL, under "camera" I see "authentication failed". but once I enter "admin" as user but no password yet, "camera" switches to a dropdown menu.

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Mar 12, 2021
@Shadowpheonix
Copy link
Author

This is still an issue in 0.11.1.

Is there ANYTHING that I can do to help get this fixed?

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Mar 13, 2021
@doublepedaldylan
Copy link

The digging I have done seems to suggest some kind of issue that tends to be related to docker and ports. Issues related to HA addon posted to Motion's github point us to resolve here. I can link in the related issues I've seen, but the "grey screen" issue seems repeatedly related to docker and a time out on a specific port. Each time, people seem to be able to access their RTSP stream using VLC.

@Shadowpheonix
Copy link
Author

I can confirm that VLC is able to successfully access my RTSP stream when this is occurring.
I would really like to be able to update from MotionEye 0.8.1, but cannot due to this ongoing issue.
If there is any logging or other testing I can do that would help find a solution, please let me know.

@mwy6283
Copy link

mwy6283 commented Apr 16, 2021

Hi , I have been having this issue for months , all cameras are accessible on HA dashboard, ( Onvif integration) but motioneye grey screen no stream. here is my log,

`_=1618557996882&_username=admin&signature=31bcf5d9b8ffcf79ac5d69666b9b3aa66076ce77 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:36 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557996929&_username=admin&signature=72d217a88ec9af5702726cf10c68c18b1da32321 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:36 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557996975&_username=admin&signature=819e26ab33ce494bfb7e229978f46479c57faadc HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:37 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557997022&_username=admin&signature=a438c1ca033aba6faac520f50c98bc00361d47fa HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:37 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557997069&_username=admin&signature=f5a4a4335a56ba3fa03e7f7044afe852882a5b00 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:37 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557997116&_username=admin&signature=63678499ea634936d76551038566fc6607e06af2 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:37 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557997163&_username=admin&signature=7a565fca40855033229f1c7af9eb7cb20da49068 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
[16/Apr/2021:08:26:37 +0100] 200 192.168.0.38, 172.30.32.1(172.30.32.2) GET /picture/1/current/?
=1618557997213&_username=admin&_signature=2818723777324a47c074b10c39e6361a96211dab HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36)
ERROR: mjpg client timed out receiving data for camera 1 on port 8081'

any advice would be heplfull I aslo had the same situtaion on a RPI4.

@doublepedaldylan
Copy link

Still having the same issue noted above on addon version 0.12.0.
Adjusted log level to 'trace'. After adding the offending camera, I basically get this repeatedly:

   ERROR: mjpg client timed out receiving data for camera 2 on port 8082
   DEBUG: received relayed event stop for motion camera id 2 (camera id 2)
   DEBUG: clearing motion detected for camera with id 2
   DEBUG: 200 POST /_relay_event/?_username=admin&event=stop&motion_camera_id=2&_signature=[hex-string] (127.0.0.1) 0.65ms

@frenck Is there anything more we can do to help trace the issue here? Thanks.

@doublepedaldylan
Copy link

Same issue with 0.13.0. Also, another user having same issue. Seems to indicate the camera can be connected to on a non-addon instance of motioneye:
#233 (comment)

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jun 21, 2021
@Shadowpheonix
Copy link
Author

This is still an issue with 0.14.0. Is there anything that can be done to help resolve this, or are those of us experiencing this issue stuck forever on the older version?

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Jun 22, 2021
@Shadowpheonix
Copy link
Author

This is still an issue with 0.15.0.

@github-actions
Copy link

github-actions bot commented Aug 6, 2021

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Aug 6, 2021
@Shadowpheonix
Copy link
Author

Any chance of a fix for this, or am I forever going to be stuck on the old 0.8.1 version?
If there is any data gathering or testing that I can do to help, please let me know.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Aug 7, 2021
@Shadowpheonix
Copy link
Author

This is still an issue.

@saltabas
Copy link

saltabas commented Sep 10, 2021

Same issue at 0.15.0 to 0.15.1 update, no error logs. To show a camera (just for a while) I duplicate one then delete it, so the first camera shows again, but as soon as you try to configure something in the add-on, it disappears again.

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Oct 11, 2021
@Shadowpheonix
Copy link
Author

This is still an issue. Is there any hope of a fix?

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Oct 12, 2021
@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Nov 11, 2021
@Shadowpheonix
Copy link
Author

This is still an issue. Should I just go ahead and assume it cannot be fixed?

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Nov 12, 2021
@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Dec 13, 2021
@saltabas
Copy link

This is still an issue

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Dec 16, 2021
@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jan 15, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

5 participants