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

"WebRTC Server not available" error after migrating HAS #509

Closed
rusty-genius opened this issue Jun 23, 2023 · 17 comments
Closed

"WebRTC Server not available" error after migrating HAS #509

rusty-genius opened this issue Jun 23, 2023 · 17 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rusty-genius
Copy link

rusty-genius commented Jun 23, 2023

Hello,

I migrated HAS from an RPI4 to a generic PC and everything works fine.

However, the custom WebRTC card always gives me an error when trying to show an rtsp stream.

This happens regardless from the underlying camera. It worked before the migration though.

I reinstalled the webrtc integration and even hacs itself but nothing seems to work.

When I look at the logs, i usually see this mistake (I have no idea if it belongs to this specific error)

I am no expert so I hope someone can help in this matter. Thanks!

Logger: frontend.js.latest.202306080
Source: components/system_log/__init__.py:257
First occurred: 11:10:23 (94 occurrences)
Last logged: 12:15:02

blob:http://homeassistant.local:8123/1fbd3798-1522-4650-9868-b6f6f3ed2285:1:100 ReferenceError: t is not defined
blob:http://homeassistant.local:8123/2d698d0e-bd91-4bf7-a596-f5216c79d03e:1:100 ReferenceError: t is not defined
blob:http://homeassistant.local:8123/d845f96b-0cf0-448e-95b6-3571570de5ec:1:100 ReferenceError: t is not defined
blob:http://homeassistant.local:8123/8bf97cd0-8811-4e8c-a787-0797eba44624:1:100 ReferenceError: t is not defined
blob:http://homeassistant.local:8123/19e0a8d4-0d8f-4e1c-a323-007aba3e2ad7:1:100 ReferenceError: t is not defined

1

@rusty-genius
Copy link
Author

No one able to help with this? There must be someone else out there with this problem I guess?

@intgyl
Copy link

intgyl commented Jun 28, 2023

No one able to help with this? There must be someone else out there with this problem I guess?

I have the same issue
Modify the go2rtc version to 1.2.0 and reboot HA , it works ok.

@rusty-genius
Copy link
Author

No one able to help with this? There must be someone else out there with this problem I guess?

I have the same issue Modify the go2rtc version to 1.2.0 and reboot HA , it works ok.

Hey, thanks for your answer.

Could you give me a hint as to how I modify the go2rtc version?

In my Studio Code Server I have a got2rtc.yaml but this file only includes 2 lines with api and rtsp and the go2rtc-1.5.0 file is not editable.

Can you help me out? thanks!

@intgyl
Copy link

intgyl commented Jun 30, 2023

No one able to help with this? There must be someone else out there with this problem I guess?

I have the same issue Modify the go2rtc version to 1.2.0 and reboot HA , it works ok.

Hey, thanks for your answer.

Could you give me a hint as to how I modify the go2rtc version?

In my Studio Code Server I have a got2rtc.yaml but this file only includes 2 lines with api and rtsp and the go2rtc-1.5.0 file is not editable.

Can you help me out? thanks!

image

In file utils.py, BINARY_VERSION

@AlexxIT AlexxIT added the bug Something isn't working label Jul 6, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jul 6, 2023

You can increase log level to check fail reason.

@Duke-Box
Copy link

Duke-Box commented Aug 2, 2023

Hi,

I confirm this is an issue.
I did the same migration from Pi4 to Generic PC laptop and found the same that WebRTC server unavailable.

I followed @intgyl instructions and it works again - Thanks

@gideondon
Copy link

I've had exaclty the same issue. followed these steps and it works again.
Took me so much time trying to find out.

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 23, 2023

You shouldn't follow @intgyl instructions. It's bad advice. Better to download old integration version with same old binary version in the code.

@flyman1664
Copy link

flyman1664 commented Sep 14, 2023

Same issue on my side after migrating HAOS from Rpi3 to N100 mini pc

image

@flyman1664
Copy link

After uninstalling and reinstalling webrtc it is still not working.

image

@flyman1664
Copy link

Hi,

Since v3.4.0 update, all seems to be back to normal.
Thanks

@mylbeee
Copy link

mylbeee commented Nov 1, 2023

Had this same issue. Noticed, that nothing was running at :1984. Resolved by manually deleting "go2rtc-1.8.1" file from the Home Assistant config-directory, and then re-adding the WebRTC device via GUI.

@TLongstride
Copy link

Had this same issue. Noticed, that nothing was running at :1984. Resolved by manually deleting "go2rtc-1.8.1" file from the Home Assistant config-directory, and then re-adding the WebRTC device via GUI.

Thinks it the best solution, it work for me

@ness7288
Copy link

config-directory, and then re-adding the

also work for me, great thanks!!!

@EDelsman
Copy link

Thanks, manually deleting "go2rtc-1.8.1" file from the Home Assistant config-directory, and then re-adding the WebRTC device via GUI as mentioned by @mylbeee also worked for me. Maybe the issue can be closed?

@nsimons
Copy link

nsimons commented Aug 17, 2024

Had this same issue. Noticed, that nothing was running at :1984. Resolved by manually deleting "go2rtc-1.8.1" file from the Home Assistant config-directory, and then re-adding the WebRTC device via GUI.

Can also confirm this worked for me.

@AlexxIT AlexxIT self-assigned this Sep 3, 2024
@AlexxIT AlexxIT added this to the v3.6.0 milestone Oct 6, 2024
AlexxIT added a commit that referenced this issue Oct 12, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Oct 12, 2024

@AlexxIT AlexxIT closed this as completed Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests