Hybrid instance can not connect to Target

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: Ubuntu 22.04 LTS

Product Name/Version: AMP Instance Manager v2.4.1.2 built 21/12/2022 17:55
Problem Description:
After recent update had issues connecting from Hybrid instance to my Target server.

Authentication Failure
The remote server rejected the login credentials: Token Rejected

Please check configuration

Steps to reproduce:

  • Update

Actions taken to resolve so far:

Have you checked the logs for the target and the controller to see what the authentication logs say?

Basically just did the update rebooted the machines and then suddenly authentication and RoleManagment stuff was all screwed up… Didn’t have perms on the server or anything.


[20:01:39] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 21/12/2022 17:54
[20:01:39] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[20:01:40] [Core Info]            : Loading configuration from provisionargs.kvp...
[20:01:40] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[20:01:40] [Core Info]            : OS: Linux / x86_64
[20:01:40] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[20:01:40] [Core Info]            : AMP Instance ID: 08c5e119-9210-462e-b166-21f1f26a7ed4
[20:01:40] [ModuleLoader Info]    : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[20:01:40] [Core Info]            : Metrics publishing is enabled at udp://amp.ltcraft.net:12820.
[20:01:40] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [ModuleLoader Info]    : ADSModule requests dependency InstanceManagerPlugin...
[20:01:40] [ModuleLoader Info]    : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [ModuleLoader Info]    : ADSModule requests dependency SystemUserManagerPlugin...
[20:01:40] [ModuleLoader Info]    : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited
[20:01:40] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
  CubeCoders AMP  💻amp@lt1700  📁~/.ampdata/instances/ADS01/AMP_Logs  cat AMPLOG\ 2023-02-04\ 20-01-48.log
[20:01:48] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 21/12/2022 17:54
[20:01:48] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[20:01:48] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[20:01:48] [Core Info]            : OS: Linux / x86_64
[20:01:48] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[20:01:48] [Core Info]            : AMP Instance ID: 08c5e119-9210-462e-b166-21f1f26a7ed4
[20:01:49] [Core Fatal]           : The auth server URL is set to be the same URL as this AMP instances own webserver. This is not allowed as it would cause a loop.

I think I might have fixed it again with this not sure…

  CubeCoders AMP  💻amp@lt1700  📁~/.ampdata/instances/ADS01  ampinstmgr --RebindInstance ADS01
[Info] AMP Instance Manager v2.4.1.2 built 21/12/2022 17:55
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Please enter value for IP Binding
>localhost

Please enter value for Port Number
>8080

[Warning] WARNING: Rebinding ADS will break logins/management for all instances/controllers that rely on it.
[Error]  -- You will not be able to manage any existing instances if you do this --
[Warning] If you are not familiar with how AMP manages authentication and logins, ask for support before doing this.
[Info] This prompt is case-sensitive. You should avoid rebinding ADS if at all possible.
Are you sure you want to rebind ADS? You will need to manually reconfigure any managed instances. [Y/N]
>Y

[Info] Reconfiguring instance ADS01...
[22:04:31] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 21/12/2022 17:54
[22:04:31] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[22:04:31] [Core Info]            : Loading configuration from provisionargs.kvp...
[22:04:31] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[22:04:31] [Core Info]            : OS: Linux / x86_64
[22:04:31] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[22:04:31] [Core Info]            : AMP Instance ID: 08c5e119-9210-462e-b166-21f1f26a7ed4
[22:04:32] [Core Fatal]           : The auth server URL is set to be the same URL as this AMP instances own webserver. This is not allowed as it would cause a loop.
[Info] Done. Use --ShowInstancesList to see your changes.
[Warning] You should now run `ampinstmgr repairauth` on this system as well as any other AMP targets.
  CubeCoders AMP  💻amp@lt1700  📁~/.ampdata/instances/ADS01  ampinstmgr repairauth
[Info] AMP Instance Manager v2.4.1.2 built 21/12/2022 17:55
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Which mode is ADS configured as? 'standalone', 'controller', 'target' or 'hybrid'? If you do not know, press CTRL+C to abort.
>target

What is the URL of your controller/standalone instance? This URL must be accessible from all targets in a multi-target setup.
>amp.ltcraft.net

[Warning] Bad URL: amp.ltcraft.net
  CubeCoders AMP  💻amp@lt1700  📁~/.ampdata/instances/ADS01  ampinstmgr repairauth
[Info] AMP Instance Manager v2.4.1.2 built 21/12/2022 17:55
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Which mode is ADS configured as? 'standalone', 'controller', 'target' or 'hybrid'? If you do not know, press CTRL+C to abort.
>target

What is the URL of your controller/standalone instance? This URL must be accessible from all targets in a multi-target setup.
>https://amp.ltcraft.net

[Info] Stopping Instance: 'Rust01'
[Info] Stopping instance Rust01...
[Info] Requesting soft-stop...
[Info] Waiting for instance to stop...
[Info] Instance was shut down gracefully.
[Info] Instance Rust01 has stopped.
[Info] Stopping Instance: 'Ltcraft-Live01'
[Info] Stopping instance Ltcraft-Live01...
[Info] Requesting soft-stop...
[Info] Waiting for instance to stop...
[Info] Instance was shut down gracefully.
[Info] Instance Ltcraft-Live01 has stopped.
[Info] Stopping Instance: 'Ltcraft-Development01'
[Info] Stopping instance Ltcraft-Development01...
[Info] Requesting soft-stop...
[Info] Waiting for instance to stop...
[Info] Instance was shut down gracefully.
[Info] Instance Ltcraft-Development01 has stopped.
[22:06:03] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 21/12/2022 17:54
[22:06:03] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[22:06:03] [Core Info]            : Loading configuration from provisionargs.kvp...
[22:06:03] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[22:06:03] [Core Info]            : OS: Linux / x86_64
[22:06:03] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[22:06:03] [Core Info]            : AMP Instance ID: 08c5e119-9210-462e-b166-21f1f26a7ed4
[22:06:03] [Core Fatal]           : The auth server URL is set to be the same URL as this AMP instances own webserver. This is not allowed as it would cause a loop.
[Info] Reconfiguring Instances...
[Info] Reconfiguring Rust01...
[22:06:03] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 21/12/2022 17:54
[22:06:03] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[22:06:03] [Core Info]            : Loading configuration from provisionargs.kvp...
[22:06:03] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[22:06:03] [Core Info]            : OS: Linux / x86_64
[22:06:03] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[22:06:03] [Core Info]            : AMP Instance ID: e9a85b8e-e4ba-4dbb-9b00-d312ea96cc33
[22:06:04] [ModuleLoader Info]    : Loaded RustModule version 1.0.0.0 by CubeCoders Limited
[22:06:04] [Core Info]            : Metrics publishing is enabled at udp://amp.ltcraft.net:12820.
[22:06:04] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:04] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:04] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:04] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:04] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[22:06:04] [ModuleLoader Info]    : RustModule requests dependency steamcmdplugin...
[22:06:04] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[22:06:04] [ModuleLoader Info]    : RustModule requests dependency RCONPlugin...
[22:06:04] [RCON Info]            : Starting Source RCON Passthru server at 0.0.0.0:7777
[22:06:04] [ModuleLoader Info]    : Loaded RCONPlugin version 1.0.0.1 by CubeCoders Limited
[22:06:04] [Core Info]            : Licence Present: AMP Network Standard Edition
[22:06:04] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
[Info] Reconfiguring Ltcraft-Live01...
[22:06:04] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 02/02/2023 03:00
[22:06:04] [Core Info]            : Stream: Nightly (Nightly) - built by CUBECODERS/buildbot on CCL-DEV
[22:06:04] [Core Info]            : Loading configuration from provisionargs.kvp...
[22:06:05] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[22:06:05] [Core Info]            : OS: Linux / x86_64
[22:06:05] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[22:06:05] [Core Info]            : RAM: 64261MB
[22:06:05] [Core Info]            : AMP Instance ID: 1dfba9c5-c5ad-48b3-b28b-cd65ce417129
[22:06:05] [ModuleLoader Info]    : Loaded FiveMModule version 1.0.0.0 by CubeCoders Limited
[22:06:05] [Core Info]            : Metrics publishing is enabled at udp://amp.ltcraft.net:12820.
[22:06:05] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:05] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:05] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:05] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:05] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[22:06:05] [Core Info]            : Licence Present: AMP Network Standard Edition
[22:06:05] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
[Info] Reconfiguring Ltcraft-Development01...
[22:06:05] [Core Info]            : Starting AMP version 2.4.1.2 (Halimede), built 02/02/2023 03:00
[22:06:05] [Core Info]            : Stream: Nightly (Nightly) - built by CUBECODERS/buildbot on CCL-DEV
[22:06:06] [Core Info]            : Loading configuration from provisionargs.kvp...
[22:06:06] [Core Warning]         : Current time zone is set to CST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[22:06:06] [Core Info]            : OS: Linux / x86_64
[22:06:06] [Core Info]            : CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
[22:06:06] [Core Info]            : RAM: 64261MB
[22:06:06] [Core Info]            : AMP Instance ID: de6673e9-b040-4d5e-bd15-2d0c8fc3e027
[22:06:06] [ModuleLoader Info]    : Loaded FiveMModule version 1.0.0.0 by CubeCoders Limited
[22:06:06] [Core Info]            : Metrics publishing is enabled at udp://amp.ltcraft.net:12820.
[22:06:06] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:06] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:06] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:06] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[22:06:06] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[22:06:06] [Core Info]            : Licence Present: AMP Network Standard Edition
[22:06:06] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
[Info] Waiting for AMP instance to start...
[Notice] AMP instance ADS01 is now running.
[Info] Done!
[Info] If AMP was originally configured to use https, you can run 'bash <(wget -qO- getamp.sh) postSetupHTTPS' as root.
  CubeCoders AMP  💻amp@lt1700  📁~/.ampdata/instances/ADS01 

I can confirm it is not working still… It just keeps giving me

Refresh in progress…

This was working fine up until today when i updated it… Actually worked great not sure what changed…

https://youtu.be/m1BoL2x50gk

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.