Just installed McAfee, now freeorion times out

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
geoff_d
Space Krill
Posts: 2
Joined: Fri Oct 09, 2015 1:15 am

Just installed McAfee, now freeorion times out

#1 Post by geoff_d »

I just installed McAfee after abandoning Norton AV, and I have run into what seems an insurmountable block with running FreeOrion. I am running Windows 10 (upgraded last month) and was able to run FreeOrion 0.4.5 with no problems. Now that I have McAfee, when I try to start a single player game or load a saved game the program becomes unresponsive for 30 seconds and then reports the error message "Timed out while attempting to connect to server". I checked the freeoriond.log file and the last line says that "FreeOrion server waiting for network events". there were no erors. In Freeorion.log

2015-10-08 20:19:56.281409 [debug] Client : HumanClientApp::LoadSinglePlayerGame() Server started
2015-10-08 20:19:56.281409 [debug] Client : HumanClientApp::LoadSinglePlayerGame() Connecting to server
2015-10-08 20:19:56.281409 [debug] Client : ClientNetworking::ConnectToServer : attempting to connect to server at 127.0.0.1
2015-10-08 20:19:56.281409 [debug] Client : tcp::resolver::iterator host_name: 127.0.0.1 address: 127.0.0.1 port: 12346
2015-10-08 20:20:14.803453 [debug] Client : ClientNetworking::ConnectToServer : no connection yet...
2015-10-08 20:20:14.803453 [debug] Client : ClientNetworking::ConnectToServer : failed to connect to server (no exceptions)
2015-10-08 20:20:14.803453 [error] Client : HumanClientApp::LoadSinglePlayerGame() server connecting timed out
2015-10-08 20:20:14.808454 [debug] Client : HumanClientApp::HandleFocusChange()
2015-10-08 20:20:43.998100 [debug] Client : HumanClientApp::HandleFocusChange()
2015-10-08 20:20:44.042101 [debug] Client : HumanClientApp::KillServer()
2015-10-08 20:20:44.042101 [debug] Client : Process::Kill
2015-10-08 20:20:44.042101 [debug] Client : Process::Kill calling m_impl->Kill()
2015-10-08 20:20:44.042101 [debug] Client : Process::Kill calling RequestTermination()
2015-10-08 20:20:44.042101 [debug] Client : ClientNetworking::SetPlayerID: player id set to: -1
2015-10-08 20:20:44.885148 [debug] Client : (HumanClientFSM) ~IntroMenu


It seems to me that mcAfee firewall is blocking the port, but I have already tried turning off the firewall, opening ports and network access for freeorion.exe, freeoriond.exe and freeorionca.exe and nothing makes any difference. Is there a basic document to describe how to open the ports to run single player? I also disabled real-time scanning and that didn't help either.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Just installed McAfee, now freeorion times out

#2 Post by Dilvish »

I don't think we have a page on that, it's all totally dependent on the firewall software. Here are a couple promising hits from a simple Google search:

a Mcafee page: http://service.mcafee.com/FAQDocument.aspx?id=TS100887

some info on checking if Windows Firewall is blocking a port: http://serverfault.com/a/26581
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Just installed McAfee, now freeorion times out

#3 Post by Vezzra »

geoff_d wrote:I have already tried turning off the firewall
Just a wild guess, maybe McAffee turns on the Windows firewall if you turn off McAffees firewall? Try checking both just to be sure...

Damiac
Space Floater
Posts: 20
Joined: Mon Oct 05, 2015 4:47 pm

Re: Just installed McAfee, now freeorion times out

#4 Post by Damiac »

Not to be a wise-ass or anything, but the best solution is probably to uninstall McAfee, and get something like malwarebytes instead. I have helped fix and de-virus a lot of systems with McAfee and Norton, so I can tell you they don't seem to actually do much aside from being a major pain in the ass.

I'm assuming you've already paid for it though, so I guess you're probably not willing to abandon it at this point.

geoff_d
Space Krill
Posts: 2
Joined: Fri Oct 09, 2015 1:15 am

Re: Just installed McAfee, now freeorion times out

#5 Post by geoff_d »

Yes I checked the windows firewall also and that is under mcafee control so its not an issue. Not looking for a product specific runbook, just a general list of ports and executables that must be allowed. Most IT products I administrate have some security guidelines if they have any requirements for network access. Opening 12346/TCP and 12345/UDP didn't seem to help and that is all I can tell might be in use from looking at the log files and netstat -a.

My kids may also be using this computer, so I installed Family protection to manage different security levels and usage limits. Won't be uninstalling it for that reason.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Just installed McAfee, now freeorion times out

#6 Post by Dilvish »

On Windows I believe the executable names are freeoriond.exe, freeorion.exe and freeorionca.exe (but you might want to double check capitalization).
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Just installed McAfee, now freeorion times out

#7 Post by Vezzra »

geoff_d wrote:Is there a basic document to describe how to open the ports to run single player?
Ok, to answer this original question: There is a basic article on our wiki about how to set up multiplayer games, which contains a section about which ports you need to open (but not how, as that totally depends on the firewalls you use of course, which has already been mentioned).
geoff_d wrote:Not looking for a product specific runbook, just a general list of ports and executables that must be allowed.
The wiki article should cover all this information.

If opening these ports and allowing all those executables doesn't work, I suspect something is amiss with the McAfee firewall. Obviously, network communication between the FO client and server processes is blocked, and the most likely culprit for something like this is firewall software. And AFAIK McAfees reputation hasn't been that great for a long time now, so...
My kids may also be using this computer, so I installed Family protection to manage different security levels and usage limits. Won't be uninstalling it for that reason.
Hm, understandable, but for troubleshooting purposes temporary removal of the software would reveal if it's indeed McAfee that's causing the problems, or something else (provided McAfee actually does a clean uninstall, and not leaving something on your system that still causes trouble, as other AV software has done in the past). And if uninstalling McAfee does solve the issues with FO, you might want to consider switching to another AV software (even if a game like FO is of rather minor importance to you).

Post Reply