Question / Help Need help "Failed to connect error"

ItsNathan

New Member
1560107884489.png

As seen in the image above, I get this error when trying to start streaming on twitch, I read multiple older forum posts and checked yt videos, but nothing seems to work.
For some extra info:
Twitch is up and working
Amsterdam/Netherlands servers
Using streaming services with stream key
Tried resetting the key 2 times now, no result.
Does anyone have ANY idea what I could do?
Thanks in advance
 

ItsNathan

New Member
Please post a log with your issue! Here's how...

It's either an incorrect stream key or a network configuration error.
Stream key is correct, 100%, I refreshed it twice and copied it.
For the logs, I dont know what part you exactly need, so heres the entire logs of me opening OBS, trying to start a stream, the closing them again:

22:18:23.865: CPU Name: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
22:18:23.865: CPU Speed: 2712MHz
22:18:23.865: Physical Cores: 4, Logical Cores: 4
22:18:23.865: Physical Memory: 16335MB Total, 9066MB Free
22:18:23.865: Windows Version: 10.0 Build 17134 (revision: 765; 64-bit)
22:18:23.865: Running as administrator: false
22:18:23.865: Aero is Enabled (Aero is always on for windows 8 and above)
22:18:23.865: Windows 10 Gaming Features:
22:18:23.865: Game Bar: On
22:18:23.865: Game DVR: On
22:18:23.865: Game DVR Background Recording: Off
22:18:23.867: Sec. Software Status:
22:18:23.869: Windows Defender Antivirus: disabled (AV)
22:18:23.869: AVG Antivirus: enabled (AV)
22:18:23.869: Windows Firewall: disabled (FW)
22:18:23.869: Windows Defender Antivirus: disabled (ASW)
22:18:23.869: AVG Antivirus: enabled (ASW)
22:18:23.870: Portable mode: false
22:18:23.990: OBS 21.1.0 (64bit, windows)
22:18:23.990: ---------------------------------
22:18:23.991: ---------------------------------
22:18:23.991: audio settings reset:
22:18:23.991: samples per sec: 44100
22:18:23.991: speakers: 2
22:18:23.994: ---------------------------------
22:18:23.994: Initializing D3D11...
22:18:23.994: Available Video Adapters:
22:18:23.996: Adapter 1: NVIDIA GeForce GTX 750 Ti
22:18:23.996: Dedicated VRAM: 2105278464
22:18:23.996: Shared VRAM: 4269680640
22:18:23.996: output 1: pos={0, 0}, size={1920, 1080}, attached=true
22:18:23.996: output 2: pos={-1440, 189}, size={1440, 900}, attached=true
22:18:23.997: output 3: pos={1920, 27}, size={1680, 1050}, attached=true
22:18:24.001: Loading up D3D11 on adapter NVIDIA GeForce GTX 750 Ti (0)
22:18:24.054: D3D11 loaded successfully, feature level used: 45056
22:18:24.945: ---------------------------------
22:18:24.945: video settings reset:
22:18:24.945: base resolution: 1920x1080
22:18:24.945: output resolution: 1280x720
22:18:24.945: downscale filter: Bicubic
22:18:24.945: fps: 30/1
22:18:24.945: format: NV12
22:18:24.945: YUV mode: 601/Partial
22:18:24.948: Audio monitoring device:
22:18:24.948: name: Default
22:18:24.948: id: default
22:18:24.948: ---------------------------------
22:18:24.950: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
22:18:24.952: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:18:25.002: [AMF] AMF Test failed due to one or more errors.
22:18:25.002: Failed to initialize module 'enc-amf.dll'
22:18:25.019: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:18:25.020: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
22:18:25.020: (127)
22:18:25.020: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
22:18:25.020: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:18:25.023: [browser_source: 'Version: 1.31.0']
22:18:25.028: NVENC supported
22:18:25.140: Couldn't find VLC installation, VLC video source disabled
22:18:25.146: No blackmagic support
22:18:25.152: ---------------------------------
22:18:25.152: Loaded Modules:
22:18:25.152: win-wasapi.dll
22:18:25.152: win-mf.dll
22:18:25.152: win-dshow.dll
22:18:25.152: win-decklink.dll
22:18:25.152: win-capture.dll
22:18:25.152: vlc-video.dll
22:18:25.152: text-freetype2.dll
22:18:25.152: rtmp-services.dll
22:18:25.152: obs-x264.dll
22:18:25.152: obs-vst.dll
22:18:25.152: obs-transitions.dll
22:18:25.152: obs-text.dll
22:18:25.152: obs-qsv11.dll
22:18:25.152: obs-outputs.dll
22:18:25.152: obs-filters.dll
22:18:25.152: obs-ffmpeg.dll
22:18:25.152: obs-browser.dll
22:18:25.152: image-source.dll
22:18:25.152: frontend-tools.dll
22:18:25.152: enc-amf.dll
22:18:25.152: coreaudio-encoder.dll
22:18:25.152: ---------------------------------
22:18:25.152: ==== Startup complete ===============================================
22:18:25.158: All scene data cleared
22:18:25.158: ------------------------------------------------
22:18:25.193: WASAPI: Device 'Luidsprekers (Steam Streaming Speakers)' initialized
22:18:25.208: WASAPI: Device 'Microfoon (2- USB PnP Audio Device)' initialized
22:18:25.208: [window-capture: 'Venstercapture'] update settings:
22:18:25.208: executable: csgo.exe
22:18:25.209: [window-capture: 'Amorous'] update settings:
22:18:25.209: executable: Amorous.Game.Windows.exe
22:18:25.209: [window-capture: 'LiveSplit'] update settings:
22:18:25.209: executable: LiveSplit.exe
22:18:25.243: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
22:18:25.896: Switched to scene 'Steam Steam'
22:18:25.905: [game-capture: 'MC'] attempting to hook process: javaw.exe
22:18:25.909: ------------------------------------------------
22:18:25.909: Loaded scenes:
22:18:25.909: - scene 'Scène':
22:18:25.909: - source: 'Cities' (game_capture)
22:18:25.909: - source: 'Follower Goal' (browser_source)
22:18:25.909: - source: 'Chat' (browser_source)
22:18:25.909: - source: 'Donation Goal' (browser_source)
22:18:25.909: - source: 'Viewers' (browser_source)
22:18:25.909: - source: 'Amorous' (window_capture)
22:18:25.909: - source: 'LiveSplit' (window_capture)
22:18:25.909: - source: 'Beeldschermcapture' (monitor_capture)
22:18:25.909: - source: 'MC' (game_capture)
22:18:25.909: - source: 'Overwatch' (game_capture)
22:18:25.909: - source: 'Follow alert' (browser_source)
22:18:25.909: - source: 'R6Siege' (game_capture)
22:18:25.909: - source: 'Rocket League' (game_capture)
22:18:25.909: - source: 'Gmod' (game_capture)
22:18:25.909: - source: 'Venstercapture' (window_capture)
22:18:25.909: - scene 'Steam Steam':
22:18:25.909: - source: 'Rocket League Stream' (game_capture)
22:18:25.909: - source: 'PUBG Stream' (game_capture)
22:18:25.909: - source: 'Beeldschermcapture 2' (monitor_capture)
22:18:25.909: - source: 'MC' (game_capture)
22:18:25.909: - source: 'Chat' (browser_source)
22:18:25.909: - source: 'Follow alert' (browser_source)
22:18:25.909: ------------------------------------------------
22:18:25.910: [game-capture: 'MC'] shared texture capture successful
22:18:26.765: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
22:18:48.334: ---------------------------------
22:18:48.334: [x264 encoder: 'simple_h264_stream'] preset: veryfast
22:18:48.334: [x264 encoder: 'simple_h264_stream'] settings:
22:18:48.334: rate_control: CBR
22:18:48.334: bitrate: 2500
22:18:48.334: buffer size: 2500
22:18:48.334: crf: 0
22:18:48.334: fps_num: 30
22:18:48.334: fps_den: 1
22:18:48.334: width: 1280
22:18:48.334: height: 720
22:18:48.334: keyint: 60
22:18:48.334:
22:18:48.334: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
22:18:48.340: ---------------------------------
22:18:48.340: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
22:18:48.340:
22:18:48.749: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ams.twitch.tv/app...
22:18:48.774: [rtmp stream: 'simple_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
22:19:13.767: RTMPSockBuf_Fill, remote host closed connection
22:19:13.767: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ams.twitch.tv/app failed: -3
22:19:13.767: ==== Streaming Stop ================================================
22:19:37.033: ==== Shutting down ==================================================
22:19:37.047: Switched to scene '(null)'
22:19:37.053: [game-capture: 'MC'] capture stopped
22:19:37.055: WASAPI: Device 'Luidsprekers (Steam Streaming Speakers)' Terminated
22:19:37.060: WASAPI: Device 'Microfoon (2- USB PnP Audio Device)' Terminated
22:19:37.063: All scene data cleared
22:19:37.063: ------------------------------------------------
22:19:37.200: Freeing OBS context data
22:19:37.305: [Scripting] Total detached callbacks: 0
22:19:37.312: == Profiler Results =============================
22:19:37.312: run_program_init: 2789.12 ms
22:19:37.312: ┣OBSApp::AppInit: 26.07 ms
22:19:37.312: ┃ ┗OBSApp::InitLocale: 1.216 ms
22:19:37.312: ┗OBSApp::OBSInit: 2743.1 ms
22:19:37.312: ┣obs_startup: 5.391 ms
22:19:37.312: ┗OBSBasic::OBSInit: 2032.49 ms
22:19:37.312: ┣OBSBasic::InitBasicConfig: 0.677 ms
22:19:37.312: ┣OBSBasic::ResetAudio: 0.216 ms
22:19:37.312: ┣OBSBasic::ResetVideo: 956.107 ms
22:19:37.312: ┣OBSBasic::InitOBSCallbacks: 0.009 ms
22:19:37.312: ┣OBSBasic::InitHotkeys: 0.06 ms
22:19:37.312: ┣obs_load_all_modules: 203.471 ms
22:19:37.312: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.969 ms
22:19:37.312: ┃ ┣obs_init_module(enc-amf.dll): 48.582 ms
22:19:37.312: ┃ ┣obs_init_module(frontend-tools.dll): 4.326 ms
22:19:37.312: ┃ ┣obs_init_module(image-source.dll): 0.005 ms
22:19:37.312: ┃ ┣obs_init_module(obs-browser.dll): 0.109 ms
22:19:37.312: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.985 ms
22:19:37.312: ┃ ┃ ┗nvenc_check: 0.933 ms
22:19:37.312: ┃ ┣obs_init_module(obs-filters.dll): 0.018 ms
22:19:37.312: ┃ ┣obs_init_module(obs-outputs.dll): 0.008 ms
22:19:37.312: ┃ ┣obs_init_module(obs-qsv11.dll): 99.786 ms
22:19:37.312: ┃ ┣obs_init_module(obs-text.dll): 0.268 ms
22:19:37.312: ┃ ┣obs_init_module(obs-transitions.dll): 0.005 ms
22:19:37.312: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
22:19:37.312: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
22:19:37.312: ┃ ┣obs_init_module(rtmp-services.dll): 0.02 ms
22:19:37.312: ┃ ┣obs_init_module(text-freetype2.dll): 0.134 ms
22:19:37.312: ┃ ┣obs_init_module(vlc-video.dll): 0.046 ms
22:19:37.312: ┃ ┣obs_init_module(win-capture.dll): 0.149 ms
22:19:37.312: ┃ ┣obs_init_module(win-decklink.dll): 4.159 ms
22:19:37.312: ┃ ┣obs_init_module(win-dshow.dll): 2.012 ms
22:19:37.312: ┃ ┣obs_init_module(win-mf.dll): 0 ms
22:19:37.312: ┃ ┣obs_init_module(win-wasapi.dll): 0.006 ms
22:19:37.313: ┃ ┗reset_win32_symbol_paths: 0.068 ms
22:19:37.313: ┣OBSBasic::ResetOutputs: 0.217 ms
22:19:37.313: ┣OBSBasic::CreateHotkeys: 0.025 ms
22:19:37.313: ┣OBSBasic::InitService: 1.959 ms
22:19:37.313: ┣OBSBasic::InitPrimitives: 0.352 ms
22:19:37.313: ┗OBSBasic::Load: 755.566 ms
22:19:37.313: obs_hotkey_thread(25 ms): min=0.004 ms, median=0.008 ms, max=13.796 ms, 99th percentile=3.517 ms, 100% below 25 ms
22:19:37.313: audio_thread(Audio): min=0 ms, median=0.053 ms, max=28.64 ms, 99th percentile=0.466 ms
22:19:37.313: obs_graphics_thread(33.3333 ms): min=0.248 ms, median=0.853 ms, max=695.269 ms, 99th percentile=14.706 ms, 99.8137% below 33.333 ms
22:19:37.313: ┣tick_sources: min=0.002 ms, median=0.298 ms, max=693.631 ms, 99th percentile=7.876 ms
22:19:37.313: ┣output_frame: min=0.242 ms, median=0.38 ms, max=3.961 ms, 99th percentile=1.437 ms
22:19:37.313: ┃ ┣gs_context(video->graphics): min=0.121 ms, median=0.211 ms, max=2.764 ms, 99th percentile=0.964 ms
22:19:37.313: ┃ ┃ ┣render_video: min=0.018 ms, median=0.069 ms, max=2.393 ms, 99th percentile=0.518 ms
22:19:37.313: ┃ ┃ ┃ ┣render_main_texture: min=0.004 ms, median=0.044 ms, max=2.182 ms, 99th percentile=0.325 ms
22:19:37.313: ┃ ┃ ┃ ┣render_output_texture: min=0.006 ms, median=0.008 ms, max=0.631 ms, 99th percentile=0.09 ms
22:19:37.313: ┃ ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.008 ms, max=1.076 ms, 99th percentile=0.094 ms
22:19:37.313: ┃ ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.002 ms, max=0.47 ms, 99th percentile=0.014 ms
22:19:37.313: ┃ ┃ ┣download_frame: min=0 ms, median=0.001 ms, max=0.795 ms, 99th percentile=0.015 ms
22:19:37.313: ┃ ┃ ┗gs_flush: min=0.026 ms, median=0.133 ms, max=2.307 ms, 99th percentile=0.614 ms
22:19:37.313: ┃ ┗output_video_data: min=0.116 ms, median=0.158 ms, max=3.512 ms, 99th percentile=0.605 ms
22:19:37.313: ┗render_displays: min=0 ms, median=0.143 ms, max=26.65 ms, 99th percentile=7.408 ms
22:19:37.313: video_thread(video): min=0 ms, median=0.001 ms, max=0.052 ms, 99th percentile=0.016 ms
22:19:37.313: =================================================
22:19:37.313: == Profiler Time Between Calls ==================
22:19:37.313: obs_hotkey_thread(25 ms): min=24.373 ms, median=25.921 ms, max=56.079 ms, 13.5943% within ±2% of 25 ms (0.0711744% lower, 86.3345% higher)
22:19:37.313: obs_graphics_thread(33.3333 ms): min=0.599 ms, median=33.333 ms, max=695.274 ms, 93.5228% within ±2% of 33.333 ms (3.26188% lower, 3.21528% higher)
22:19:37.313: =================================================
22:19:37.348: Number of memory leaks: 17
 

Narcogen

Active Member
Then you need support from Twitch. Their server is rejecting your connection attempt:

22:19:13.767: RTMPSockBuf_Fill, remote host closed connection
22:19:13.767: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ams.twitch.tv/app failed: -3
 

Narcogen

Active Member
Also, it is not good for performance to have multiple game captures in a scene or to mix game and display captures. They will consume resources and interfere with one another. It's more performant to keep display and game captures in separate scenes or scene collections, and to either use a single game capture source in a scene and reconfigure it on a per-game basis, or to keep separate game captures for different games preconfigured in their own scenes or scene collections.
 

ItsNathan

New Member
Then you need support from Twitch. Their server is rejecting your connection attempt:

22:19:13.767: RTMPSockBuf_Fill, remote host closed connection
22:19:13.767: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ams.twitch.tv/app failed: -3

Also now I have a twitch error that I cant access my streamer key so I basically cant change it anymore or check if it is indeed correct
 
Top