Server keeps disconnecting right after this message (Valheim + AMP)

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version: centos-release-7-9.2009.1.el7.centos.x86_64

Product Name/Version: (Always use the full version number - not ‘Latest’) 2.4.0.10

Problem Description:
In the AMP logs, I always see the following: (It reconnects, but then the same message comes up again a bit later and does it again. Sometimes when someone is on and times when no one is on.)

Fallback handler could not load library /home/amp/.ampdata/instances/Valheim0201/Valheim/896660/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/amp/.ampdata/instances/Valheim0201/Valheim/896660/valheim_server_Data/Mono/libparty.so
Fallback handler could not load library /home/amp/.ampdata/instances/Valheim0201/Valheim/896660/valheim_server_Data/Mono/party
Fallback handler could not load library /home/amp/.ampdata/instances/Valheim0201/Valheim/896660/valheim_server_Data/Mono/libparty
Fallback handler could not load library /home/amp/.ampdata/instances/Valheim0201/Valheim/896660/valheim_server_Data/Mono/libparty.so
Fallback handler could not load library /home/amp/.ampdata/instances/Valheim0201/Valheim/896660/valheim_server_Data/Mono/libparty
Game - OnApplicationQuit
Shuting down
ZNet Shutdown
If you're sharing console output, logs, or commands you have run, please make sure to use code tags 
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.

Steps to reproduce: N/A

  • Step 1
  • Step 2
  • Step 3

Actions taken to resolve so far: Putting this message in the forums. :wink:

1 Like

Hey @ISuXGaming,

I saw your post and wanted to help troubleshoot your Valheim server disconnect issue in AMP 2.4.0.10. Since this was reported in 2022, upgrading AMP to the latest version should be the first step before troubleshooting further. If newer versions have addressed fallback handler errors, upgrading may resolve the issue.

Steps to Try After Upgrading:

  1. Check AMP Logs for Additional Errors – Look at AMP/logs to see if there are any other errors related to the disconnects.
  2. Verify Library Dependencies – The error suggests missing Mono libraries (libparty.so). Try reinstalling Mono with:
    sudo yum install mono-complete
    
  3. Check File Permissions – Ensure AMP has the correct permissions to access the Valheim server files:
    sudo chown -R amp:amp /home/amp/.ampdata/instances/Valheim0201/
    sudo chmod -R 755 /home/amp/.ampdata/instances/Valheim0201/
    
  4. Test Running Valheim Outside AMP – Try launching the Valheim server manually to see if the issue persists outside AMP.
  5. Check for Known Issues – If upgrading doesn’t fix it, check AMP forums or GitHub issues for similar reports.

A Few Questions to Help Troubleshoot:

  • Does the server log show any additional errors before disconnecting?
  • Have you tried manually reinstalling Mono to ensure all dependencies are present?
  • Does Valheim run correctly outside AMP, or does it still disconnect?

Let me know if any of these steps help or if you can provide more details—I’d be happy to troubleshoot further! :rocket: