Disconnects 3-5 times during hour long stream

tobucc

New Member
I stream to Facebook Live once a week. For a few weeks now, the stream drops (seemingly) randomly a few times. It reconnects fairly quickly but it's annoying. I've reinstalled windows and OBS. Log attached. See 10:08:46, 10:20:31,10:32:16, 10:44:01

Any help would be greatly appreciated!
 

Attachments

10:08:46.873: WriteN, RTMP send error 10053 (4104 bytes)
10:08:46.873: WriteN, RTMP send error 10053 (111 bytes)
10:08:46.873: WriteN, RTMP send error 10038 (42 bytes)
10:08:46.873: [rtmp stream: 'simple_stream'] Disconnected from rtmps://rtmp-api.facebook.com:443/rtmp/
10:08:46.873: Output 'simple_stream': stopping
10:08:46.873: Output 'simple_stream': Total frames output: 20976
10:08:46.873: Output 'simple_stream': Total drawn frames: 21029 (21038 attempted)
10:08:46.873: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.0%)
10:08:46.873: Output 'simple_stream': Reconnecting in 10 seconds..
Your network connection to the Facebook ingest server is being lost. This is not something OBS causes, or can correct.
You need to fix your network so it doesn't drop connection.
 
Your network connection to the Facebook ingest server is being lost. This is not something OBS causes, or can correct.
You need to fix your network so it doesn't drop connection.

That's helpful to know. Thank you. Any advice on what I have to fix on the network?
 
That's helpful to know. Thank you. Any advice on what I have to fix on the network?
Unfortunately that is a very wide field. If it was me, I'd start by going into the modem/router, and see if they received a connection-loss or restart. If they did, you'd need to speak with your ISP to resolve the connection issue.
If you have a consumer grade standalone 'home router' as well as a separate modem, make sure it did not crash and reboot at that time. High-throughput constant-throughput connections can overwhelm some less-well-designed units' network buffers over time and cause a crash.

But there are a LOT of things it could be, up to and including the remote server simply dropping the connection (which would need Facebook support to fix). Step one is to figure out where the connection is actually dropping.

It could be:
-Your computer's NIC having a problem
-The cable from your NIC to the switch (if equipped)
-The switch (if equipped)
-The cable to your router
-Your router (if equipped)
-The cable between your router and modem
-Your modem
---(Stuff you can fix yourself ends here)---
-The connection between your modem and the local concentrator
-Your ISP's intranet link
-Your ISP's backbone uplink
-The backbone link to the local downlink
-The local downlink to the local intranet
-The intranet connection to the ingest server
-The ingest server itself

Cables tend not to have an intermittent fail like this, but should not be forgotten-about. Switches generally don't have internal logging unless they're managed switches, which are VERY uncommon in home setups. Routers and modems tend to have internal logging, but a lot of the time it's cleared on reboot, so you'd be looking for a log-start around the time your connection came back, or an entry specifying a connection loss or system startup at that time. If it's a connection loss from the modem, that'd be something to talk to your ISP about.

Unfortunately, as noted it's a VERY wide field to troubleshoot.
 
Thank you so much. It's helpful to have some things to look at.


Unfortunately that is a very wide field. If it was me, I'd start by going into the modem/router, and see if they received a connection-loss or restart. If they did, you'd need to speak with your ISP to resolve the connection issue.
If you have a consumer grade standalone 'home router' as well as a separate modem, make sure it did not crash and reboot at that time. High-throughput constant-throughput connections can overwhelm some less-well-designed units' network buffers over time and cause a crash.

But there are a LOT of things it could be, up to and including the remote server simply dropping the connection (which would need Facebook support to fix). Step one is to figure out where the connection is actually dropping.

It could be:
-Your computer's NIC having a problem
-The cable from your NIC to the switch (if equipped)
-The switch (if equipped)
-The cable to your router
-Your router (if equipped)
-The cable between your router and modem
-Your modem
---(Stuff you can fix yourself ends here)---
-The connection between your modem and the local concentrator
-Your ISP's intranet link
-Your ISP's backbone uplink
-The backbone link to the local downlink
-The local downlink to the local intranet
-The intranet connection to the ingest server
-The ingest server itself

Cables tend not to have an intermittent fail like this, but should not be forgotten-about. Switches generally don't have internal logging unless they're managed switches, which are VERY uncommon in home setups. Routers and modems tend to have internal logging, but a lot of the time it's cleared on reboot, so you'd be looking for a log-start around the time your connection came back, or an entry specifying a connection loss or system startup at that time. If it's a connection loss from the modem, that'd be something to talk to your ISP about.

Unfortunately, as noted it's a VERY wide field to troubleshoot.
 
And then there is the chance you have something else on the network consuming bandwidth causing the problem
So as a basic troubleshooting step, eliminate other devices from network (not just not in active use, either off or for things like a Roku, unplug/powered off. WiFi devices in airplane mode, etc).

Also, it appears you are using a USB Ethernet adapter... so there is a chance your PC getting overwhelmed and being unable to keep up and in the process of compromising, your network traffic/USB connection is losing out.. An overwhelmed USB Root Hub seems unlikely but possible

The rendering and encoding dropped frames (of 0.1%) may indicate your CPU is at its limit with your current settings. You may need to make sure unnecessary background processes are disabled (and/or turning off some of Win10 eye candy, or other OS optimizations)
 
I'm trying it on another network now and still having the same issues. This is wifi without the USB adaptor.
 
I'm trying it on another network now and still having the same issues. This is wifi without the USB adaptor.
Streaming over wifi is never recommended. Absolutely run a network cable.
Wifi is EXTREMELY susceptible to interference and drop-outs, along with being a shared bandwidth space. So if you are running on Channel 6 and your neighbor is on their own wifi network also on channel 6, and they start transferring a file, YOUR network will slow down.
 
I mentioned that *if* your computer is overwhelmed, that the OS interrupts for the USB adapter my become unstable, and cause a network traffic issue. The USB adapter itself isn't the issue... the overloaded system is. In a really rare scenario could I see the USB being a problem and WiFi working, and even then, I wouldn't recommend sticky with WiFi
That said, your continued issue would indicate that the USB adapter itself isn't the issue if the problem persists when not using it.

that just leaves all the rest of the suggestions (yes, it gets technical and complicated quickly)
 
Thanks for the clarification. I'm trying to remove bloatware, update or uninstall drivers, etc. Nothing seems to be making a difference. So frustrating.
 

Attachments

Again, step 1 is to figure out where the disconnect is happening. Check your router and modem's internal logfiles first thing.
 
Back
Top