mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
Unable to load stream ERROR: mjpg client timed out receiving data for camera 1 on port 8081, #1975
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#1975
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mwy6283 on GitHub (May 17, 2021).
I have scoured the web and the forum for months but i am not able to find unable to find a solution. Cameras Reolink 410 5mp which are recognised in HA integration and VCL. Running the addon thru docker on a RPI4 4g. The cameras are recognised in HA and VCL.
Any advise and help would be appreciated
WARNING: 403 GET /login/?_=1620883446234&username=&_signature=1f4403faf8d6a2a53894d43e0b4922fad0930dea (192.168.0.38) 1.37ms,
ERROR: mjpg client timed out receiving data for camera 1 on port 8081,
ERROR: mjpg client timed out receiving data for camera 1 on port 8081,
ERROR: mjpg client timed out receiving data for camera 1 on port 8081,
ERROR: mjpg client timed out receiving data for camera 1 on port 8081,
ERROR: mjpg client timed out receiving data for camera 1 on port 8081,
ERROR: mjpg client timed out receiving data for camera 1 on port 8081,
INFO: removing camera config file /etc/motioneye/camera-1.conf...,
INFO: hello! this is motionEye server 0.42.1,
INFO: cleanup started,
INFO: wsswitch started,
INFO: tasks started,
INFO: mjpg client garbage collector started,
INFO: server started,
Failed to open /dev/video0: No such file or directory,
@starbasessd commented on GitHub (May 17, 2021):
Do you have a Pi to test on? If so:
Install RaspberryPiOS
install Docker (I use apt install docker.io, but have tested with docker-ce)
Use docker run command from wiki:
docker run --name="motioneye"
-p 8765:8765
--hostname="motioneye"
-v /etc/localtime:/etc/localtime:ro
-v /etc/motioneye:/etc/motioneye
-v /var/lib/motioneye:/var/lib/motioneye
--restart="always"
--detach=true
ccrisan/motioneye:master-armhf
Add reolink camera with:
Network Camera
URL: rtsp://IP_address/h264Preview_01_sub
Try both TCP and UDP
If it works there (It Should, I tested there) then the issue lies with the HA wrappers.
@mwy6283 commented on GitHub (May 17, 2021):
Hi I used a the same command as the wiki when i installed the current addon , i am now getting the following error when trying to load the as above.
`pi@raspberrypi:/volume1/docker $ sudo docker run --name="motioneye3" -p 8765:8765 --hostname="motioneye" -v /etc/localtime:/etc/localtime:ro -v /etc/motioneye:/etc/motioneye -v /var/lib/motioneye:/var/lib/motioneye --restart="always" --detach=true ccrisan/motioneye:master-armhf
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
1d96488371b42e9d58d201a01c98bd9e9efe9f033d48d51cc447900c67d02dc9. Not sure what the problem is ?
@starbasessd commented on GitHub (May 17, 2021):
If running on a Pi as the instructions state, you need to change the very
last bit from
ccrisan/motioneye:master-amd64
to
ccrisan/motioneye:master-armhf
The error indicates you used the amd64 line
On Mon, May 17, 2021 at 10:40 AM Mike Younge @.***>
wrote:
--
Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52"
W85° 45' 8.56"
Semper Gumby
“Don't tell people how to do things. Tell them what to do and let them
surprise you with their results.” - G.S. Patton, Gen. USA
Ethics are what we do when no one else is looking.
Quis custodiet ipsos custodes?
“There is no end to the good you can do if you don’t care who
gets the credit.” - C Powell
You know we're sitting on four million pounds of fuel, one nuclear weapon
and a thing that has 270,000 moving parts built by the lowest bidder. Makes
you feel good, doesn't it?
@mwy6283 commented on GitHub (May 17, 2021):
Hi I am confused . I have installed using ccrisan/motioneye:master-armhf s shown in my previous post. why is it saying that i should install arm/v7 .


Sorry to take up your time on this but as i have mentioned ai have tried many option installing thru HA addon same result Grey screen which indicates that fps is increasing but no image
@starbasessd commented on GitHub (May 17, 2021):
Are you running on a Pi? Or a PC?
@starbasessd commented on GitHub (May 17, 2021):
It could also be you have too many conflicting packages installed. I'd try me previous suggestion, or just HA and motionEye, and get them to work, then move to other packages. You may be asking your system to do too much, also.
@mwy6283 commented on GitHub (May 17, 2021):
I have just restarted Motioneyes with armhf here is the log ?
INFO: hello! this is motionEye server 0.42.1
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
@starbasessd commented on GitHub (May 17, 2021):
I would delete and re-add the camera
On Mon, May 17, 2021 at 11:35 AM Mike Younge @.***>
wrote:
--
Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52"
W85° 45' 8.56"
Semper Gumby
“Don't tell people how to do things. Tell them what to do and let them
surprise you with their results.” - G.S. Patton, Gen. USA
Ethics are what we do when no one else is looking.
Quis custodiet ipsos custodes?
“There is no end to the good you can do if you don’t care who
gets the credit.” - C Powell
You know we're sitting on four million pounds of fuel, one nuclear weapon
and a thing that has 270,000 moving parts built by the lowest bidder. Makes
you feel good, doesn't it?
@mwy6283 commented on GitHub (May 17, 2021):
I am running RPI4 4G with OMV5 & docker. I mentioned that i had been running with HA on a Imac PC but this is not running at the moment but i had the same issue . So i decided to install everything on the PI. all off my cameras are recognised in HA Lovelace with the rtsp stream
I will delete the camera and see what happens. Should I delete the camera from the Reolink app do you think this would work?
@starbasessd commented on GitHub (May 17, 2021):
No, just the Pi/MotionEye
On Mon, May 17, 2021 at 11:44 AM Mike Younge @.***>
wrote:
--
Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52"
W85° 45' 8.56"
Semper Gumby
“Don't tell people how to do things. Tell them what to do and let them
surprise you with their results.” - G.S. Patton, Gen. USA
Ethics are what we do when no one else is looking.
Quis custodiet ipsos custodes?
“There is no end to the good you can do if you don’t care who
gets the credit.” - C Powell
You know we're sitting on four million pounds of fuel, one nuclear weapon
and a thing that has 270,000 moving parts built by the lowest bidder. Makes
you feel good, doesn't it?
@mwy6283 commented on GitHub (May 17, 2021):
I did not install Motioneye OS on the Pi , i only installed the docker Motioneye image from Docker. What i cannot understand is why i was unable to use Motioneye from the addon in HA on my imac via VM as i had the exactly the same problems. according to the videos etc it works out of the box ?
@starbasessd commented on GitHub (May 17, 2021):
I wouldn't have a clue, as FRENCk created the wrapper for HA. It may be a
HA problem, it may be a HA motionEye wrapper issue, but if you run the
docker (I regularly build machines (Pis and VMs with various flavors OS)),
and they
all work, without HA. I cannot get HA based machines to work with FRENCK's
motioneye plugin. I don't know what to tell you. THere are others that have
posted similar issues, and Freck says I should be able to help, but that
hasn't been the case. If you take the plugin and HA out of the picture,
motionEye works in Docker or as a direct install.
On Mon, May 17, 2021 at 2:43 PM Mike Younge @.***>
wrote:
--
Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52"
W85° 45' 8.56"
Semper Gumby
“Don't tell people how to do things. Tell them what to do and let them
surprise you with their results.” - G.S. Patton, Gen. USA
Ethics are what we do when no one else is looking.
Quis custodiet ipsos custodes?
“There is no end to the good you can do if you don’t care who
gets the credit.” - C Powell
You know we're sitting on four million pounds of fuel, one nuclear weapon
and a thing that has 270,000 moving parts built by the lowest bidder. Makes
you feel good, doesn't it?
@mwy6283 commented on GitHub (May 18, 2021):
Ok i installed the script./writeimage.sh -d /dev/mmcblk0 -i "/path/to/motioneyeos.img" (20200606) from wiki directly onto RPI4. went to Ip address and still end up with nothing. is this script only for RPI cameras I can always get to this point in any application but no image. see snapshot

I keep on wondering if it is my iMac so I may try windows application later as nearly every video they use windows?? it so frustration been trying now for over a month. I am not interested in the HA motioneye but would l love to be abale to set it up in a docker container on its own.
thanks for your help.
@starbasessd commented on GitHub (May 18, 2021):
You changed the Surveillance Username to 'admin'. The Admin username is 'admin', so you are confusing the system. It is only giving the admin account the viewer rights. If you want a different username for Surveillance, try 'camera' or 'operator'. They cannot be named the same.
@starbasessd commented on GitHub (May 18, 2021):
My iMac is from 2009, and the docker installs I've tried so far require iMacs from 2010 or later.
I'll look into it further, and see what I can find. I have installed docker.io and docker-ce in Raspberry Pi 4s and it works well there. I've run into issues (that others brought here) with any kind of 'portainer' type management supervisors on any flavor of linux.
I just thought of something of a work-around for my iMac, I'll report later.
@mwy6283 commented on GitHub (May 18, 2021):
I have checked with Reolink and the username = admin cannot be changed only the password. See below.
Step 1: Launch Reolink Client and log in to your device. Step 2: Click Device Settings>Manage User, then select the user and click Modify Password button. Notes: The admin password can be modified while the name-admin can not be changed.
I wonder how others have solved this particular problem ?
@starbasessd commented on GitHub (May 18, 2021):
The section where you are changing Surveillance User username is for MotionEye, not for your camera. You have 2 users for motionEye, 'admin' which has access to all settings, and Surveillance User 'user' by default, that can only watch the cameras, not make changes.
The Reolink admin has nothing to do with motionEye, only when you add the camera to motionEye.
@Aham330 commented on GitHub (Jul 30, 2021):
Hi There, I know this is a bit back dated but I was just wondering if you got the grey screen issue sorted.
I have 4 reolink camera’s running on SYNOLOGY NAS and SSS. All four work fine. If I connect them to HA through the SYN integration all work fine. But when pickup the feed from the camera’s in motioneye I, like you get a grey screen.
I am intrested to hear on if and how you got sorted?
KR
Edit: Small update, One of my Camera’s is working. YES. However when adding a second camera with the same FW and identical setting I get the message in Motioneye “UNABLE TO OPEN VIDEO DEVICE”
It’s a Mystery to Me 😉
@lmai95 commented on GitHub (Oct 23, 2022):
Hi guys and gals,
I have the same issue but in a much more simple system, no docker or anything. Just one Raspberry Pi B 3+ with the motionEyeOS 20200606 installed on it.
I'm using this camera. The file aren't uploaded any where, just reviewed via the android app or the web browser. Realy just the out of the box experience.
I had the same problem with a Raspberry Pi B 3 and an old camera but supected the hardware so I replaced it and it didn't change.
Here are my logfiles:
motion(2).log
boot.log
dmesg.log
motioneye.log
@lmai95 commented on GitHub (Nov 3, 2022):
I've found a report concerning this topic Forum Link
I'll try this approach.
@jluther23 commented on GitHub (Dec 9, 2022):
This fixed my issue with the white screen. Thank You!!!