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.

[Help] - port 1935 seems to be hardcoded rather than using ENV or exposed port

See original GitHub issue

Describe the bug I have another docker using port 1935 (an RTMP server). When I change the port to say 1933 - it only exposes that port in the docker. All RTMP requests are still being sent to x.x.x.x:1935/live I’m getting all of the rtmp requests appearing in the other docker logs

I’m guessing somewhere <IP>:1935 should be <IP>:<RTMP_port>

Version of frigate latest docker

Other logs logs

10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34966 path=/live/back
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34968 path=/live/doorbell_1
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34970 path=/live/driveway
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34972 path=/live/front
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34976 path=/live/living_room
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34974 path=/live/kitchen
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34978 path=/live/side
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34988 path=/live/back
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34992 path=/live/doorbell_1
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:34996 path=/live/driveway
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35000 path=/live/front
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35004 path=/live/kitchen
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35008 path=/live/living_room
10 Feb 21 14:57 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35012 path=/live/side
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35692 path=/live/doorbell_1
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35696 path=/live/back
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35700 path=/live/driveway
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35706 path=/live/front
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35708 path=/live/kitchen
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35714 path=/live/living_room
10 Feb 21 14:58 PST WRN Invalid RTMP stream requested client_addr=192.168.1.202:35716 path=/live/side

Computer Hardware

  • OS: Unraid OS
  • Install method: Docker - Community Add-on
  • Coral Version: PCIe
  • Network Setup: Unifi APs, USG & Cloud Key Gen2+

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
blakeblackshearcommented, Feb 16, 2021

That makes more sense. Go ahead and open an issue.

0reactions
jaburgescommented, Feb 16, 2021

Ok, realized I need this for the HomeAssistant component, then made me think, could it be the HA component that is requesting the streams from IP:1935?

There is nowhere in the HA component that allows the RTMP port to be configured, so assuming that is the thing that is hard coded? @blakeblackshear should I open an issue on the custom_component repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why not hard-code the port number for an application ... - Reddit
Suppose I am creating an Express app that will be dockerized. What's wrong with making it listen to a hard-coded port, e.g. 8080:...
Read more >
tableau_server_linux.pdf - Tableau Help
Specify ports that should not be used during dynamic port allocation ... Star and snowflake with measures in more than one table.
Read more >
What is process.env.PORT in Node.js? - Stack Overflow
If you are using this in windows machine, first you'll have to set the PORT variable as "set PORT=3300", then in the next...
Read more >
Changelog - Apache Tomcat 8 (8.5.66)
Ensure that all HTTP requests that contain an invalid character in the protocol component of the request line are rejected with a 400...
Read more >
Change log for 4.8.40
Port #730; Updating ose-cli-artifacts builder & base images to be consistent with ART #735 ... read etcd-operator SA token rather than using prometheus...
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