If OBS failed to connect to server when you pressed Start Streaming, it couldn't open a connection to the streaming platform's server. Read the line under the message first, since OBS usually says why. Then work through four checks: the server address and stream key, a different server, and the IP Family setting. Last, look for anything on your computer that might block the connection, such as security software or a VPN.
Messages below match OBS Studio 33.0.1 and its source code. For problems that start after the stream is live, see the rest of the troubleshooting guides.
If the stream connects but the game is black, see the game capture guide.
If OBS failed to connect to server, read the exact message
OBS has several connection errors with similar titles. Their wording narrows down where to look.
| OBS message | Where to look first |
|---|---|
| Failed to connect to server | The detail line below it, then the server address and your network |
| Could not access the specified channel or stream key, please double-check your stream key. If it is correct, there may be a problem connecting to the server. | The stream key, then the server |
| Invalid Path or Connection URL | The Server field, which OBS says to check for a valid address |
| Custom RTMP URL not specified | The Server field on a Custom service, which is empty |
| An unexpected error occurred when trying to connect to the server. More information in the log file. | The OBS log file |
The stream key message has its own guide: the stream key error guide covers a key that's right and still refused.
The detail line under Failed to connect to server
For RTMP streams, OBS often adds a second sentence that names the network error. These come from OBS's RTMP output code, and each points at a different fix.
| Detail OBS shows | What it means | First fix |
|---|---|---|
| Hostname not found | The server name couldn't be looked up | Check the server address for typos; check your internet and DNS |
| The connection timed out | No answer came back | Check the service is set correctly and no firewall is blocking OBS |
| The connection was blocked | Something on your computer refused it | Allow OBS full internet access in your firewall or antivirus |
| Error reaching host | The route to the server failed | Check Bind to IP and IP Family in Settings, Advanced, Network |
| Hostname found, but no data of the requested type | An address family mismatch, often IPv6 against an IPv4-only service | Set IP Family back to the default or to IPv4 Only |
| Address not available | Bind to IP points at an address you don't have | Set Bind to IP to Default |
| The connection was aborted, or reset by the peer | The link broke during setup | Treat it as a network problem between you and the service |
| The RTMP server sent an invalid SSL certificate | A secure connection couldn't be verified | Check the system clock; test without a VPN or proxy |
If the box shows only the first line, open Help, Log Files, View Current Log and search for the failed attempt. The same detail is usually written there.
The server address and key
Open Settings, then Stream. On a Custom service, Server and Stream Key must match exactly what the platform gives you, with no extra spaces. The server goes in Server and the key goes in Stream Key. Pasting the whole address with the key on the end into Server is a common way to get Invalid Path or Connection URL.
Keys change. Twitch resets your key whenever you change your password, so a key that worked last week may not work now; copy a fresh one from the platform. Some accounts can't stream yet at all. YouTube says enabling live streaming the first time can take up to 24 hours, as the YouTube requirements guide explains. TikTok key access depends on approval, covered in the TikTok LIVE requirements guide.
If you picked the platform from the Service list rather than Custom, check you're signed in to the right account. A pasted key must belong to the account the service is set for. A key copied from a second channel won't work on the first.
A different server, and IPv4 only
The OBS Knowledge Base suggests trying another server from the Server setting in Settings, Stream. On services with a list, pick another nearby location. For Twitch on Windows, it points to TwitchTest to find the server with the best Quality score.
It also suggests changing IP Family to IPv4 Only, under Settings, Advanced, Network. If that makes no difference, set it back to the default, which the setting labels IPv4 and IPv6 (Default). In the same section, Bind to IP should be Default. Two of the detail messages above, Error reaching host and Address not available, point straight at these settings.
Another quick test is a different service. The Knowledge Base suggests streaming to another platform, such as YouTube if you use Twitch, to see whether the problem belongs to one service or to your connection.
Software that can block the connection
Turn off security software for one test, then turn off any VPN. The OBS guide recommends both as checks. If either fixes it, add an exception for OBS rather than leaving protection off.
The Knowledge Base also names network tools bundled with some computers. Lenovo Vantage's Network Boost and the Killer NIC software suite can deprioritize OBS, and it suggests turning off the first and reinstalling the second with drivers only. On Windows, it mentions R1TCPOptimizer for resetting network settings to a known good state.
Networks you don't control are a separate case. School, office and hotel networks often block the ports streaming uses, and no setting in OBS changes that. Test once from a home connection or a phone hotspot to rule it out. If the stream connects there straight away, the network you were on is the cause, and its administrator is the only one who can open it.
If none of this works, open Help, Log Files, View Current Log in OBS and read the lines around the failed attempt. Router, cable and Wi-Fi checks are in the dropped frames guide.
Failed to connect to any servers in the Auto-Configuration Wizard
The Auto-Configuration Wizard runs its own bandwidth test before you stream. When it can't reach anything, it shows: Failed to connect to any servers, please check your internet connection and try again.
This is the same problem with a different message, so the same checks apply: the service and key, IP Family, security software and VPN. The wizard is optional. If it keeps failing, cancel it and set the bitrate yourself from your measured upload, then try a real test stream. A real stream gives you the detail line, which the wizard doesn't.
Connected, then disconnected
A rising Dropped Frames (Network) count means the connection opened but can't keep up with your bitrate, per the OBS Knowledge Base. That's the dropped frames problem. OBS's Automatically Reconnect option, with Retry Delay and Maximum Retries, controls what happens when a live connection drops.
If the stream starts and later shows Disconnected from server, the first connection worked, so the address and key are fine. The cause is the link's stability, which the disconnecting guide works through.
Questions about OBS connection errors
Why does OBS say failed to connect when my internet works?
The stream goes to the platform's ingest server, not to the websites you're browsing. That server can be the wrong one or unreachable from your network. Security software, a VPN or a school or office firewall can block the stream while web pages still load. Read the detail line under the error, then try another server.
Does a wrong stream key cause Failed to connect to server?
Usually not. OBS has a separate message for key problems: Could not access the specified channel or stream key. That message means the server answered and refused the key. OBS adds that if the key is correct, there may be a problem connecting to the server, so check both the key and the server address.
What does Hostname not found mean in OBS?
OBS couldn't turn the server name into an address. Its message says to make sure you entered a valid streaming server and that your internet connection and DNS are working. Check the Server field for typos or extra characters. If it's correct, test another server from the list, or restart your router.
What does Error reaching host mean in OBS?
OBS's message says to make sure the interface you've bound can reach the internet, and that the service supports the address family you selected. In practice, open Settings, Advanced, Network. Set Bind to IP to Default and IP Family to IPv4 and IPv6 (Default), or try IPv4 Only for one test.
Why does OBS say the connection timed out?
OBS sent a request and got no answer. Its message says to check that you've set a valid streaming service and that no firewall is blocking the connection. Turn off security software and any VPN for one test. If that fixes it, add an exception for OBS rather than leaving them off.
What does Invalid Path or Connection URL mean in OBS?
The Server field is wrong. Often the whole address with the key on the end was pasted into Server; the key belongs in Stream Key.
What does The connection was blocked mean in OBS?
Something on your computer refused it. Allow OBS full internet access in your firewall or antivirus.
Can a school or office network stop OBS connecting?
Yes. Such networks often block streaming ports. Test from home or a phone hotspot; only the network's administrator can open them.
What does Failed to connect to any servers mean in the OBS wizard?
The wizard's bandwidth test couldn't reach a server. Check the service, key, IP Family, security software and VPN, or skip the wizard and set bitrate yourself.
What does Address not available mean in OBS?
Bind to IP points at an address you don't have. Set it back to Default in Settings, Advanced, Network.
Sources and checks
7 sources, checked November 15, 2026
Platform and app documentation changes. These sources were checked on the dates shown.
- OBS Knowledge Base: Stream Connection Troubleshooting, checked November 15, 2026
- OBS Studio obs-outputs locale: plugins/obs-outputs/data/locale/en-US.ini, checked November 15, 2026
- OBS Studio locale: frontend/data/locale/en-US.ini, checked November 15, 2026
- Twitch Help: Twitch Stream Key FAQ, checked November 15, 2026
- YouTube Help: Create a YouTube live stream with an encoder, checked November 4, 2026
WaveSync app and source checks cited on this page:
- OBS Studio 32.2.2 connection error messages, network, reconnect and Help menu labels, read from the installed app on the WaveSync test Mac (macOS) on 4 November 2026.
- On 15 November 2026 every connection message quoted here, including the RTMP detail lines and the Auto-Configuration Wizard failure, was confirmed unchanged in OBS Studio 33.0.1's frontend and obs-outputs locale files.
WaveSync makes the interactive side easy
WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.
See how WaveSync works →