01
Read the log and isolate the fault
The server writes its log to an .rpt file, stored by default in the profile folder, the one set with -profiles. That is the first place to look. Lines starting with Warning Message: flag content errors (mods, mission, scripts).
A normal startup includes these two lines, which confirm BattlEye and the ports:
BattlEye Server: Initialized (v1.217)
Initializing Steam server - Game Port: 2302, Steam Query Port: 2303
The BattlEye version number varies. To add the time to every log line, set timeStampFormat = "short"; (or "full") in server.cfg: the default value, "none", adds none.
If you cannot find the cause, work by elimination, as a reference tutorial on the official forum recommends:
- start the server with no mods (empty
-mod=), no mission rotation (the class Missions block commented out) and only the a3.bikey key in keys;
- connect and start a mission that ships with the game;
- then add back the keys, then the missions, then the mods, one group at a time, reading the
.rpt after each restart.
Whatever brings the fault back is the culprit. The starting configuration is described in create an Arma 3 server and each file setting in the Arma 3 server.cfg file.
02
Server missing from the list, ports and BattlEye
Ports. According to the official wiki, an Arma 3 server uses five consecutive UDP ports by default:
- 2302: the game port, set with
-port, which also carries voice;
- 2303: the Steam query (game port +1), which makes the server appear in the list;
- 2304: traffic with the Steam master server (+2);
- 2305: reserved, not used for now (+3);
- 2306: BattlEye traffic (+4).
Open the whole 2302 to 2306 range in UDP. For a second server on the same machine, the wiki advises leaving at least 100 ports between them (2402 to 2406, then 2502…). Arma 3 does not support IPv6: the server must be reachable over IPv4. The guide game server ports gives the firewall commands.
Two server.cfg settings to check:
loopback = 1; forces LAN mode: only game instances started on the same machine can connect. Remove it from a public server;
upnp = 1; can delay startup by 600 seconds when a firewall blocks the request. The wiki advises against it on a dedicated server whose ports are already open.
If the server freezes right after the Initializing Steam server line, the same forum tutorial points to a faulty .bikey key: remove the keys and put them back a few at a time.
BattlEye. It is enabled with BattlEye = 1;. If the BattlEye Server: Initialized line is missing at startup, check that the BattlEye folder exists: by default it is created inside the profile folder, or wherever -bePath points. The server must also be able to reach the BattlEye master server outbound, on ports 2344 (TCP and UDP) and 2345 (TCP), as the wiki states.
A player who sees "BattlEye initialization failed" has, according to BattlEye's FAQ, a badly installed BattlEye in their own game: they need to verify their game files or reinstall BattlEye; the server is not at fault.
03
"Session lost", signatures and .bikey keys
"Session lost" appears when a player is disconnected while joining or just after. It may be followed by a reason, which you should read in full. For this case, the Bohemia Interactive team posted a checklist on its forum in March 2019:
- wait until the server has finished loading before connecting: the first time with a given mod list, building the cache can take several minutes;
- verify the game files and every mod, on the server and on the players' side, with up-to-date keys and signatures on both sides;
- remove all mods, then add them back one by one to find the one causing the problem;
- give the server write access to its profile folder, where the
cache.ch file lives, and delete that file so it is rebuilt;
- do not turn off signature verification, which would leave a public server vulnerable.
After a game update, a server that has not been updated can turn everyone away. In September 2023, a game hotfix caused this message for players on servers still running the old version, as reported on Bohemia's official tracker:
Session lost - Verifying PBO failed: addons\ui_f.pbo
Updating the server with SteamCMD made it go away. So after every Arma 3 update, update the server before players join. The requiredBuild setting in server.cfg does the opposite: it rejects players whose game is older than the given build.
Signatures. With verifySignatures = 2;, the server checks the players' mod files against the .bikey keys in its keys folder. The value 1 falls back to 2, and 0 turns verification off. A rejected file gets the player kicked, with the path of the offending file:
Wrong signature for file "mpmissions\__cur_mp.altis\mymodel.p3d"
This example comes from a ticket on Bohemia's tracker; the end of the line names the rejected file. The usual causes:
- the mod's key is missing from
keys: copy in the .bikey file found in the mod's keys subfolder;
- the player and the server have different versions of the mod: a Workshop update can change the signatures, and sometimes the key;
- the player loads a mod the server does not accept: they need to disable it.
The onUnsignedData, onHackedData and onDifferentData settings decide what the server does in each of these cases; the wiki example kicks the player for the first two. How long a kicked player must wait before returning is set with kickTimeout: type 3 covers "harmless" kicks (wrong mods, signatures, Steam timeout). The full method for installing mods and their keys is in installing mods on an Arma 3 server.
04
Missing mods, -mod order and missions not found
A mod waiting for another one. The log reports it like this (here with two packages from the CUP pack):
Warning Message: Addon 'CUP_Bohemia_Config' requires addon 'CUP_Bohemia_Data'
The second name is the missing dependency. Add the mod that contains it to -mod, before the one that needs it: @cba_a3 goes before @ace, for example. Each mod's Workshop page lists its dependencies. On Linux, separate mods with \; and keep folder names in lowercase: a misspelled name in -mod matches no folder.
A mission that needs missing content. The log then shows, followed by the name of the missing package:
Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
The mission uses an object, unit or map from a mod the server does not load. Load that mod (and ask players to load it too), or remove whatever depends on it from the mission. A Warning Message: Script … not found line likewise flags a mission script that cannot be found.
The mission does not start. In the class Missions block of server.cfg, the template value must match the file name in MPMissions exactly, without .pbo: MyMission.Altis for MyMission.Altis.pbo. The wiki also points out that:
template and difficulty are required for each mission;
- the
class keyword must be lowercase, otherwise the file is not parsed correctly;
- for a mission provided by a mod, you need its class name followed by the map, not its folder name.
A name that does not match the file can leave the server stuck on the map loading screen. To test, log in as admin (#login) and pick the mission by hand with #missions: if it is not listed, also check the missionWhitelist[] list, which limits the missions on offer. Admin commands are covered in Arma 3 admin commands.
05
Desync and performance
When the server is saturated, players see units teleporting and the AI reacts late. Start by measuring: logged in as admin, type #monitor 5 to show the server's frames per second, memory and traffic every 5 seconds (#monitor 0 stops it).
According to the official basic.cfg page, a server running below 20 frames per second is overloaded: the mission is too heavy for it. What to try, in order:
- Reduce the active AI, or hand it to a headless client, an instance with no player that computes the AI instead of the server (see create an Arma 3 server);
- Check
-limitFPS: since version 2.00 it caps the server's frames per second, 50 by default. Raising it only helps if the server already reaches that cap;
- Leave
basic.cfg at its defaults until you know what is saturating. The wiki warns that a MaxMsgSend above 128, its default, can cause desync if the processor or bandwidth cannot keep up, and that MaxSizeGuaranteed or MaxSizeNonguaranteed values too large for the network have the same effect.
To find which players are involved, enablePlayerDiag = 1; writes each player's bandwidth and desync to the log every 60 seconds. The MaxPing, MaxPacketLoss and MaxDesync thresholds set the tolerated limits, and kickClientsOnSlowNetwork[] decides, for each one, whether exceeding it is only logged (0) or kicks the player (1). Start with 0 to observe before kicking.
If every player drops at the same time while the server keeps running normally, the problem is more likely the network: see protecting a game server against DDoS attacks.
06
On CloudFive
With CloudFive's Arma 3 hosting, from €4 per month, these checks are done from the customer area manager.cloudfive.fr:
- Console: follow startup live and spot the
Warning Message lines.
- Files:
server.cfg, missions, @… folders and .bikey keys are managed in the file manager or over SFTP (see connecting over SFTP with FileZilla or WinSCP).
- Processor: servers run in France on AMD Ryzen 9 9950X, whose high per-core clock speed is what the Arma 3 engine needs. The guide choosing a game server host explains why.
- Anti-DDoS Premium: included, with a profile specific to Arma 3.
It is monthly, with no commitment, and support answers in French 7 days a week, by ticket and on Discord. For an error you cannot make sense of, attach the relevant part of the log to your ticket.
07
Frequently asked questions
What does "Session lost" mean on an Arma 3 server?
The player was disconnected while joining or just after. The most common causes are a server not yet updated after a game update, mods or signatures that differ between the player and the server, or a server that has not finished loading. Read the reason shown after the message and the server's .rpt log.
Why are players kicked with "Wrong signature for file"?
With verifySignatures = 2, the server rejects a file whose signature matches none of the keys in its keys folder. Copy each mod's .bikey file into that folder and check that the player has exactly the same version of the mod as the server.
Why does my Arma 3 server not appear in the server list?
Check that UDP ports 2302 to 2306 are open, including 2303 for the Steam query, that loopback is not enabled in server.cfg and that the server has fully finished starting. Arma 3 does not support IPv6: the server must be reachable over IPv4.
What should I do about "Addon ... requires addon ..." in the log?
The second name is a package the mod needs and the server does not load. Add the mod that provides it to the -mod parameter, placed before the one that depends on it, for example @cba_a3 before @ace.
How can I tell if an Arma 3 server is overloaded?
Log in as admin and type #monitor followed by a number of seconds. According to Bohemia Interactive's wiki, a server that drops below 20 frames per second is overloaded: reduce the active AI or hand it to a headless client.