Question / Help Obs Studio getting blocked by windows firewall

TheLenzSeesAll

New Member
Ok so today I wanted to stream to twitch.tv, however when I pressed the "Start Streaming" button on OBS Studio (64 bit for those who are wondering and yes I am on a 64 bit pc) it said this: "Failed to connect to server

The connection was blocked. Check your firewall / anti-virus settings to make sure OBS is allowed full internet access."

Ok so I then went and put an exception into AVG and then also tried turning off AVG.... Nothing. Ok so then I went and looked at the incoming and outgoing connections in my firewall, there was a missing outgoing connection for Obs. Aha! I went, that must be it! So I added a new incoming and outgoing rule just incase the old one was not up to date. Then I pressed the button to stream.... Nothing. So I then turned off my firewall completely just to see whether Obs was having a laugh. Nope not at all. Obs was fine from the very moment I turned my firewall off. So now I have the question of WHAT THE ACTUAL *@$# IS GOING ON!?

My incoming and outgoing connections that I made were right because I use task manager to see where Obs was located and then just copied the same location in the new rules: C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe

I have attached a log file too.
 

Attachments

  • 2017-07-02 21-52-30.txt
    18 KB · Views: 1,084

R1CH

Forum Admin
Developer
Your log shows a successful connection:

21:54:57.353: [rtmp stream: 'adv_stream'] Connection to rtmp://live-lhr.twitch.tv/app successful

Antivirus is the most likely cause of problems, Windows firewall does not restrict outbound connections by default.
 

TheLenzSeesAll

New Member
I actually left my antivirus on when turning off my firewall and that resulted in my obs being able to stream. So my anti virus is not the problem.

Thank you for your reply though.
 

TheLenzSeesAll

New Member
I have also now found that I have only got inbound rules and that there are no outbound ones... I tried to create an outbound rule however it didn't work. I have been able to stream before however for some reason today I cannot. Here is a screenshot of my inbound rules:
upload_2017-7-19_21-32-43.png


I have also added it to the allowed applications in the firewall and changed the network type to all
 
Last edited:

wallrik

Member
It's in the properties for the firewall. Run 'wf.msc' and select properties for the firewall - top left. Make sure to check the correct tab depending on what network you're connected to.
 

TheLenzSeesAll

New Member
Ok so I left the issue last night and decided only to do something about it until the morning.

Today I exported the scenes to a document as a back-up then I re-installed obs. I tried hitting start stream and it still said failed to connect. So I then re-peated what I did yesterday by adding it to the list of allowed applications through windows firewall and.....voila! It decides to work. What the ACTUAL %()£*&%^&*%£)(*%"£$)*%)($%£&*%(^ HAPPENED????!!!!

So now I am wondering, why did it do it in the first place? What warranted this to happen and why did it choose to do so in such a strange way?

Anyways I fixed this strange issue and I hope that it doesnt happen again... Otherwise I might loose my nut xD
 
Top