Problem: I have 2 LXC Containers, one with a ADS-Controller and one with a ADS-Target. If I create a new instance (Tried GarrysMod and Minecraft Java Edition) on the Target (via the Webinterface of the Controller), I cant manage the new instance.
If I try it via the Webinterface of the Controller it says:
"Failed to login to remote instance. Invalid Username or password"
The console of the Controller says:
21.04.2019 20:13:59: Anonymous
20:13:59 Authentication attempt for user admin@8a596ef4-6d7b-4f87-946e-5257ee02ca37@834f3965-c015-4be4-9ffc-f2061ca4b620 from 10.20.20.1
20:14:00 Authentication failure for user admin@8a596ef4-6d7b-4f87-946e-5257ee02ca37@834f3965-c015-4be4-9ffc-f2061ca4b620 from 10.20.20.1 - No such user
The console of the Target says:
21.04.2019 20:13:58: Anonymous
20:13:58 Authentication attempt for user admin@8a596ef4-6d7b-4f87-946e-5257ee02ca37 from 10.20.20.1
20:14:00 Authentication failure for user admin@8a596ef4-6d7b-4f87-946e-5257ee02ca37 from 10.20.20.1 - Failure
If I try it via the Webinterface of the Target it says:
"Cannot manage this instance. ADS failed to provide a login token."
The console of the Controller says nothing.
The console of the Target says:
21.04.2019 20:24:23: admin
20:24:23 Managed remote instance srcds01 at http://127.0.0.1:8081/
OS Name/Version: Debian GNU/Linux 9 (stretch)
Product Name/Version: AMP Release "Hawking Starman" v1.7.4.1, built 11/04/2019 13:12
Steps to reproduce:
- Create 2 LXC Containers
- Install AMPInstancemanager into both of them (without suggests)
- Create a "ADS-Master" as a Controller in first LXC Container (IP: 10.20.10.30/16)
- Set it up via the firstrun-wizard in the Webinterface
- Create a "ADS-Minecraft" as a Target in second LXC Container (IP: 10.20.20.1/16)
- Connect it to the "ADS-Master" via the firstrun-wizard in the Webinterface
- Create a Instance from the Controller or Create a Instance from the Target or Create a Instance from the CLI of the Controller or Create a Instance from the CLI of the Target
- Try managing it
Expected behaviour:
- The Instance is manageable via the Webinterface of the Controller or Webinterface of the Target
Actions taken to resolve so far:
- Checked Firewalls: All Disabled
- Updated the System to the latest Version
- Confirmed that the two Containers can communicate ('wget' the AMP-Webinterface of eachother)
- Create the Instance via the Webinterface of the Controller
- Create the Instance via the CLI of the Controller
- Create the Instance via the Webinterface of the Target
- Create the Instance via the CLI of the Target
- Recreate the whole thing multiple Times to confirm that the Usernames/Passwords are Correct/Identical
Any Help is appreciated.