If OBS’s installation is old, it may be unable to connect to the server. Furthermore, the issue might be caused by incorrect Bind IP or MTU setup. When the user attempts to stream with the OBS program (independent of the streaming service), he receives the following sort of message:
The connection to the server was broken. The link has expired. Make sure you’ve set up a working streaming service and that no firewall is interfering with the connection.
Check if you can stream in OBS on a different network or on a different device on the same network before going on to the methods to repair OBS failed to connect to the server. Check to see if the streaming service’s servers are operational. Also, make sure that Wi-Fi is turned on (even if you are using an Ethernet cable). Also, make sure the Ethernet wire is connected to a conventional Ethernet port rather than a 10GE port. Also, see if restarting your computer and networking equipment fixes the issue. Last but not least, if you’re hosting a Vodcast, make sure it’s finished before trying to stream with OBS.
7 Solutions of “OBS Is Failed to Connect to Server”
Solution 1: Make a New Stream Key and Re-Enter It
A temporary glitch between the OBS application and streaming service may cause the server issue and may get cleared after re-entering the Streaming key after resetting the key. For illustration, we will discuss the process for Facebook Live, you may follow the instructions as per your streaming service.
- Launch the Facebook in a web browser and click on the Live Video (in the new post section).
2. Next, choose Use Stream Key and scroll down to the bottom.
3. Next, click Reset (next to the Stream Key) and copy the Stream Key.
4. Then open OBS and go to Settings (near the bottom of the screen).
5. Then launch OBS and navigate to the Settings menu (near the bottom of the screen).
6. Then, after making your adjustments, check to see if OBS is broadcasting normally.
Whether the problem remains, see if switching to a different account (e.g., a different Twitch account if the problem is with Twitch) fixes the OBS problem.
Solution 2: In OBS, Enable Dynamic Bitrate
If the frames drop throughout the streaming process, you may be experiencing the problem at hand. In this scenario, activating Dynamic Bitrate could be the solution (this option is only available on OBS version 24 and above).
- Open OBS and go to the Settings tab.
2. Select Advanced from the left pane, and then scroll down to the bottom of the right window.
3. Then, in the Network section, select Dynamically Change Bitrate to Manage Congestion from the drop-down menu (just under Bind to IP).
4. Apply your modifications and reopen OBS to see whether everything is working properly.
Solution 3: Update Your System’s Obs and OS to the Most Recent Build
If the OBS program or your system’s OS is old, the warning “Failed to connect to server” may appear. This is due to incompatibility between the two (as well as with the servers you want to stream). In this case, upgrading your system’s OBS and OS to the most recent build may resolve the issue.
A. Update the OBS software.
- Open the Help menu in the OBS application after it has been launched.
2. Now choose Check for Updates and, if one is available, install it.
3. Then restart your computer to see whether the OBS is operating properly.
B. Update your system’s operating system.
We’ll use a Mac as an example, but you may upgrade your system by following the instructions for your particular operating system.
- Open Software Update from the Apple Preferences menu.
2. Now, see whether an OS update is available; if so, install it and reboot the device to see if the OBS program is no longer experiencing the failed to connect to server issue.
Solution 4: Change the Streaming Server
If the server is unavailable, the OBS program may be unable to connect to it. Changing the streaming server to a new location may be the solution in this scenario. For the sake of demonstration, we’ll look at the Twitch service. However, before proceeding, a port scanner should be used to verify that the server port is open. If this is the case, verify that some application is listening on the open port.
- Click Settings in the OBS program after it has been launched.
2. Now go to the Stream tab and expand the Server dropdown (for some distant servers, you may have to lower the bitrate).
3. Then choose a new server and make your modifications there.
4. Relaunch the program and see if the OBS is no longer affected by the server problem. If the problem remains, you can try each server in the OBS one at a time to resolve it.
You can use the Twitch Test program (or Ping the server) to identify the best server for you if you’re having difficulties locating one. To resolve the OBS issue for some services, you may alternatively use the auto-configure option.
Solution 5: Go to Advanced Network Settings and change the Bind IP Option
If the Bind IP option in the Advanced Network settings is not properly set up, the OBS program may fail to connect to a server. In this case, properly setting Bind IP may be enough to remedy the issue.
- Open the OBS program and go to the Settings tab.
2. Now navigate to the Advanced tab in the left pane and scroll to the bottom of the screen in the right pane.
3. Then, under the Network section, expand the Bind to IP selection and choose Default.
4. If it’s not already set to Default, enter your system’s IP address (ideally IPv4) as the network connection name. If the Bind to IP option is greyed off, ensure sure all OBS outputs, such as NDI, virtual camera, and so on, are disabled before trying again).
5. Now test if the OBS can connect to the server once you’ve made your adjustments.
Solution 6: Allow the OBS to Get via Your System’s Firewall
If your system’s Firewall prevents access to a resource required for the OBS application’s functionality, you may be unable to stream through the OBS. Allowing the OBS via your system’s Firewall settings may solve the problem in this case. We’ll go over the steps for setting up Windows Defender Firewall for clarity.
- Open Windows Defender Firewall with Advanced Security by clicking Windows, typing Firewall, then clicking OK.
2. Make sure no rule is preventing OBS in the Outbound Rules and Inbound Rules tabs (e.g., select Inbound Rules and press the O key to check for OBS entry).
3. Then, on the left pane, expand the Action menu by selecting Outbound Rules.
4. Now open New Rule and pick the Program radio option.
5. Then click Next, and then Browse (in front of This Program Path).
6. Now go to OBS’ installation directory and find the EXE file that corresponds to your OS version (for example, OBS64.exe in the /bin/64bit subdirectory of the installation directory).
7. Once the route has been added to the Firewall box, click Next and choose the Allow Connection option choice.
8. Then choose the Profile that best suits your needs (for testing, pick all three options: Domain, Private, and Public) and click Next.
9. Now, fill in the name and description as needed, and then click Next.
10. Then reset your computer and see whether OBS can stream without any problems.
Solution 7: Restore the Factory Default Settings on the Router
Resetting the router to factory default has been found to resolve the OBS issue. The router may be reset using either a button on the device or the router’s web interface.
A. Through the use of a button, the system may be reset.
1. Locate the Reset button, which may be found on the router’s bottom or rear.
2. For at least 30 seconds, press and hold the reset button.
3. Wait until it is fully reset and switched on before releasing the reset button.
B. Using the Web Portal to Reset
1. Open your browser and navigate to the router’s default gateway. The IPConfig command on the command prompt may be used to find the default gateway.
2. Log in to the router’s website using your credentials.
3. Go to System or General and look for the option to Reset Settings or Restore Defaults. Confirm that you want to reset the router, and then wait for it to restart.
When trying to stream with the OBS program, several users have received the Failed to Connect to Server problem. I hope this information has assisted you in resolving the issue.