Question / Help Stream randomly disconnected then reconnect.

Hi guys,

I have been streaming on Twitch by using OBS for a year, everything is fine until last week,
Since last week I randomly got disconnect followed by a instant reconnect
According to the viewers, the gap is only a few second but still quite annoying.
I have tried to switch to another server and get a new stream key, non of them works.
Here is my log file
Code:
12:09:36: SharedTexCapture hooked
12:09:38: Using RTMP service: Twitch / Justin.tv
12:09:38:   Server selection: rtmp://live-iad.justin.tv/app
12:09:38:   Interface: Intel(R) 82578DC Gigabit Network Connection (ethernet, 100 mbps)
12:09:38: Completed handshake with rtmp://live-iad.justin.tv/app in 213 ms.
12:09:39: SO_SNDBUF was at 8192
12:09:39: SO_SNDBUF is now 65536
12:24:36: RTMPPublisher::SocketLoop: Stalled for 4033 ms to write 182268 bytes (buffer: 0 / 182272), unstable connection?
12:49:59: RTMPPublisher::SocketLoop: Stalled for 3879 ms to write 180430 bytes (buffer: 0 / 182272), unstable connection?
13:05:15: RTMPPublisher::SocketLoop: Stalled for 4932 ms to write 182043 bytes (buffer: 0 / 182272), unstable connection?
13:15:24: RTMPPublisher::SocketLoop: Stalled for 4086 ms to write 181937 bytes (buffer: 0 / 182272), unstable connection?
13:30:41: RTMPPublisher::SocketLoop: Stalled for 6259 ms to write 181938 bytes (buffer: 0 / 182272), unstable connection?
13:30:44: RTMPPublisher::SocketLoop: Received FD_CLOSE, 648 ms since last send (buffer: 115896 / 182272)
13:30:44: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
13:30:46: Total frames encoded: 146080, total frames duplicated: 14 (0.01%)
13:30:46: Total frames rendered: 146082, number of late frames: 3 (0.00%) (it's okay for some frames to be late)
13:30:46: Average send payload: 5160 bytes, average send interval: 28 ms
13:30:46: Number of times waited to send: 27, Waited for a total of 73351 bytes
13:30:46: Number of b-frames dropped: 243 (0.17%), Number of p-frames dropped: 331 (0.23%), Total 574 (0.39%)
13:30:46: Number of bytes sent: 869701124
13:30:46:
13:30:46: Profiler time results:
13:30:46:
13:30:46: ==============================================================
13:30:46: video thread frame - [100%] [avg time: 0.653 ms] [children: 89.6%] [unaccounted: 10.4%]
13:30:46: | scene->Preprocess - [0.153%] [avg time: 0.001 ms]
13:30:46: | GPU download and conversion - [89.4%] [avg time: 0.584 ms] [children: 85.6%] [unaccounted: 3.83%]
13:30:46: | | flush - [83.5%] [avg time: 0.545 ms]
13:30:46: | | CopyResource - [1.68%] [avg time: 0.011 ms]
13:30:46: | | conversion to 4:2:0 - [0.459%] [avg time: 0.003 ms]
13:30:46: Convert444Threads - [100%] [avg time: 0.634 ms] [children: 98.9%] [unaccounted: 1.1%]
13:30:46: | Convert444toNV12 - [98.9%] [avg time: 0.627 ms]
13:30:46: encoder thread frame - [100%] [avg time: 1.174 ms] [children: 2.73%] [unaccounted: 97.3%]
13:30:46: | sending stuff out - [2.73%] [avg time: 0.032 ms]
13:30:46: ==============================================================
13:30:46:
13:30:46:
13:30:46: Profiler CPU results:
13:30:46:
13:30:46: ==============================================================
13:30:46: video thread frame - [cpu time: avg 0.044 ms, total 6505.24 ms] [avg calls per frame: 1]
13:30:46: | scene->Preprocess - [cpu time: avg 0 ms, total 31.201 ms] [avg calls per frame: 1]
13:30:46: | GPU download and conversion - [cpu time: avg 0.041 ms, total 5990.44 ms] [avg calls per frame: 1]
13:30:46: | | flush - [cpu time: avg 0.038 ms, total 5647.24 ms] [avg calls per frame: 1]
13:30:46: | | CopyResource - [cpu time: avg 0 ms, total 31.2 ms] [avg calls per frame: 1]
13:30:46: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 46.8 ms] [avg calls per frame: 1]
13:30:46: Convert444Threads - [cpu time: avg 0.1 ms, total 29390.6 ms] [avg calls per frame: 2]
13:30:46: | Convert444toNV12 - [cpu time: avg 0.099 ms, total 29094.2 ms] [avg calls per frame: 2]
13:30:46: encoder thread frame - [cpu time: avg 0.761 ms, total 111229 ms] [avg calls per frame: 1]
13:30:46: | sending stuff out - [cpu time: avg 0.109 ms, total 16005.7 ms] [avg calls per frame: 1]
13:30:46: ==============================================================
13:30:46:
13:30:46: =====Stream End: 2014-05-03, 13:30:46=================================================
13:30:52: =====Stream Start: 2014-05-03, 13:30:52===============================================
13:30:52:   Multithreaded optimizations: On
13:30:52:   Base resolution: 1920x1080
13:30:52:   Output resolution: 1280x720
13:30:52: ------------------------------------------
13:30:52: Loading up D3D10 on ATI Radeon HD 5800 Series (Adapter 1)...
13:30:52: ------------------------------------------
13:30:52: Audio Format: 48000 Hz
13:30:52: ------------------------------------------
13:30:52: Audio Channels: 2 Ch
13:30:52: Playback device Default
13:30:52: ------------------------------------------
13:30:52: Using desktop audio input: Speakers (Logitech USB Speaker)
13:30:52: Global Audio time adjust: 0
13:30:52: ------------------------------------------
13:30:52: Audio Encoding: AAC
13:30:52:     bitrate: 128
13:30:52: Using graphics capture
13:30:52: Trying to hook process: XComEW.exe
13:30:52: Scene buffering time set to 700
13:30:52: ------------------------------------------
13:30:52: Video Encoding: x264
13:30:52:     fps: 30
13:30:52:     width: 1280, height: 720
13:30:52:     preset: veryfast
13:30:52:     profile: main
13:30:52:     keyint: 60
13:30:52:     CBR: yes
13:30:52:     CFR: yes
13:30:52:     max bitrate: 1300
13:30:52:     buffer size: 1300
13:30:52: ------------------------------------------
13:30:52: SharedTexCapture hooked
13:30:55: Using RTMP service: Twitch / Justin.tv
13:30:55:   Server selection: rtmp://live-iad.justin.tv/app
13:30:55:   Interface: Intel(R) 82578DC Gigabit Network Connection (ethernet, 100 mbps)
13:30:55: Completed handshake with rtmp://live-iad.justin.tv/app in 200 ms.
13:30:55: SO_SNDBUF was at 8192
13:30:55: SO_SNDBUF is now 65536
13:40:50: RTMPPublisher::SocketLoop: Stalled for 4966 ms to write 178353 bytes (buffer: 0 / 182272), unstable connection?
13:45:57: RTMPPublisher::SocketLoop: Stalled for 7020 ms to write 181961 bytes (buffer: 0 / 182272), unstable connection?
13:45:59: RTMPPublisher::SocketLoop: Received FD_CLOSE, 420 ms since last send (buffer: 125412 / 182272)
13:45:59: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
13:46:00: Total frames encoded: 27221, total frames duplicated: 4 (0.01%)
13:46:00: Total frames rendered: 27226, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
13:46:01: Average send payload: 5295 bytes, average send interval: 29 ms
13:46:01: Number of times waited to send: 12, Waited for a total of 37934 bytes
13:46:01: Number of b-frames dropped: 117 (0.43%), Number of p-frames dropped: 120 (0.44%), Total 237 (0.87%)
13:46:01: Number of bytes sent: 160352451
13:46:01:
13:46:01: Profiler time results:
13:46:01:
13:46:01: ==============================================================
13:46:01: video thread frame - [100%] [avg time: 0.519 ms] [children: 87.5%] [unaccounted: 12.5%]
13:46:01: | scene->Preprocess - [0.193%] [avg time: 0.001 ms]
13:46:01: | GPU download and conversion - [87.3%] [avg time: 0.453 ms] [children: 82.1%] [unaccounted: 5.2%]
13:46:01: | | flush - [79.8%] [avg time: 0.414 ms]
13:46:01: | | CopyResource - [1.93%] [avg time: 0.01 ms]
13:46:01: | | conversion to 4:2:0 - [0.385%] [avg time: 0.002 ms]
13:46:01: Convert444Threads - [100%] [avg time: 0.624 ms] [children: 98.7%] [unaccounted: 1.28%]
13:46:01: | Convert444toNV12 - [98.7%] [avg time: 0.616 ms]
13:46:01: encoder thread frame - [100%] [avg time: 1.126 ms] [children: 2.4%] [unaccounted: 97.6%]
13:46:01: | sending stuff out - [2.4%] [avg time: 0.027 ms]
13:46:01: ==============================================================
13:46:01:
13:46:01:
13:46:01: Profiler CPU results:
13:46:01:
13:46:01: ==============================================================
13:46:01: video thread frame - [cpu time: avg 0.026 ms, total 733.203 ms] [avg calls per frame: 1]
13:46:01: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:46:01: | GPU download and conversion - [cpu time: avg 0.024 ms, total 655.203 ms] [avg calls per frame: 1]
13:46:01: | | flush - [cpu time: avg 0.022 ms, total 608.403 ms] [avg calls per frame: 1]
13:46:01: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:46:01: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:46:01: Convert444Threads - [cpu time: avg 0.087 ms, total 4742.43 ms] [avg calls per frame: 2]
13:46:01: | Convert444toNV12 - [cpu time: avg 0.087 ms, total 4742.43 ms] [avg calls per frame: 2]
13:46:01: encoder thread frame - [cpu time: avg 0.736 ms, total 20046.1 ms] [avg calls per frame: 1]
13:46:01: | sending stuff out - [cpu time: avg 0.135 ms, total 3697.22 ms] [avg calls per frame: 1]
13:46:01: ==============================================================
13:46:01:
13:46:01: =====Stream End: 2014-05-03, 13:46:01=================================================

Please help me. Thank you in advance.
 

Krazy

Town drunk
This is everything you can do as a user to address dropped frames and disconnection issues:
https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/

I will say that the last week or so has been a bit problematic in general. Twitch has been doing some maintenance, lots of heavy storms have been rolling through the eastern half of the US (I know Ashburn/Dulles area in particular got tons and tons of rain) that have likely been affecting general connectivity, not to mention the continued widespread DDoS attacks that seem to keep going on around the world.

In short, there might not be a whole lot you can do right now.
 
This is everything you can do as a user to address dropped frames and disconnection issues:
https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/

I will say that the last week or so has been a bit problematic in general. Twitch has been doing some maintenance, lots of heavy storms have been rolling through the eastern half of the US (I know Ashburn/Dulles area in particular got tons and tons of rain) that have likely been affecting general connectivity, not to mention the continued widespread DDoS attacks that seem to keep going on around the world.

In short, there might not be a whole lot you can do right now.
Thank you very much for your reply. I will give it some times I guess.
 
Top