Server Troubleshooting - Valheim-Modding/Wiki GitHub Wiki
This is a collection of common problems and solutions for not working modded dedicated servers.
- Make sure BepInEx loads. To verify this, shut down the server, delete the log file under
BepInEx/LogOutput.logand restart. If no log is generated, then no mods have been loaded on the server. - If you use a server host and there is a BepInEx toggle somewhere, make sure to turn it on. If there is not a BepInEx toggle, but one for Valheim Plus you must turn that on. If you do not want to use the V+ mod, delete the ValheimPlus.dll or install Valheim Minus.
- Some mods have to be installed on the server to work. Check that server-side mods are installed on your server.
- If you start from R2MM/TMM you need to edit the
start_headless_server.batinside the Steam Valheim Dedicated Server folder and append%*at the line where the server is launched.

If you get this error window, it probably means you could not reach the server. Make sure the server is running. Some server host will reassign your URL/IP address on game updates, make sure you are connecting to the right one. If you switched between crossplay and non-crossplay, Valheim sometimes remembers this and wants to connect to the old server. Remove the server from your recent connection list in-game and add it again to refresh it.
Make sure BepInEx is up to date. Game updates can occasionally break the BepInEx pack, and using the wrong version will cause the server to crash on startup. It can be downloaded from here BepInExPack Valheim. Do not use the BepInEx release from GitHub as it is not configured to work with Valheim.
Many mods only need to be enabled on the client but some have to be installed on the server to synchronize configs or perform a version check. If you were able to connect with some client mods installed, it does not imply that mods have been loaded on the server. To tell if a mod has loaded on a server, check for a log file at BepInEx/LogOutput.log. If this file does not appear, BepInEx has not loaded. If it does appear, be sure that the file is up-to-date by either looking at the last modification time or shutting the server down, deleting the file and rebooting the server to generate a new file. By default, the log file is overwritten on every successful startup.
If you do have the server log file you will see lines such as [Info : BepInEx] Loading [ModName 1.0.0] for every mod that was successfully loaded. You can compare your client an server log files in a text editor (such as VSCode or Notepad++) to quickly identify differences. As a reminder, client-only mods do not need to be installed on a server (If using Thunderstore check the mod tags). If you see errors in your log file consult the client troubleshooting guide for more information.
If you get this pop-up you were able to reach the server but there was a mod mismatch. This specific pop-up will only appear if you have a Jotunn mod installed, but does not always mean a mod using Jotunn has failed the connection attempt. Any failed connection by any mod can trigger this window. This pop-up can sometimes give you specific advice on how to fix your mod installation. If the remote version list is empty it is very likely BepInEx is not starting on your server. Follow the steps below to ensure BepInEx is starting:
Many server host support mods, but require you to toggle on a setting for the BepInEx mod loader. You may have added your mod files to the server but they will not start unless this toggle is on. A common issue with some Valheim server hosts is that ValheimPlus must to be enabled in order to start BepInEx. Even if BepInEx is manually installed this can be the case. If you have a web interface and a V+ switch, make sure to turn it on and restart the server. If you do not want to run V+ you can delete the ValheimPlus.dll or install Valheim Minus. This is no offense to the ValheimPlus mod itself but the host companies, nobody should be forced to use a mod they do not want.
If you are hosting your own server make sure you have correctly installed BepInEx. The BepInEx pack comes with multiple files (in addition to the BepInEx folder) that must be installed at the top level of your server to work. For docker containers you may need to edit some of the server parameters in your UI. Many containers support BepInEx and can simply be toggled on and it will be installed for you.
If you (or your host PC) run Bitdefender, you must add an Advanced Threat Defense (ATD) exception for
valheim_server.exe.
Without this, Bitdefender can silently terminate or quarantine the server process, leading to crashes/hangs or noBepInEx/LogOutput.logbeing created even though you launched the server.How to stop Advanced Threat Defense from blocking a trusted app
Steps (Bitdefender on Windows):
- Open Bitdefender.
- Go to Protection → Open under Advanced Threat Defense.
![]()
- Click Settings (or Manage Exceptions) for Advanced Threat Defense.
![]()
- Add Exception → browse to your server executable:
- Steam default (Windows):
C:\Program Files (x86)\Steam\steamapps\common\Valheim dedicated server\valheim_server.exe- Custom installs: point to the exact
valheim_server.exeyour start script launches.
- Save, then restart the Valheim server.
Tips:
- The exception must target the
.exe, not the folder or batch file.- To confirm this is the issue, you can temporarily disable ATD, start the server, and verify a fresh
BepInEx/LogOutput.logis generated—then re-enable ATD and keep the exception.- If you run the server as a Windows Service, ensure the service points to the same
valheim_server.exepath you excluded.
Example Error you might see in your Player.log file (note: not BepInEx/LogOutput.log!)
C:\Program Files\Bitdefender\Bitdefender Security\bdhkm\dlls_268005067768265260\bdhkm64.dll:bdhkm64.dll (00007FF9209E0000), size: 897024 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files\Bitdefender\Bitdefender Security\bdhkm\dlls_268005067768265260\bdhkm64.dll', fileVersion: 1.12.237.0 C:\Program Files\Bitdefender\Bitdefender Security\atcuf\dlls_268005067752227730\atcuf64.dll:atcuf64.dll (00007FF920800000), size: 1937408 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files\Bitdefender\Bitdefender Security\atcuf\dlls_268005067752227730\atcuf64.dll', fileVersion: 1.77.427.0
This part of the stack trace is the most important, as it is showing the crash immediately following all of the logs about Bitdefender.
and of course, it points to more crash logs if that didn't give it away.
If you're asking, "but how did you know it was Bitdefender?" here is a breakdown
The crashing thread’s top frames are Bitdefender’s keyboard/heuristics module: bdhkm64.dll → BdhkmIsApiInDllImports with “Attempt to access invalid address.”
Immediately under that is Microsoft’s Party voice stack: many calls to PartyWin32!PartyTextToSpeechProfileSetCustomContext
This is a classic “security product DLL injection + game/voice TTS init” conflict.
The Valheim script to start a server cuts off all additional parameters set by the mod managers. Edit the start_headless_server.bat inside the Steam Valheim Dedicated Server folder and append %* at the line where the server is launched:

Be aware that the mod manager uses the same folder location for both the server and client when hosted from the same machine by default. If you use the mod manager to launch both (the client and server) you may run into issues with some mods. If you encounter issues using the mod manager for your server try doing a manual mod installation for your server.
It's recommended to not use crossplay as a decent amount of mods don't support it. but it's crucial that you have a server profile, and a client profile. Making them the same will cause file locks and BepInEx issues. (since BepInEx preloader will crash or state it's already running....because it is) Once you boot your server, back out (going to settings and change game) and switch to game mode. Then, choose Valheim game/your game profile.
This can mean a mod uses an outdated ServerSync version internally. You can try to use the ServerSyncFix by Jere, which patches and writes the likely trouble mods to your console or log file. Be aware that this is only a short term workaround, the causing mods are no longer supported by their authors and could break at any time. Please read that mod description for more information on this issue.
No information at this time.


