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

nginx error "host not found" while pushing to other stream services #24

Open
bennyevangelista opened this issue Mar 6, 2021 · 2 comments

Comments

@bennyevangelista
Copy link

bennyevangelista commented Mar 6, 2021

I just started using nginx-rtmp-docker to test a self-hosted stream server, but when I try to push stream to multiple services (Twitch, facebook, youtube, ..) nginx doesn't start due to error:

nginx: [emerg] host not found in url "live.twitch.tv/app/......"

I'm aware this is something related to DNS resolving, and using a real IP the stream is correctly pushed, but I didn't found any solution to this. Is there a workaround?

Here's my nginx.conf file

worker_processes auto;
rtmp_auto_push on;
events {}



rtmp {


     server {

        listen 1935;
        listen [::]:1935 ipv6only=on;

        application live{

            live on;
            record off;
            push rtmp://live.twitch.tv/app/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            
}

Am I missing something?

@nlitz88
Copy link

nlitz88 commented Jan 17, 2022

While I don't receive the "host not found" error, I am also unable to push my incoming streams to other RTMP servers. I am fairly certain it's not due to my nginx configuration. Were you able to get this image working?

@abhemanyus
Copy link

I'm having the same issue in my docker container cluster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants