arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

Unable to query server in steam #1172

Open parikh20 opened 3 years ago

parikh20 commented 3 years ago

I am unable to query my server in steam after updating. I can't even access it through my LAN IP which is strange. Logs are pasted below.

2021-02-07 17:37:12: start
2021-02-07 17:37:12: Running /home/steam/ARK/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?RCONEnabled=True\?RCONPort=32330\?SessionName=Island\ Men\?Port=7777\?QueryPort=27015\?ServerPassword=ark\?ServerAdminPassword=ark\?MaxPlayers=10\?GameModIds=889745138\,928102085\,793605978\,731604991\,1380777369\?listen
Shutdown handler: initalize.
2021-02-07 17:37:12: Server PID: 1028061
Using binned.
4.5.1-0+UE4 7038 3077 404 10
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
2021-02-07 17:38:52: server is up
[2021.02.08-00.36.13:110][  0]Log file open, 02/07/21 17:36:13
[2021.02.08-00.36.13:110][  0]ARK Version: 321.14
[2021.02.08-00.36.13:110][  0]PID: 1027059
[2021.02.08-00.36.29:082][  0]Primal Game Data Took 15.51 seconds
[2021.02.08-00.36.36:893][  0]SteamSocketsOpenSource: gethostname failed ()
[2021.02.08-00.36.36:893][  0]gethostbyname failed ()
[2021.02.08-00.36.44:555][  0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
[2021.02.08-00.36.44:555][  0]BattlEye successfully started.
[2021.02.08-00.36.44:556][  0]bEnableMeshBitingProtection is True
klightspeed commented 3 years ago

What is the output of arkmanager status when this occurs?

Do you have multiple servers set up? If so, make sure that they all have different ports (including RCONPort).

parikh20 commented 3 years ago

It's the only server I have running.

Here's the output from the command. I cannot for the life of me figure out what has gone wrong.

Running command 'status' for instance 'main'
 Server running:   Yes 
 Server PID:   1028061 
 Server listening:   Yes 
Server Name: Island Men - (v321.14)
Steam Players: 0 / 10
Active Steam Players: 0
 Server online:   Yes 
 ARKServers link:   http://arkservers.net/server/REDACTED
 Steam connect link:   steam://connect/REDACTED
 Server build ID:   6191434 
 Server version:   321.14 
klightspeed commented 3 years ago

That status output suggests that the server is in fact registering itself with the Steam master server.

If you check the given arkservers.net link, adding the server if necessary, is it able to query the server?

parikh20 commented 3 years ago

It can't query the server. The ports are in use and ports are being forwarded via router.

Output of lsof

ShooterGa 1028061         steam   11u  IPv4 4922383      0t0  UDP *:27015 
ShooterGa 1028061         steam   19u  IPv4 4920010      0t0  UDP *:7777 
ShooterGa 1028061         steam   20u  IPv4 4920011      0t0  TCP *:32330 (LISTEN)
ShooterGa 1028061         steam   22u  IPv4 4920133      0t0  UDP *:7778