Red Orchestra: Ostfront 41-45

Red Orchestra: Ostfront 41-45

View Stats:
texaspatzer 15 Nov, 2022 @ 2:26pm
Dedicated server not coming online
I have a Dedicated Linux server I ran for many years. I logged in and restarted it, it actually started up and I was able to enter a game; however, after a while I restarted it and it apparently no longer works, I can login to steamcmd, login successfully with the steam account, I have even gone through the steam guard code successfully, and reinstall roserver successfully, however, In the logs I see "STEAMAUTH : SteamAPI_Init failed"

I built this server about 10 years ago, so my memory is rusty. Hoping someone may be able to help me figure out what the issue is here.

Here is the output from the server, including full log after trying to start RO.

===========================
unreal@roost:~$ ./roserver start
[ OK ] Starting ro-server: RO: Ostfront Server
unreal@roost:~$ ./roserver details

Red Orchestra: Ostfront 41-45 Server Details
============================
Server name: RO: Ostfront Server
Server IP: xxx.xxx.xxx.xxx:7757
Config file: /home/unreal/serverfiles/system/ro-server.ini

RO: Ostfront Server Ports
============================
Ports the server is currently using.

DIRECTION DESCRIPTION PORT INI VARIABLE
INBOUND Game Port 7757 UDP Port=7757
INBOUND Query Port 7758 UDP n/a
OUTBOUND Master Server port 28900/28902 TCP/UDP n/a
OUTBOUND Steam Port 20610 UDP n/a
INBOUND WebAdmin 8075 TCP ListenPort=8075

RO: Ostfront Server WebAdmin
=======================
WebAdmin URL: http://xxx.xxx.xxx.xxx:8075
WebAdmin Username: xxxxxx
WebAdmin Password: xxxxxxxxxx

Status: OFFLINE

unreal@roost:~$ ./LogShow
Executing Class Engine.ServerCommandlet

STEAMAUTH : SteamAPI_Init failed <<<<<<<<<< First error

Missing Class Class Editor.TransBuffer
Couldn't resolve hostname ostfront-crashreports.icculus.org.
Will retry sending any crash reports next run.
Browse: RO-Arad.rom?Name=ROPlayer?Class=Engine.Pawn?Character=R_RKKAWinter4?team=1?Sex=M?game=ROGame.ROTeamGame?VACSecured=true
Collecting garbage
Purging garbage
Garbage: objects: 52249->52248; refs: 691873

Failed to load 'Class ROGame.ROTeamGame': Failed to find object 'Class ROGame.ROTeamGame' <<<<< Possibly result of not authorizing into steam?

Failed to find object 'Class ROGame.ROTeamGame'

Failed to find object 'Class ROGame.ROTeamGame'


Game class is 'ROTeamGame'
< >
Showing 1-10 of 10 comments
texaspatzer 15 Nov, 2022 @ 6:55pm 
messing with this a lot, steamcmd is working, I can install and validate just fine, output shows correct user logging in. this output comes from install script...


========================
Update state (0x5) verifying install, progress: 0.30 (3559253 / 1201245967)
Update state (0x5) verifying install, progress: 20.99 (252167516 / 1201245967)
Update state (0x5) verifying install, progress: 51.42 (617739991 / 1201245967)
Update state (0x5) verifying install, progress: 82.61 (992290992 / 1201245967)
Success! App '223250' fully installed.

=================================
Was the install successful? [y/N]y

Applying steamclient.so fix
=================================
cp: cannot stat `': No such file or directory

Creating log directorys
=================================
ln: failed to create symbolic link `/home/roserver/log/server' -> `': No such file or directory

going to see if i can figure out what the cannot stat `': No such file or directory is telling me. but I did manually create the symlink and no luck.
texaspatzer 15 Nov, 2022 @ 8:28pm 
looking at the start up script, it eventually runs this command on server start...
I can use steamcmd.sh and login and install the app just fine, its authenticating. did the steamgard thing, ok...

what I can sort of come up with is when the ucc-bin executable runs, it cant find an authenticated steam running. however, the "./roserver start" command does not do anything but call ucc-bin with the parameters listed.

=============
roserver@roost:~/serverfiles/system$ ./ucc-bin server RO-Arad.rom?game=ROGame.ROTeamGame?VACSecured=true -nohomedir ini=ro-server.ini log=


all the others issue steamcmd commands... to validate etc.

ran strace and I see this, its looking for .steampid
===================

readlink("/home/roserver/.steampath", "/home/roserver/.steam/bin32/steam", 4096) = 33
access("/home/roserver/.steampid", F_OK) = -1 ENOENT (No such file or directory)
access("/home/roserver/.steampid", F_OK) = -1 ENOENT (No such file or directory)
access("/home", F_OK) = 0
access("/home/roserver", F_OK) = 0
access("/home/roserver/.steampid", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/roserver", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 29 entries */, 32768) = 692
getdents(6, /* 0 entries */, 32768) = 0
close(6) = 0
openat(AT_FDCWD, "/home", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 5 entries */, 32768) = 92
getdents(6, /* 0 entries */, 32768) = 0
close(6) = 0
openat(AT_FDCWD, "/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 24 entries */, 32768) = 412
getdents(6, /* 0 entries */, 32768) = 0
close(6) = 0
time(NULL) = 1668569547
open("/home/roserver/.steampid", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "[S_API FAIL] SteamAPI_Init() fai"..., 71[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
) = 71


============
Executing Class Engine.ServerCommandlet
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
STEAMAUTH : SteamAPI_Init failed
Missing Class Class Editor.TransBuffer
Couldn't resolve hostname ostfront-crashreports.icculus.org.
Will retry sending any crash reports next run.
Browse: RO-Arad.rom?Name=ROPlayer?Class=Engine.Pawn?Character=G_Heer1?team=1?Sex=M?game=ROGame.ROTeamGame?VACSecured=true
Collecting garbage
Purging garbage
Garbage: objects: 52249->52248; refs: 691873
Failed to load 'Class ROGame.ROTeamGame': Failed to find object 'Class ROGame.ROTeamGame'
Failed to find object 'Class ROGame.ROTeamGame'
Failed to find object 'Class ROGame.ROTeamGame'
Game class is 'ROTeamGame'
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Unable to determine CPU Frequency. Try defining CPU_MHZ.
texaspatzer 16 Nov, 2022 @ 9:16pm 
I ended up making a new server, and building from scratch after many attempts to fix and I got the server going; however, its not displaying in game. when i manually add as favorite, I am getting VACSecured is Disabled...I am starting however with the 'true' switch, so not quite sure what that is yet.
Crabito 24 Nov, 2022 @ 7:17pm 
any luck? i cant get it online either
all needed ports are open
BartBear_[PL] 26 Nov, 2022 @ 3:54am 
It seems that after latest Steam "update" master server of the game is working wrong, same for mods servers (MN, DH) so nothing wrong client-side. Let's hope next..."update" of Steam resolves it....
texaspatzer 26 Nov, 2022 @ 11:31pm 
Sadly, no progress. I send UDP and TCP connection packets to valve/steam ip's and get no response on port 20610. I ran enough packet captures. Fortunately, I can still run the server, I can enter a game by manually adding the ip in favorites. I can run games with bots w no crashes for hours.

However, the game will not go 'public' because when I see details in favorites after the manual connection, it says "IsVACSECURED=disabled" in the info window where you join. On my side its set everywhere to true. All stock fresh install on different cloud providers, on different base linux OS's. i have done the new server/fresh install thing down.
steam_app.txt should be changed to 1200, comes stock with beta code
all VACSecured variables set
I can login steamcmd and install and update and validate direct as well as via other means.


I can run on all ports, however, one set of ports 20610 are used to send UDP/TCP packets to Valve server ips. I send packets, I get no response at all. on TCP connections? I send a SYN packet and get no SYN/ACK in return.

I have public ips I can obviously connect to and play the game using direct IP. However, the very place to validate VAC will not respond.

/home/roserver/Steam/logs/connection_log_7757.txt
[2022-11-27 02:19:03] [1,20] Connect() starting connection (eNetQOSLevelMedium, 69.28.145.171:27018, UDP)

[2022-11-27 02:19:08] [1,20] ConnectFailed('Connection Failed') (69.28.145.171:27018, UDP)
[2022-11-27 02:19:08] [0,0] StartAutoReconnect() will start in 27 seconds
[2022-11-27 02:19:35] [1,22] Connect() starting connection (eNetQOSLevelMedium, 69.28.145.172:27018, UDP)

[2022-11-27 02:19:40] [1,22] ConnectFailed('Connection Failed') (69.28.145.172:27018, UDP)
[2022-11-27 02:19:40] [0,0] StartAutoReconnect() will start in 56 seconds
[2022-11-27 02:20:36] [1,23] Connect() starting connection (eNetQOSLevelMedium, 68.142.91.35:27017, TCP)

[2022-11-27 02:22:45] [1,23] ConnectFailed('No Connection') (68.142.91.35:27017, TCP)
[2022-11-27 02:22:45] [0,0] StartAutoReconnect() will start in 68 seconds
[2022-11-27 02:23:53] [1,25] Connect() starting connection (eNetQOSLevelMedium, 208.111.133.84:27018, TCP)
texaspatzer 27 Nov, 2022 @ 12:55am 
fyi iptables is allow all both directions, the 27017/27018 are dst ports, the src port is the 20610 mentioned in the game guide.

from manual:
20610 UDP/IP (Steam Port)
BartBear_[PL] 30 Nov, 2022 @ 10:28am 
I keep my previous statement - until there will be Steam update that (might) fix this there is nothing we can do about it (well maybe switching servers to Windows). I have well working Linux servers myself and after last update there is the same problem you have described - server gives response "no VAC or Steam not ready" - of course true is the second part ;)
BartBear_[PL] 2 Dec, 2022 @ 9:12am 
STEAMAUTH : Game Server SendUserConnectAndAuthenticate returned error
Zephyr 18 Aug, 2024 @ 12:31pm 
I have to same problem. STEAMAUTH : Game Server SendUserConnectAndAuthenticate returned error
< >
Showing 1-10 of 10 comments
Per page: 1530 50