Hello,
I have installed OBS. But when I click on the "Start Streaming" button I get the error message: "Failed to connect to server. The connection was blocked. Check your firewall / anti-virus settings to make sure OBS is allowed full internet access." I have tested and it is indeed my firewall that is messing things up. When I completely disable the firewall I can stream. Of cours I don't want my firewall to be completely disabled so this is where my problem begins.. When I add OBS to "Allow apps to communicate through Windows Defender Firewall" it still gives me the error "Failed to connect to server.."
I am familiar with how windows firewall works and I understand how to allow/block apps or ports. But this one just does not want to work! Any help is appreciated!
Photo of the added firewall rules:
Here is my log file of the failed attempt:
00:38:09.194: CPU Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
00:38:09.194: CPU Speed: 4200MHz
00:38:09.194: Physical Cores: 4, Logical Cores: 8
00:38:09.194: Physical Memory: 16329MB Total, 9264MB Free
00:38:09.194: Windows Version: 10.0 Build 17763 (revision: 437; 64-bit)
00:38:09.194: Running as administrator: false
00:38:09.194: Aero is Enabled (Aero is always on for windows 8 and above)
00:38:09.194: Windows 10 Gaming Features:
00:38:09.194: Game DVR: On
00:38:09.196: Sec. Software Status:
00:38:09.196: Windows Defender Antivirus: enabled (AV)
00:38:09.197: Windows Firewall: enabled (FW)
00:38:09.197: Windows Defender Antivirus: enabled (ASW)
00:38:09.197: Current Date/Time: 2019-05-04, 00:38:09
00:38:09.197: Browser Hardware Acceleration: true
00:38:09.197: Portable mode: false
00:38:09.456: OBS 23.1.0 (64-bit, windows)
00:38:09.456: ---------------------------------
00:38:09.457: ---------------------------------
00:38:09.457: audio settings reset:
00:38:09.457: samples per sec: 44100
00:38:09.457: speakers: 2
00:38:09.457: ---------------------------------
00:38:09.457: Initializing D3D11...
00:38:09.457: Available Video Adapters:
00:38:09.459: Adapter 1: NVIDIA GeForce GTX 1080
00:38:09.459: Dedicated VRAM: 4176478208
00:38:09.459: Shared VRAM: 4266317824
00:38:09.459: output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:38:09.459: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
00:38:09.460: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
00:38:09.492: D3D11 loaded successfully, feature level used: 45056
00:38:10.041: ---------------------------------
00:38:10.041: video settings reset:
00:38:10.041: base resolution: 1920x1080
00:38:10.041: output resolution: 1280x720
00:38:10.041: downscale filter: Bicubic
00:38:10.041: fps: 60/1
00:38:10.041: format: NV12
00:38:10.041: YUV mode: 601/Partial
00:38:10.041: NV12 texture support enabled
00:38:10.042: Audio monitoring device:
00:38:10.042: name: Default
00:38:10.042: id: default
00:38:10.042: ---------------------------------
00:38:10.044: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
00:38:10.044: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
00:38:10.071: [AMF] AMF Test failed due to one or more errors.
00:38:10.071: Failed to initialize module 'enc-amf.dll'
00:38:10.087: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
00:38:10.090: [obs-browser]: Version 2.3.1
00:38:10.094: NVENC supported
00:38:10.155: Couldn't find VLC installation, VLC video source disabled
00:38:10.159: No blackmagic support
00:38:10.162: ---------------------------------
00:38:10.162: Loaded Modules:
00:38:10.162: win-wasapi.dll
00:38:10.162: win-mf.dll
00:38:10.162: win-dshow.dll
00:38:10.162: win-decklink.dll
00:38:10.162: win-capture.dll
00:38:10.162: vlc-video.dll
00:38:10.162: text-freetype2.dll
00:38:10.162: rtmp-services.dll
00:38:10.162: obs-x264.dll
00:38:10.162: obs-vst.dll
00:38:10.162: obs-transitions.dll
00:38:10.162: obs-text.dll
00:38:10.162: obs-qsv11.dll
00:38:10.162: obs-outputs.dll
00:38:10.162: obs-filters.dll
00:38:10.162: obs-ffmpeg.dll
00:38:10.162: obs-browser.dll
00:38:10.162: image-source.dll
00:38:10.162: frontend-tools.dll
00:38:10.162: enc-amf.dll
00:38:10.162: decklink-ouput-ui.dll
00:38:10.162: coreaudio-encoder.dll
00:38:10.162: ---------------------------------
00:38:10.162: ==== Startup complete ===============================================
00:38:10.164: All scene data cleared
00:38:10.164: ------------------------------------------------
00:38:10.199: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
00:38:10.210: WASAPI: Device 'Microphone (USB MICROPHONE)' initialized
00:38:10.212: Switched to scene 'Scene'
00:38:10.212: ------------------------------------------------
00:38:10.212: Loaded scenes:
00:38:10.212: - scene 'Scene':
00:38:10.212: - source: 'Display Capture' (monitor_capture)
00:38:10.212: ------------------------------------------------
00:38:10.235: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Mic/Aux)
00:38:10.235:
00:38:10.486: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
00:38:10.486:
00:38:11.306: [jim-nvenc: 'simple_h264_stream'] settings:
00:38:11.306: rate_control: CBR
00:38:11.306: bitrate: 2500
00:38:11.306: cqp: 20
00:38:11.306: keyint: 120
00:38:11.306: preset: hq
00:38:11.306: profile: high
00:38:11.306: width: 1280
00:38:11.306: height: 720
00:38:11.306: 2-pass: false
00:38:11.306: b-frames: 2
00:38:11.306: lookahead: false
00:38:11.306: psycho_aq: true
00:38:11.306:
00:38:11.314: ---------------------------------
00:38:11.314: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
00:38:11.314:
00:38:11.315: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ams.twitch.tv/app...
00:38:11.336: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 100 mbps)
00:38:11.365: The connection is being blocked by a firewall or other security software (EACCES).
00:38:11.365: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ams.twitch.tv/app failed: -2
00:38:11.365: ==== Streaming Stop ================================================
I have installed OBS. But when I click on the "Start Streaming" button I get the error message: "Failed to connect to server. The connection was blocked. Check your firewall / anti-virus settings to make sure OBS is allowed full internet access." I have tested and it is indeed my firewall that is messing things up. When I completely disable the firewall I can stream. Of cours I don't want my firewall to be completely disabled so this is where my problem begins.. When I add OBS to "Allow apps to communicate through Windows Defender Firewall" it still gives me the error "Failed to connect to server.."
I am familiar with how windows firewall works and I understand how to allow/block apps or ports. But this one just does not want to work! Any help is appreciated!
Photo of the added firewall rules:
Here is my log file of the failed attempt:
00:38:09.194: CPU Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
00:38:09.194: CPU Speed: 4200MHz
00:38:09.194: Physical Cores: 4, Logical Cores: 8
00:38:09.194: Physical Memory: 16329MB Total, 9264MB Free
00:38:09.194: Windows Version: 10.0 Build 17763 (revision: 437; 64-bit)
00:38:09.194: Running as administrator: false
00:38:09.194: Aero is Enabled (Aero is always on for windows 8 and above)
00:38:09.194: Windows 10 Gaming Features:
00:38:09.194: Game DVR: On
00:38:09.196: Sec. Software Status:
00:38:09.196: Windows Defender Antivirus: enabled (AV)
00:38:09.197: Windows Firewall: enabled (FW)
00:38:09.197: Windows Defender Antivirus: enabled (ASW)
00:38:09.197: Current Date/Time: 2019-05-04, 00:38:09
00:38:09.197: Browser Hardware Acceleration: true
00:38:09.197: Portable mode: false
00:38:09.456: OBS 23.1.0 (64-bit, windows)
00:38:09.456: ---------------------------------
00:38:09.457: ---------------------------------
00:38:09.457: audio settings reset:
00:38:09.457: samples per sec: 44100
00:38:09.457: speakers: 2
00:38:09.457: ---------------------------------
00:38:09.457: Initializing D3D11...
00:38:09.457: Available Video Adapters:
00:38:09.459: Adapter 1: NVIDIA GeForce GTX 1080
00:38:09.459: Dedicated VRAM: 4176478208
00:38:09.459: Shared VRAM: 4266317824
00:38:09.459: output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:38:09.459: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
00:38:09.460: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
00:38:09.492: D3D11 loaded successfully, feature level used: 45056
00:38:10.041: ---------------------------------
00:38:10.041: video settings reset:
00:38:10.041: base resolution: 1920x1080
00:38:10.041: output resolution: 1280x720
00:38:10.041: downscale filter: Bicubic
00:38:10.041: fps: 60/1
00:38:10.041: format: NV12
00:38:10.041: YUV mode: 601/Partial
00:38:10.041: NV12 texture support enabled
00:38:10.042: Audio monitoring device:
00:38:10.042: name: Default
00:38:10.042: id: default
00:38:10.042: ---------------------------------
00:38:10.044: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
00:38:10.044: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
00:38:10.071: [AMF] AMF Test failed due to one or more errors.
00:38:10.071: Failed to initialize module 'enc-amf.dll'
00:38:10.087: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
00:38:10.090: [obs-browser]: Version 2.3.1
00:38:10.094: NVENC supported
00:38:10.155: Couldn't find VLC installation, VLC video source disabled
00:38:10.159: No blackmagic support
00:38:10.162: ---------------------------------
00:38:10.162: Loaded Modules:
00:38:10.162: win-wasapi.dll
00:38:10.162: win-mf.dll
00:38:10.162: win-dshow.dll
00:38:10.162: win-decklink.dll
00:38:10.162: win-capture.dll
00:38:10.162: vlc-video.dll
00:38:10.162: text-freetype2.dll
00:38:10.162: rtmp-services.dll
00:38:10.162: obs-x264.dll
00:38:10.162: obs-vst.dll
00:38:10.162: obs-transitions.dll
00:38:10.162: obs-text.dll
00:38:10.162: obs-qsv11.dll
00:38:10.162: obs-outputs.dll
00:38:10.162: obs-filters.dll
00:38:10.162: obs-ffmpeg.dll
00:38:10.162: obs-browser.dll
00:38:10.162: image-source.dll
00:38:10.162: frontend-tools.dll
00:38:10.162: enc-amf.dll
00:38:10.162: decklink-ouput-ui.dll
00:38:10.162: coreaudio-encoder.dll
00:38:10.162: ---------------------------------
00:38:10.162: ==== Startup complete ===============================================
00:38:10.164: All scene data cleared
00:38:10.164: ------------------------------------------------
00:38:10.199: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
00:38:10.210: WASAPI: Device 'Microphone (USB MICROPHONE)' initialized
00:38:10.212: Switched to scene 'Scene'
00:38:10.212: ------------------------------------------------
00:38:10.212: Loaded scenes:
00:38:10.212: - scene 'Scene':
00:38:10.212: - source: 'Display Capture' (monitor_capture)
00:38:10.212: ------------------------------------------------
00:38:10.235: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Mic/Aux)
00:38:10.235:
00:38:10.486: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
00:38:10.486:
00:38:11.306: [jim-nvenc: 'simple_h264_stream'] settings:
00:38:11.306: rate_control: CBR
00:38:11.306: bitrate: 2500
00:38:11.306: cqp: 20
00:38:11.306: keyint: 120
00:38:11.306: preset: hq
00:38:11.306: profile: high
00:38:11.306: width: 1280
00:38:11.306: height: 720
00:38:11.306: 2-pass: false
00:38:11.306: b-frames: 2
00:38:11.306: lookahead: false
00:38:11.306: psycho_aq: true
00:38:11.306:
00:38:11.314: ---------------------------------
00:38:11.314: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
00:38:11.314:
00:38:11.315: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ams.twitch.tv/app...
00:38:11.336: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 100 mbps)
00:38:11.365: The connection is being blocked by a firewall or other security software (EACCES).
00:38:11.365: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ams.twitch.tv/app failed: -2
00:38:11.365: ==== Streaming Stop ================================================