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.
Screenshots of text are prohibited. Always copy and paste text as text.
Make sure you search before posting! Duplicate posts for the same issue may not be answered.
OS Name/Version: Windows Server 2022 (Desktop)
Product Name/Version: AMP 2.6.0.6 in Controller/Target mode
Problem Description:
Experiencing a strange issue where every 2 minutes a popup will appear stating:
Unable to complete task
This task could not be completed: (Remote on Blackpearl) Updating remote sources - Fetching latest configurations… - State:3.
Response status code does not indicate success: 502 (Bad Gateway).
This will start to pop up every 2 minutes when it keeps trying to fetch the configurations for that instance. “Blackpearl” is the name of the target AMP node, also running Windows Server 2022. Controller and target both are running Windows Server 2022. Sometimes the error has said error 400 as well as 502.
What’s strange is a reboot of the ADS instance on the target resolves it, and fetching configurations works OK for an unknown amount of time (I think a few hours) and then it will start displaying this error again.
I enabled debug logging and see this in the deployment log for the target node every 2 minutes with the popup error:
:AMP_SYSTEM
17:31:00
Changing setting ADSModule.Defaults.DefaultAuthServerURL to http ://ampcntrl01. MYDOMAIN. net:8080/
Changing setting ADSModule.ADS.ConfigurationRepositories to [“CubeCoders/AMPTemplates”]17:31:01
Updating remote source CubeCoders/AMPTemplates
Downloading https ://github.com/CubeCoders/AMPTemplates/archive/refs/heads/main.zip, saving to CubeCoders-AMPTemplates.zip…
Failed Download: https ://github.com/CubeCoders/AMPTemplates/archive/refs/heads/main.zip
HttpRequestException
[0] (HttpRequestException) : Response status code does not indicate success: 502 (Bad Gateway).
at Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at ModuleShared.Utilities.DownloadFileWithProgressAsync(String url, String filename, RunningTask task, Boolean autoRemoveTask, String UserAgent)
Failed to update CubeCoders/AMPTemplates
Steps to reproduce:
Start up the controller and target instance
Wait a couple of hours.
The pop up will start to appear every 2 minutes. A reboot of the ADS01 instance on the target node will resolve it for another couple of hours.
Actions taken to resolve so far:
Reviewed logs to get any other specific errors. Did not find anything other than above.
Ran the steps here: discourse .cubecoders. com/t/something-not-working-on-windows-try-the-following/241
Repaired the datastores using the button on controller and when managing target node.