home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.2k stars 30.22k forks source link

Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) #111515

Open etamtlosz opened 7 months ago

etamtlosz commented 7 months ago

The problem

The camera causing the issue is a reolink poe doorbell, firmware version v3.0.0.2555_23080702 It is connected via the reolink NVR. The camera is being used in blueiris as well. Integrated via RTSP. No special characters in username NOR password.

What version of Home Assistant Core has the issue?

core-2024.2.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

integration: reolink

Link to integration documentation on our website

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

Diagnostics information

home-assistant_reolink_2024-02-26T18-51-31.017Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-02-27 07:49:28.288 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.doorbell_sub] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@192.168.2.75:554/Preview_01_sub
2024-02-27 07:49:28.289 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.doorbell_main] Error from stream worker: Stream ended; no additional packets
2024-02-27 07:49:28.535 DEBUG (MainThread) [reolink_aio.api] Doorbell/192.168.2.75:443::send() HTTP Response status = 200, content-type = (image/jpeg).
2024-02-27 07:49:28.535 DEBUG (MainThread) [reolink_aio.api.data] Doorbell/192.168.2.75:443::send() HTTP Response (snapshot/download) data scrapped because it's too large.
2024-02-27 07:49:38.291 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.doorbell_main] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://****:****@192.168.2.75:554/Preview_01_main
2024-02-27 07:49:38.292 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.doorbell_sub] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://****:****@192.168.2.75:554/Preview_01_sub
2024-02-27 07:49:41.456 ERROR (MainThread) [homeassistant.components.camera] Error requesting stream: camera.doorbell_snapshots does not support play stream service

Additional information

No response

home-assistant[bot] commented 7 months ago

Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `reolink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign reolink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


reolink documentation reolink source (message by IssueLinks)

starkillerOG commented 7 months ago

Does the stream never work or only sometimes fails? Have you tried disabeling Blue Iris, power cycling the doorbell and see if the issue disapears. Might be that 2 simultanious streams is too much for the doorbell.

You could also try switching to the FLV protocol instead of RTSP, see https://www.home-assistant.io/integrations/reolink/#options

etamtlosz commented 7 months ago

Sorry for the late reaction. 75 is the IP of the NVR and not the camera. I've switched my doorbell to flv in the integration, and I am going to keep an eye on it for a few days.

issue-triage-workflows[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Palmdale95 commented 4 months ago

I am experiencing the same issue after the latest update on my Reolink2 Duo. Logger: homeassistant.components.stream.stream.camera.reolink_duo2_sub Quelle: components/stream/init.py:448 Integration: Stream (Dokumentation, Probleme) Erstmals aufgetreten: 6. Juni 2024 um 13:13:32 (15 Vorkommnisse) Zuletzt protokolliert: 06:39:32

Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://:@192.168.178.160:554/Preview_01_sub Error from stream worker: Error opening stream (ERRORTYPE_110, Operation timed out) rtsp://:@192.168.178.160:554/Preview_01_sub Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://:@192.168.178.160:554/Preview_01_sub Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://admin:makxi7-xiThis-diqxew@192.168.178.160:554/Preview_01_sub' Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsp://:@192.168.178.160:554/Preview_01_sub

Moxser commented 2 months ago

I have the same problem with an Ezviz camera. I have some others integrated in home assistant but only one gives me this error. How can it be solved? My install is HAOS 2024.6.3


2024-07-24 06:16:57.160 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.ip_cam_camera_1] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://****:****@192.168.0.75:554
2024-07-24 06:36:57.166 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.ip_cam_camera_1] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://****:****@192.168.0.75:554```
monsieurlatte commented 1 month ago

FWIW I have similar issues with just one Unifi. It's POE with no dropped frames or anything.

Palmdale95 commented 1 month ago

On my side the integration is stable now with latest core (2024.8.0) and supervisor (2024.8) installed.