OS Name/Version:
CentOS 8.2.2004
Product Name/Version:
AMP Release "Europa" v2.0.8.2, built 10/11/2020 17:57
Module Minecraft (Bedrock)
AMP Version │ 2.0.8.2
Release Stream │ Mainline
Problem Description:
Before the latest release when a user joined the server the manage instance page showed the correct number of users. This is no longer being updated and always shows 0.
I believe this is an issue related to the API as I have been writing a script to get the number of users from the API which was working fine.
I could query the instance of minecraft that was running using
"/API/Core/GetStatus" and the key "Metrics.Active Users.RawValue" would return the active number of users.
The API for the instance now always shows 0 for this metric.
I also query the endpoint "/API/Core/GetUserList" for the user list again previously this provided a list of the users xuid and Username. This now just appears to return an empty list.
Steps to reproduce:
Start bedrock instance Click on the instance and select manage Click on the status button so Active users is visible join the server Active Users remains at 0
Query the API for the endpoints above and even though I am successfully logged in I get back 0 for Active Users and the userlist is empty when querying appropriate endpoints.
Actions taken to resolve so far:
I have logged out on the frontend and cleared my cache. I have restarted the instances and even rebooted the server to get a clean startup after the upgrade. I have checked the logs but nothing is obvious to me as to why there is a problem.