Bug Report Disconnecting under pressure

KlownTown

New Member
Hey! I've had this issue before but recently it has been happening pretty much all the time! A couple of minutes after I start streaming I get disconnected from the game and the stream goes offline. The funny thing is that I can still chat with my viewers and search on the internet, although it is abit slow (I've got 30mbit/s down and around 5mbit/s up). This happens only when I stream so I'm guessing its cause of the heavy pressure on the internet. I've tried with Xsplit, lowered all settings, but it keeps happening. This issue is driving me crazy, any help would be highly appreciated.

KlownTown


Heres my log:
Code:
00:44:19: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
00:44:19: -------------------------------
00:44:19: CPU Name: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
00:44:19: CPU Speed: 3074MHz
00:44:19: Physical Memory:  4095MB Total, 4095MB Free
00:44:19: stepping id: 5, model 10, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
00:44:19: monitor 1: pos={0, 0}, size={1920, 1080}
00:44:19: Windows Version: 6.2 Build 9200 
00:44:19: Aero is Enabled
00:44:19: -------------------------------
00:44:19: OBS Modules:
00:44:19: Base Address     Module
00:44:19: 003F0000         OBS.exe
00:44:19: 69A40000         OBSApi.dll
00:44:19: 719F0000         DShowPlugin.dll
00:44:19: 70470000         GraphicsCapture.dll
00:44:19: 70450000         NoiseGate.dll
00:44:19: ------------------------------------------
00:44:19: Adapter 1
00:44:19:   Video Adapter: NVIDIA GeForce GTX 460
00:44:19:   Video Adapter Dedicated Video Memory: 1025966080
00:44:19:   Video Adapter Shared System Memory: 2948130816
00:44:19: =====Stream Start: 2013-05-18, 00:44:19===============================================
00:44:19:   Multithreaded optimizations: Off
00:44:19:   Base resolution: 1920x1080
00:44:19:   Output resolution: 1280x720
00:44:19: ------------------------------------------
00:44:19: Loading up D3D10...
00:44:19: Playback device Default
00:44:19: ------------------------------------------
00:44:19: Using desktop audio input: Högtalare (Sound Blaster Tactic(3D) Alpha)
00:44:19: ------------------------------------------
00:44:19: Using auxilary audio input: Mikrofon (Sound Blaster Tactic(3D) Alpha)
00:44:19: ------------------------------------------
00:44:19: Audio Encoding: AAC
00:44:19:     bitrate: 128
00:44:19: ------------------------------------------
00:44:19: Video Encoding: x264
00:44:19:     fps: 25
00:44:19:     width: 1280, height: 720
00:44:19:     preset: veryfast
00:44:19:     CBR: no
00:44:19:     CFR: no
00:44:19:     max bitrate: 2000
00:44:19:     buffer size: 1000
00:44:19:     quality: 7
00:44:19: ------------------------------------------
00:44:21: Using RTMP service: Twitch / Justin.tv
00:44:21:   Server selection: rtmp://live-ams.justin.tv/app
00:44:22: SO_SNDBUF was at 65536
00:44:22: SO_SNDBUF is now 65536
00:44:47: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
00:44:47: Total frames rendered: 714, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
00:44:47: librtmp error: WriteN, RTMP send error 10053 (79 bytes)
00:44:47: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
00:44:47: Number of times waited to send: 0, Waited for a total of 0 bytes
00:44:47: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:44:47: =====Stream End: 2013-05-18, 00:44:47=================================================
00:44:58: =====Stream Start: 2013-05-18, 00:44:58===============================================
00:44:58:   Multithreaded optimizations: Off
00:44:58:   Base resolution: 1920x1080
00:44:58:   Output resolution: 1280x720
00:44:58: ------------------------------------------
00:44:58: Loading up D3D10...
00:44:58: Playback device Default
00:44:58: ------------------------------------------
00:44:58: Using desktop audio input: Högtalare (Sound Blaster Tactic(3D) Alpha)
00:44:58: ------------------------------------------
00:44:58: Using auxilary audio input: Mikrofon (Sound Blaster Tactic(3D) Alpha)
00:44:58: ------------------------------------------
00:44:58: Audio Encoding: AAC
00:44:58:     bitrate: 128
00:44:58: ------------------------------------------
00:44:58: Video Encoding: x264
00:44:58:     fps: 25
00:44:58:     width: 1280, height: 720
00:44:58:     preset: veryfast
00:44:58:     CBR: no
00:44:58:     CFR: no
00:44:58:     max bitrate: 2000
00:44:58:     buffer size: 1000
00:44:58:     quality: 7
00:44:58: ------------------------------------------
00:45:00: Using RTMP service: Twitch / Justin.tv
00:45:00:   Server selection: rtmp://live-ams.justin.tv/app
00:45:11: SO_SNDBUF was at 65536
00:45:11: SO_SNDBUF is now 65536
00:45:45: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
00:45:45: Total frames rendered: 1189, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
00:45:45: librtmp error: WriteN, RTMP send error 10053 (79 bytes)
00:45:45: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
00:45:45: Number of times waited to send: 0, Waited for a total of 0 bytes
00:45:45: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:45:45: =====Stream End: 2013-05-18, 00:45:45=================================================
00:46:42: =====Stream Start: 2013-05-18, 00:46:42===============================================
00:46:42:   Multithreaded optimizations: Off
00:46:42:   Base resolution: 1920x1080
00:46:42:   Output resolution: 1280x720
00:46:42: ------------------------------------------
00:46:42: Loading up D3D10...
00:46:42: Playback device Default
00:46:42: ------------------------------------------
00:46:42: Using desktop audio input: Högtalare (Sound Blaster Tactic(3D) Alpha)
00:46:42: ------------------------------------------
00:46:42: Using auxilary audio input: Mikrofon (Sound Blaster Tactic(3D) Alpha)
00:46:42: ------------------------------------------
00:46:42: Audio Encoding: AAC
00:46:42:     bitrate: 128
00:46:42: ------------------------------------------
00:46:42: Video Encoding: x264
00:46:42:     fps: 25
00:46:42:     width: 1280, height: 720
00:46:42:     preset: veryfast
00:46:42:     CBR: no
00:46:42:     CFR: no
00:46:42:     max bitrate: 2000
00:46:42:     buffer size: 1000
00:46:42:     quality: 7
00:46:42: ------------------------------------------
00:46:44: Using RTMP service: Twitch / Justin.tv
00:46:44:   Server selection: rtmp://live-ams.justin.tv/app
00:46:46: SO_SNDBUF was at 65536
00:46:46: SO_SNDBUF is now 65536
00:46:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:46:48:   New Scene
00:47:03: Using graphics capture
00:47:07: SharedTexCapture hooked
00:48:37: GraphicsCaptureSource::NewCapture:  eliminating old capture
00:48:37: SharedTexCapture hooked
00:51:40: GraphicsCaptureSource::NewCapture:  eliminating old capture
00:51:40: SharedTexCapture hooked
00:53:39: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
00:53:39: Total frames rendered: 10231, number of frames that lagged: 47 (0.46%) (it's okay for some frames to lag)
00:53:39: okay, this is strange
00:53:39: librtmp error: WriteN, RTMP send error 10053 (79 bytes)
00:53:39: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
00:53:39: Number of times waited to send: 2, Waited for a total of 316 bytes
00:53:39: Number of b-frames dropped: 39 (0.39%), Number of p-frames dropped: 36 (0.36%), Total 75 (0.74%)
00:53:39: =====Stream End: 2013-05-18, 00:53:39=================================================
00:53:49: =====Stream Start: 2013-05-18, 00:53:49===============================================
00:53:49:   Multithreaded optimizations: Off
00:53:49:   Base resolution: 1920x1080
00:53:49:   Output resolution: 1280x720
00:53:49: ------------------------------------------
00:53:50: Loading up D3D10...
00:53:50: Playback device Default
00:53:50: ------------------------------------------
00:53:50: Using desktop audio input: Högtalare (Sound Blaster Tactic(3D) Alpha)
00:53:50: ------------------------------------------
00:53:50: Using auxilary audio input: Mikrofon (Sound Blaster Tactic(3D) Alpha)
00:53:50: ------------------------------------------
00:53:50: Audio Encoding: AAC
00:53:50:     bitrate: 128
00:53:50: Using graphics capture
00:53:50: ------------------------------------------
00:53:50: Video Encoding: x264
00:53:50:     fps: 25
00:53:50:     width: 1280, height: 720
00:53:50:     preset: veryfast
00:53:50:     CBR: no
00:53:50:     CFR: no
00:53:50:     max bitrate: 2000
00:53:50:     buffer size: 1000
00:53:50:     quality: 7
00:53:50: ------------------------------------------
00:53:50: SharedTexCapture hooked
00:53:52: Using RTMP service: Twitch / Justin.tv
00:53:52:   Server selection: rtmp://live-ams.justin.tv/app
00:54:00: GraphicsCaptureSource::NewCapture:  eliminating old capture
00:54:00: SharedTexCapture hooked
00:54:02: SO_SNDBUF was at 65536
00:54:02: SO_SNDBUF is now 65536
00:54:47: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
00:54:47: Total frames rendered: 1397, number of frames that lagged: 19 (1.36%) (it's okay for some frames to lag)
00:54:47: librtmp error: WriteN, RTMP send error 10053 (79 bytes)
00:54:47: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
00:54:47: Number of times waited to send: 4, Waited for a total of 16402 bytes
00:54:47: Number of b-frames dropped: 36 (3.5%), Number of p-frames dropped: 78 (7.5%), Total 114 (11%)
00:54:47: =====Stream End: 2013-05-18, 00:54:47=================================================
00:54:57: =====Stream Start: 2013-05-18, 00:54:57===============================================
00:54:57:   Multithreaded optimizations: Off
00:54:57:   Base resolution: 1920x1080
00:54:57:   Output resolution: 1280x720
00:54:57: ------------------------------------------
00:54:57: Loading up D3D10...
00:54:57: Playback device Default
00:54:57: ------------------------------------------
00:54:57: Using desktop audio input: Högtalare (Sound Blaster Tactic(3D) Alpha)
00:54:57: ------------------------------------------
00:54:57: Using auxilary audio input: Mikrofon (Sound Blaster Tactic(3D) Alpha)
00:54:57: ------------------------------------------
00:54:57: Audio Encoding: AAC
00:54:57:     bitrate: 128
00:54:57: Using graphics capture
00:54:57: ------------------------------------------
00:54:57: Video Encoding: x264
00:54:57:     fps: 25
00:54:57:     width: 1280, height: 720
00:54:57:     preset: veryfast
00:54:57:     CBR: no
00:54:57:     CFR: no
00:54:57:     max bitrate: 2000
00:54:57:     buffer size: 1000
00:54:57:     quality: 7
00:54:57: ------------------------------------------
00:54:57: SharedTexCapture hooked
00:54:59: Using RTMP service: Twitch / Justin.tv
00:54:59:   Server selection: rtmp://live-ams.justin.tv/app
00:55:01: SO_SNDBUF was at 65536
00:55:01: SO_SNDBUF is now 65536
00:55:36: GraphicsCaptureSource::NewCapture:  eliminating old capture
00:55:36: SharedTexCapture hooked
01:02:14: Total frames rendered: 10577, number of frames that lagged: 216 (2.04%) (it's okay for some frames to lag)
01:02:14: RTMPPublisher::SocketLoop: Aborting due to bStopping
01:02:14: Number of times waited to send: 0, Waited for a total of 0 bytes
01:02:14: Number of b-frames dropped: 1 (0.0095%), Number of p-frames dropped: 0 (0%), Total 1 (0.0095%)
01:02:14: =====Stream End: 2013-05-18, 01:02:14=================================================
01:02:15: 
01:02:15: Profiler results:
01:02:15: 
01:02:15: ==============================================================
01:02:15: frame - [100%] [avg time: 4.079 ms] [avg calls per frame: 1] [children: 85.8%] [unaccounted: 14.2%]
01:02:15: | scene->Preprocess - [0.0245%] [avg time: 0.001 ms] [avg calls per frame: 1]
01:02:15: | video encoding and uploading - [85.7%] [avg time: 3.497 ms] [avg calls per frame: 1] [children: 49.7%] [unaccounted: 36%]
01:02:15: | | CopyResource - [0.172%] [avg time: 0.007 ms] [avg calls per frame: 0]
01:02:15: | | conversion to 4:2:0 - [24.4%] [avg time: 0.996 ms] [avg calls per frame: 0]
01:02:15: | | call to encoder - [24.7%] [avg time: 1.006 ms] [avg calls per frame: 0]
01:02:15: | | sending stuff out - [0.466%] [avg time: 0.019 ms] [avg calls per frame: 0]
01:02:15: ==============================================================
01:02:15:
 

Krazy

Town drunk
If you have any AV/Firewall software, make sure to add an exception for OBS. Those RTMP socket errors typically mean some sort of third party software is interrupting/blocking the connection (usually firewall/AV)
 

KlownTown

New Member
Krazy, I have added an exception for OBS in the Windows firewall but I'm having issues with how to add exceptions in my antivirus. I'm using Avast antivirus, do you have any idea how to do it? And yes I have googled it but still couldnt figure it out..Thank you very much for your help
 

Krazy

Town drunk
No, sorry, I don't have any experience with Avast. Firewall exception SHOULD be enough, though.
 

KlownTown

New Member
Yep...that didnt work either. Stream goes offline and I get logged out. This is driving me insane, anyone else have an idea of the problem might be?
 

Tak0r

Member
happened to me back when i used a overloaded twitch node at prime time. Switching to another Twitch Server solved it for me back then. use jtvping and look at the numbers.
 

KlownTown

New Member
Tak0r, thank you for your help. Unfortunaly, this didnt seem to help either...can it be some ports that I have to forward or something like that?
 

Tak0r

Member
Not really getting a Capture of your network traffic and analyzing what happened with the Stream would be pretty much the only thing which would help us here i suppose. If you want, Install Wireshark and capture the Network traffic until a disconnect happens and then save the log to a pcap file and post it here.
 

Voxletum

Member
What is the name of your ISP? This seems like some sort of throttling.

You can try using CBR (Settings > Encoding > 'Use CBR') and let us know how that goes. I would expect it to disconnect you almost immediately.
 

dodgepong

Administrator
Community Helper
Please don't post your pcap log! That is a record of every bit of information that flows over your network. If it isn't transferred over SSL, it will be clear as day for anyone to read it...passwords, cookies, stream keys, everything. Posting that is a huge security risk!

Can you run ShaperProbe to see if your upload is being cut off? http://www.cc.gatech.edu/~partha/diffpr ... probe.html
 

KlownTown

New Member
Voxletum said:
What is the name of your ISP? This seems like some sort of throttling.

You can try using CBR (Settings > Encoding > 'Use CBR') and let us know how that goes. I would expect it to disconnect you almost immediately.
Thank you for your answer. The name of my ISP is TeliaSonera, im from sweden. I tried using CBR but it was pretty much the same result, I got disconnected after a couple of minutes and not instantly.
 

KlownTown

New Member
dodgepong said:
Please don't post your pcap log! That is a record of every bit of information that flows over your network. If it isn't transferred over SSL, it will be clear as day for anyone to read it...passwords, cookies, stream keys, everything. Posting that is a huge security risk!

Can you run ShaperProbe to see if your upload is being cut off? http://www.cc.gatech.edu/~partha/diffpr ... probe.html
Thank you dodgepong, I had no idea about that.
 

KlownTown

New Member
This is my results from ShaperProbe, hope this is safe to share >.<

DiffProbe release. January 2012. Build 1008.
Shaper Detection Module.

Connected to server 213.244.128.168.

Estimating capacity:
Upstream: 4768 Kbps.
Downstream: 30499 Kbps.

The measurement will take upto 2.5 minutes. Please wait.

Checking for traffic shapers:

Upstream: No shaper detected.
Median received rate: 4666 Kbps.

Downstream: No shaper detected.
Median received rate: 29829 Kbps.
 
Top