OBS intermittently disconnects 2 minutes after switching scene

Over the past few weeks OBS has started intermittently disconnecting from Facebook 2 mins after switching scenes. An overview of what happens is as follows:
  1. Start stream
  2. Switch scene (note, this does not happen every time and occurs with different scenes)
  3. 2 mins later OBS disconnects from Facebook
  4. OBS tries auto reconnecting (up to 20 time) but is unable to reconnect
  5. Facebook is still waiting for OBS to reconnect
  6. I manually stop OBS from streaming by clicking "Stop Streaming"
  7. I try to manually restart streaming by clicking "Start Streaming" but nothing happens
  8. I try to click the button a few more times but still nothing happens
  9. I restart OBS Studio
  10. Click "Start Streaming" and it reconnects to Facebook
I have tried the following:
  • Checked internet connection - I have no internet connection issues (and reliable connection)
  • I have optimised MPU by following online instructions
  • I have removed all large media files from the stream
  • Decreasing audio bitrate from 128 to 96
  • Decreased stream bitrate
  • Increased stream bitrate
  • I am connected directly to the router by cable
  • Windows and all drivers are up-to-date
  • OBS is up-to-date.
I use groups and scenes within scenes. I can seen that there is a current bug relating to these but not sure if this is what is causing my problem yet :

[BUG] OBS duplicates scenes and corrupts scene collections when using groups

I currently have 3 log files for this (last 3 streams attached). The information where this happens (and a summary from the logs) is as follows:

23 September
Start Stream:
19:13.51
Last Scene Switch: 20:11:32.721 ("Chat")

Disconnect: 20:13:32.910

19:42:16.722: User switched to scene 'In Game'

20:11:32.721: User switched to scene 'Chat'
20:11:34.913: [obs-websocket] GetTransitionData: duration is negative !
20:11:34.956: [obs-websocket] GetTransitionData: duration is negative !
20:13:32.910: WriteN, RTMP send error 10054 (224 bytes)
20:13:32.911: WriteN, RTMP send error 10054 (109 bytes)
20:13:32.911: WriteN, RTMP send error 10038 (42 bytes)
20:13:32.911: [rtmp stream: 'adv_stream'] Disconnected from rtmps://rtmp-api.facebook.com:443/rtmp/
20:13:32.911: Output 'adv_stream': stopping
20:13:32.911: Output 'adv_stream': Total frames output: 88133
20:13:32.911: Output 'adv_stream': Total drawn frames: 88165 (88176 attempted)
20:13:32.911: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 11 (0.0%)

21 September
Start Stream:
19:21.54
Last Scene Switch: 19:35:06.154 ("Previously")

Disconnect: 19:37:03.49

19:25:02.727: User switched to scene 'Starting'

19:35:06.154: User switched to scene 'Previously'
19:35:08.424: [obs-websocket] GetTransitionData: duration is negative !
19:35:08.475: [obs-websocket] GetTransitionData: duration is negative !
19:35:08.504: warning: Could not update timestamps for skipped samples.
19:37:03.491: WriteN, RTMP send error 10054 (344 bytes)
19:37:03.491: WriteN, RTMP send error 10054 (109 bytes)
19:37:03.491: WriteN, RTMP send error 10038 (42 bytes)
19:37:03.491: [rtmp stream: 'adv_stream'] Disconnected from rtmps://rtmp-api.facebook.com:443/rtmp/
19:37:03.491: Output 'adv_stream': stopping
19:37:03.491: Output 'adv_stream': Total frames output: 25376
19:37:03.491: Output 'adv_stream': Total drawn frames: 25532 (25540 attempted)
19:37:03.491: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 8 (0.0%)

16 September
Start Stream:
19:23.27
Last Scene Switch: 20:05:58.717 ("Chat")

Disconnect: 20:07:47.601

20:04:12.200: User switched to scene 'Ending'
20:04:14.378: [obs-websocket] GetTransitionData: duration is negative !
20:04:14.483: [obs-websocket] GetTransitionData: duration is negative !
20:04:14.526: warning: Could not update timestamps for skipped samples.
20:05:58.662: [obs-websocket] GetTransitionData: duration is negative !
20:05:58.717: User switched to scene 'Chat'
20:05:58.786: warning: Could not update timestamps for skipped samples.
20:06:00.954: [obs-websocket] GetTransitionData: duration is negative !
20:06:01.050: [obs-websocket] GetTransitionData: duration is negative !
20:07:39.033: warning: Could not update timestamps for discarded samples.
20:07:39.039: warning: Could not update timestamps for skipped samples.
20:07:47.593: obs-browser[3]: CONSOLE: Disconnected from socket (source: https://obs.streamelements.com/yoin...6f9cdb8626a7.bundle.js?bac64ea60043b2168c60:2)
20:07:47.601: WriteN, RTMP send error 10054 (303 bytes)
20:07:47.601: WriteN, RTMP send error 10054 (109 bytes)
20:07:47.602: WriteN, RTMP send error 10038 (42 bytes)
20:07:47.602: [rtmp stream: 'adv_stream'] Disconnected from rtmps://rtmp-api.facebook.com:443/rtmp/
20:07:47.602: Output 'adv_stream': stopping
20:07:47.602: Output 'adv_stream': Total frames output: 79402
20:07:47.602: Output 'adv_stream': Total drawn frames: 79366 (79443 attempted)
20:07:47.602: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 77 (0.1%)
20:07:47.602: Output 'adv_stream': Reconnecting in 1 seconds..

Full logs attached.

If anyone has any suggestions please let me know as this is killing my streams. Thanks.
 

Attachments

  • 2020-09-16 19-23-27.txt
    138.7 KB · Views: 1
  • 2020-09-21 19-21-54.txt
    122.4 KB · Views: 1
  • 2020-09-16 19-23-27.txt
    138.7 KB · Views: 1
Top