Broke Protocol Not working

OS Linux
Platform Zorin OS 16.1
System Type x86_64
Virtualization None
Module ADSModule
Loaded Plugins FileManagerPlugin, EmailSenderPlugin, WebRequestPlugin, LocalFileBackupPlugin, CommonCorePlugin
Application Name AMP
Application Version 2.3.4.0
Release Stream Release
Build Date 16/06/2022 16:08
InstanceID b36ac9ed-35d3-4b96-8e49-2f6baa70dc45
Last Executable /usr/bin/readlink
Last Arguments -s -f -n “/home/amp/.ampdata/instances/BrokeProtocol”
Last Process ID 196070

Problem Description:
Broke Protocol server isnt working. Installed instance, tried updating through management, says its downloading. Restart server, nothing showing in console, not showing using any resources(cpu, memory) Application state shows preparing to start even though AMP says its running.

Steps to reproduce:
Deleted instance, reinstalled 3 times still same result.

errors in logs:

[22:56:47] [Generic Error]        : unable to read meta config manifest file.
[22:56:47] [Core Error]           : JsonReaderException
[22:56:47] [Core Error]           : [0] (JsonReaderException) : After parsing a value an unexpected character was encountered: ". Path '[0].ConfigFile', line 4, position 4.
[22:56:47] [Core Error]           :   at Newtonsoft.Json.JsonTextReader.ParsePostValue (Boolean ignoreComments)

Have you modified your config manifest at all?

Negative, all i did was create instance. Tried it multiple times again today, same result, same errors

Looks like the config is broken actually. Give me a sec…

If on AMP 2.3.4 go to Configuration → Instance Deployments and fetch the latest. Then refresh your browser and make a new instance. I haven’t tested the changes myself to know if that config actually functions, but the issue you had is fixed.

Fixed the log errors, but still have same problem with game. I start instance, go to manage, click update, it downloads file. then when i click start, it says “AMP was unable to start the applcation. Possible causes may include insufficient permissions to load the executable, or the file not being correctly flagged as being an executable file. Check AMPs logs for more information.” I go back to instances, says its running.
log file:

 [22:34:10] [Core Info]            : Starting AMP version 2.3.4.0 (Triton), built 16/06/2022 16:08
[22:34:10] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[22:34:10] [Core Warning]         : Current time zone is set to EST - Servers should ideally be UTC to avoid time-zone related issues
[22:34:10] [Core Info]            : OS: Linux / x86_64
[22:34:10] [Core Info]            : CPU: AMD FX(tm)-9590 Eight-Core Processor (4C/8T)
[22:34:10] [Core Info]            : AMP Instance ID: 54507c09-3188-4190-83b4-18996dc2a3a2
[22:34:11] [Generic Info]         : 4 Legacy ports migrated.
[22:34:11] [ModuleLoader Info]    : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
[22:34:12] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[22:34:12] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:34:12] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[22:34:12] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[22:34:12] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[22:34:12] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[22:34:12] [ModuleLoader Info]    : GenericModule requests dependency steamcmdplugin...
[22:34:12] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[22:34:12] [ModuleLoader Info]    : GenericModule requests dependency RCONPlugin...
[22:34:12] [ModuleLoader Info]    : Loaded RCONPlugin version 1.0.0.1 by CubeCoders Limited
[22:34:12] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to 
[22:34:12] [FileManager Notice]   : Using keypair with fingerprint 9pH+VkB11hDBBlBICBWLQGII82mvjkwFW+dP3Sy7GmE=
[22:34:13] [FileManager Info]     : SFTP Server started on 192.168.137.180:2227
[22:34:13] [WebServer Info]       : Websockets are enabled.
[22:34:13] [WebServer Info]       : Webserver started on http://192.168.137.180:8084
[22:34:13] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
[22:34:13] [Core Info]            : Checking for AMP updates...
[22:34:13] [Core Info]            : AMP is up-to-date.
[22:34:20] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user game server from 192.168.137.180
[22:34:25] [RemoteAMPAuth:Anonymous Activity] : Authentication success
[22:35:04] [Generic Info]         : Extracting game.tar.gz to ./brokeprotocol/...
[22:35:20] [Core Info]            : Stop requested: SIGUSR1 Recieved
[22:35:20] [Core Notice]          : AMP shutdown requested.
[22:35:20] [Core Notice]          : Stopping Application...
[22:35:20] [Core Notice]          : Stopping Web Server...
[22:35:20] [WebServer Info]       : Web server shutdown.
[22:35:20] [Core Notice]          : Goodbye!
Rest in peace - Stephen Hawking 1942-2018
[22:35:20] [Logger Warning]       : RouterTimer@10Hz stopped```

That looks like it’s the issue that was addressed in Nightly. You can go to Configuration → New Instance Defaults and change the release stream to Nightly then make a new instance of it. Hopefully that’s the last issue.

1 Like

Changed to nightly, and created new instance. Still same issue. thanks for trying to figure this out BTW.
new log file:

23:57:14] [Core Info]            : Starting AMP version 2.3.4.0 (Triton), built 01/07/2022 03:00
[23:57:14] [Core Info]            : Stream: Nightly (Nightly) - built by CUBECODERS/buildbot on CCL-DEV
[23:57:14] [Core Warning]         : Current time zone is set to EST - Servers should ideally be UTC to avoid time-zone related issues
[23:57:14] [Core Info]            : OS: Linux / x86_64
[23:57:14] [Core Info]            : CPU: AMD FX(tm)-9590 Eight-Core Processor (4C/8T)
[23:57:14] [Core Info]            : AMP Instance ID: f0807173-8c39-47d6-abb1-e876cf058edc
[23:57:15] [Generic Info]         : 4 Legacy ports migrated.
[23:57:15] [ModuleLoader Info]    : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
[23:57:15] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[23:57:16] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[23:57:16] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[23:57:16] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[23:57:16] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[23:57:16] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[23:57:16] [ModuleLoader Info]    : GenericModule requests dependency steamcmdplugin...
[23:57:16] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[23:57:16] [ModuleLoader Info]    : GenericModule requests dependency RCONPlugin...
[23:57:16] [ModuleLoader Info]    : Loaded RCONPlugin version 1.0.0.1 by CubeCoders Limited
[23:57:16] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to 
[23:57:16] [FileManager Notice]   : Using keypair with fingerprint QC1ffrrB1c5pxKogpVBjgwHolzRPmpkQlgrop+MMJwI=
[23:57:16] [FileManager Info]     : SFTP Server started on 192.168.137.180:2227
[23:57:17] [WebServer Info]       : Websockets are enabled.
[23:57:17] [WebServer Info]       : Webserver started on http://192.168.137.180:8084
[23:57:17] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
[23:57:17] [Core Info]            : Checking for AMP updates...
[23:57:18] [Core Info]            : AMP is up-to-date.
[23:57:29] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user game server from 192.168.137.180
[23:57:32] [RemoteAMPAuth:Anonymous Activity] : Authentication success
[23:57:42] [API:game server Activity] : Updating the application.
[23:58:39] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user game server from 192.168.137.180
[23:58:42] [RemoteAMPAuth:Anonymous Activity] : Authentication success
[23:59:12] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user game server from 192.168.137.180
[23:59:16] [RemoteAMPAuth:Anonymous Activity] : Authentication success
[23:59:29] [Core Info]            : Stop requested: SIGUSR1 Recieved
[23:59:29] [Core Notice]          : AMP shutdown requested.
[23:59:29] [Core Notice]          : Stopping Application...```

Nevermind. Don’t bother with this one. I’ll take a look at cleaning it up tomorrow. This was definitely not tested and I’m not sure why it was even added to AMP in the state it’s in.

Did you get a chance to take a look at this yet ?

I did look at it and it needs some work for sure. Not sure what @Greelan has on their plate right now, but if they’re bored they can take a look too. I’m about done with Space Engineers and need to fix some issues with Seven Days to Die’s template then could take a peek.

1 Like

A template living up to its name. Lol

I can probably do some basic re-working of the template to get it in a working form but won’t likely spend much time on adding settings

Template now fixed and in the main repo. Complete overhaul lol.

Still sometimes get a steamclient.so error (the server is looking for it outside the datastore) so need to look into that.

I’ve also configured both ports that the docs say should be, but the server never seems to listen on the second port (which I assume is a query port). Maybe related to the steamclient.so issue.

User join/leave/chat regex is not completed. I don’t have the game so need someone to give me console output for those events (if any) so the template can be updated.

Manually copying steamclient.so to where the server expects it doesn’t change the port behaviour, just gets rid of the error, so idk

Edit: the BP discord suggests that the second port (5558) is deprecated and the steamclient.so error doesn’t matter. If so, I could remove the second port from the template and also get rid of the SteamCMD download stage.

Hey Greelan, thanks for working on it! Instance does work now, game uses port 5557 by default. Have to change port so endpoint =5557. Game doesnt actually start until you go into manage instance, and click start from there. Not sure why. Have to use settings.jason to change game name, player count, etc. Group.jason to add admin, owner, etc. Any help i can be let me know

Usually the port doesn’t matter for games. If you add the ports or change your port selection mode under Configuration->Networking, AMP would automatically assign them properly.

The settings should not need changed manually if they’re in the GUI (just verified working on my end). But not all settings are in the GUI. Look inside the instance under Configuration->Server Settings.

As far as starting goes. That’s how you start all game servers with AMP. The first “Start” is for the AMP instance. The second is for the game server. :slight_smile:

I should clarify… If you want the game server to start as soon as you hit the first start, you can do that inside the instance under Configuration->AMP Core.