Question / Help "Failed to connect to server" error with OBS and YouTube

smallblockzach

New Member
Having trouble connecting to YouTube from a new location. I understand this points to an issue related to the internet connection, but the connection works fine in all other ways that I can tell and I've tried simulating a connection to locate the issue. There's no known firewall other than a software firewall on the computer that we've added a rule to and disabled at different times with no joy.

If I have them try a traceroute on port 1935 to a.rtmp.youtube.com they're able to get off the network (command below), is there a better way to test/troubleshoot that?

traceroute -p 1935 a.rtmp.youtube.com

So far we've tried alternate servers in the app, refreshing DNS, using google DNS servers exclusively (8.8.8.8, 8.8.4.4) and disabling all firewall/antivirus software while trying. No noticeable change.

One of their log files is attached.

They consistently get a message "Failed to connect to server" and the connection logs show a couple lines before quitting.

15:45:42.422: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://b.rtmp.youtube.com/live2?backup=1...
15:46:52.620: RTMP_Connect0, failed to connect socket: unknown error (64)
15:46:52.620: [rtmp stream: 'adv_stream'] Connection to rtmp://b.rtmp.youtube.com/live2?backup=1 failed: -2

I'm not actually at the location, and I'm trying to help someone remotely, so a bit limited in what I can confirm. I'm out of ideas, so hoping for a fix or at least some troubleshooting suggestions.

Thanks for any help.
 

Attachments

  • 2016-07-21 15-40-33.txt
    14.1 KB · Views: 31

Harold

Active Member
if there's no valid ipv6 route to youtube, but ipv6 is enabled, it will still attempt and then fail. It won't failover to ipv4.
 

smallblockzach

New Member
@Harold - that seemed to work. Thanks for your time.

One more questions if you don't mind. Is that a program (OBS) problem, OS problem, ISP problem, or just an internet architecture issue? I haven't run into it before.

Thanks again.
 
Top