• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server Server hanging at end of map.

I'm on the same LAN as my server and I can always connect without issues. I have 5 KF2 Servers running on mine. All proper ports forwarded. I'm not sure what could be your issue. I'm going to look into your logs a little closer. I think I had a similar problem when I was initially putting a server online. It was port forwarding related.

Edit: If delete the default .bat file that comes with the KF2 server and verify files like 3 times in a row. I had a corrupted install before as well that verified fine 5 times before it noticed their was a problem. Can you compress your whole server and send it? Just wondering if it's a Server issue or a computer issue. It could be some kind of dll issue. Have you repaired VC 2010 Redist x64? and DX9 Redist?

Thanks for posting and confirming your server is working on the same LAN.

I don't think it's an install problem as I have reinstalled several times and did another fresh install with the latest BETA.(last install I didn't even change the web admin port)

I and other players can connect and play perfectly, it's only at the end of the game, win or lose the server just hangs. The last entry in the server window is always NetComeGo: Close IpNetDriverSteamworks_1 IpNetConnectionSteamworks.

Can you tell me exactly what ports you have forwarded?

It does seem to have created some dmp files today if anyone knows how to analyse them.
 

Attachments

  • unreal-v10897-2015.08.30-15.24.07.zip
    79.1 KB · Views: 0
  • unreal-v10897-2015.08.30-18.01.48.zip
    71.1 KB · Views: 0
Upvote 0
I have spent the last few days trying to troubleshoot this to no avail. Here are a few notes...

  • Fresh install no configs changed other than enable web admin.
  • Ports 7777,27015,20560 UDP and 8080 TCP correctly forwarded.
  • Players can connect and play without issues.
  • Map change works 100% of the time through web admin if players in the lobby and the game hasn't started.
  • Map change also appears to work constantly mid game.
  • End of game win or lose server hangs when it should change to the next map. (If left long enough it will eventually crash and produce a dmp file)

The only thing I can think of is it's something to with uploading the stats, as this only seems to happen if the game is won or lost.

Any more ideas/thoughts?
 
Upvote 0
Perhaps temporarily complete disable firewall and AV software on the affected machine to see if this helps. What else is running in the background?

Results of dump:

Code:
Windows 7 Version 7601 (Service Pack 1) MP (4 procs) Free x64
Product: WinNt, suite: SingleUserTS
kernel32.dll version: 6.1.7601.18869 (win7sp1_gdr.150525-0603)
Machine Name:
Debug session time: Sun Aug 30 11:17:24.000 2015 (UTC - 4:00)
System Uptime: not available
Process Uptime: 0 days 0:53:17.000
  Kernel time: 0 days 0:09:31.000
  User time: 0 days 0:03:11.000
TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\oca.ini, error 2
TRIAGER: Could not open triage file : e:\dump_analysis\program\winxp\triage.ini, error 2
TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\user.ini, error 2
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\guids.ini, error 2
*** WARNING: Unable to verify timestamp for tier0_s64.dll
*** ERROR: Module load completed but symbols could not be loaded for tier0_s64.dll
*** WARNING: Unable to verify timestamp for steamclient64.dll
*** ERROR: Module load completed but symbols could not be loaded for steamclient64.dll
*** WARNING: Unable to verify timestamp for PhysX3Common_x64.dll
*** ERROR: Module load completed but symbols could not be loaded for PhysX3Common_x64.dll
TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2
GetUrlPageData2 (WinHttp) failed: 12030.

FAULTING_IP: 
KFServer+5ffc
00000001`3ff55ffc 66893448        mov     word ptr [rax+rcx*2],si

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 000000013ff55ffc (KFServer+0x0000000000005ffc)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 00000000521e11c6
Attempt to write to address 00000000521e11c6

DEFAULT_BUCKET_ID:  INVALID_POINTER_WRITE

PROCESS_NAME:  KFServer.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  00000000521e11c6

WRITE_ADDRESS:  00000000521e11c6 

FOLLOWUP_IP: 
KFServer+5ffc
00000001`3ff55ffc 66893448        mov     word ptr [rax+rcx*2],si

NTGLOBALFLAG:  0

FAULTING_THREAD:  000000000000cedc

PRIMARY_PROBLEM_CLASS:  INVALID_POINTER_WRITE

BUGCHECK_STR:  APPLICATION_FAULT_INVALID_POINTER_WRITE

LAST_CONTROL_TRANSFER:  from 0000000000000009 to 000000013ff55ffc

STACK_TEXT:  
00000000`005c70c0 00000000`00000009 : 00000000`2beec408 00000000`00000000 00000000`00000071 00000000`00000000 : KFServer+0x5ffc
00000000`005c70c8 00000000`2beec408 : 00000000`00000000 00000000`00000071 00000000`00000000 00000001`409a6f7c : 0x9
00000000`005c70d0 00000000`00000000 : 00000000`00000071 00000000`00000000 00000001`409a6f7c 00000000`152687a8 : 0x2beec408


STACK_COMMAND:  ~0s; .ecxr ; kb

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  KFServer+5ffc

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: KFServer

IMAGE_NAME:  KFServer.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  55e09cb3

FAILURE_BUCKET_ID:  INVALID_POINTER_WRITE_c0000005_KFServer.exe!Unknown

BUCKET_ID:  X64_APPLICATION_FAULT_INVALID_POINTER_WRITE_KFServer+5ffc

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/KFServer_exe/1_0_10897_0/55e09cb3/KFServer_exe/1_0_10897_0/55e09cb3/c0000005/00005ffc.htm?Retriage=1

Followup: MachineOwner
---------


Have you tried reinstalling SteamCMD?
 
Last edited:
Upvote 0
Thanks for posting.

There is not much else running on the server machine and I have tried disabling the Kaspersky security.

I am waiting for a new SSD drive to arrive as the old is getting low on space. Instead of cloning the old drive, I think I will do a fresh install of Windows, re-install the server only and see if it works. If it does, I will slowly re-install other software and see if anything confilcts with it.
 
Upvote 0
Thanks for posting but my server runs on a separate PC. I am sure it's network related because of the last entries in the log. It would be nice to have some input from TWI though.
So in the end did you try to set all ports of server to different ones as suggested? That would be stupid to not test to set all ports to different ones because you are "sure it's network related because of the last entries in the log". This is not relevant, You log can miss lot of information because server did not write them yet before crashing... It is not because it is the last line of the log that it is the last thing happening on the server.. trust me, and do what has been suggested:

Are you hosting the server on the same PC you're connecting from? If that is the case, I had the same issue and solved it by changing server ports:

Code:
start .\Binaries\win64\kfserver kf-voltermanor?difficulty=3?adminpassword=twifixteleporting -Port=7788 -QueryPort=27016

Don't forget to open/forward them on your router.

It fixed the issue for me, it appeared that game and the server were using the same ports 7777, 27015 and therefore conflicting. Let me know if it solved your problem.

And I would even add in the command line the multihome switch (for your EXTERNAL IP) and the webadminport switch too. http://wiki.tripwireinteractive.com...(Killing_Floor_2)#Command_Line_Launch_Options
 
Last edited:
Upvote 0
Adding the multihome switch with my external IP stopped the server from starting.

Today I fitted the new HD, with a fresh install of Windows and the server, the only other software running is my TS3 server.

So far I have played about 8-10 games without a crash, so it's looking promising.

Next job is to do the 200+ windows updates :eek: and see if it still works. If so, I'll start adding other software back one at a time and see if anything breaks it.
 
Upvote 0
The server was running fine for a few days and then I reinstalled Kaspersky. I then started to get the odd hang, despite added the steam folder to the exclusions list.

Since I removed it again I have only had 2 problems, which I think may be a bug...

If I change the game difficulty via the web admin during a game, on the next map change the server disconnects players and you can't reconnect until the server is restarted. Can anyone else confirm this?
 
Upvote 0
I also have the following problem and I have tried changing the server port. Every time I do a clean install, the server will work for a day ,however, I have to leave the server after each round or it won't load the next map.

I have Kaspersky Anti-virus also and I have tried disable, add kf2server to acceptable application, and made the whole server directory a exclusion zone.

Defender is not running.

The very first version of KF2 for Early Access never had this issue.

Last set of lines is always something like:

Code:
[2549.86] NetComeGo: Close IpNetDriverSteamworks_0 IpNetConnectionSteamworks_4 67.190.130.143:54684 12/05/15 22:59:42
[2554.04] NetComeGo: Close IpNetDriverSteamworks_0 IpNetConnectionSteamworks_0 73.6.88.135:49786 12/05/15 22:59:46
[2564.39] NetComeGo: Close IpNetDriverSteamworks_0 IpNetConnectionSteamworks_2 99.120.132.110:57601 12/05/15 22:59:56
[2571.62] NetComeGo: Close IpNetDriverSteamworks_0 IpNetConnectionSteamworks_1 67.161.95.200:62597 12/05/15 23:00:03
[2589.64] Log: Closing game stats recording file ..\..\KFGame\Stats\KF-BlackForest-PCServer-1532151\KF-BlackForest-PCServer-05-22.20.10.gamestats...
[2589.64] ScriptLog: File to upload: ..\..\KFGame\Stats\KF-BlackForest-PCServer-1532151\KF-BlackForest-PCServer-05-22.20.10.gamestats
[2589.65] Log: Reading game stats recording file ..\..\KFGame\Stats\KF-BlackForest-PCServer-1532151\KF-BlackForest-PCServer-05-22.20.10.gamestats...
[2589.68] Log: http://tw-analytics-collector-testing.s3.amazonaws.com/KF-BlackForest/D1FB812E47A83118CAEF7381677C637A.gamestats
[2589.80] ScriptLog: ProcessServerTravel: KF-BurningParis

You never get to logs that say the following for example:
Log: Server switch level: KF-BurningParis
Log: LoadMap: KF-BurningParis?Name=Player?Team=255?Difficulty=1

In the past, it has appeared that having a password server caused the issue.
 
Upvote 0
Hello guys,

I have the same exact issue with my server. Right down to my Antivirus being Kaspersky.

I think its important to note, that this issue did not start for me, until the new class came out. My server would occasionally crash, but not hang on the very first map change. Before then, I ran this KF2 server for a few months, without the server hanging like this.

However, in my case, the problem seems to manifest more frequently, when I connect as a LAN Player to my own Dedicated Server, which is installed a separate machine on my the network.

This is a new issue, this was not happening several months ago. I have all of the symptoms posted in this thread. However, when my server hangs, I do get an additional line that might be the culprit:


DevHTTP: HTTP POST payload sent, waiting for response


What is this "payload" ? Maybe my A/V does not like it. I will try disabling it, since this seems to be the Common Denominator, with many in this post.

Things Tried:


-reinstall server via "SteamCMD"
-changed all game ports + steam's
-Added to A/V exclusions
-all firewalls have exclusions


Suggestions are Welcome! Thank you for your time.
 
Upvote 0