We are currently trying to install AMA extension through the Monitor DCR. Data collection rule is created fine, we can see the extensions are in "creating" status when we view Azure Arc VM overview page. But it gets stuck in creating status for hours then just disappears. Checking the local VM logs, I have found the following:
[2022-09-13 22:41:04.709] [PID 6940] [TID 4740] [PULL_CLIENT_CERT_HELPER] [INFO] [00000000-0000-0000-0000-000000000000] Proxy settings from config_file: http://xxxxx.xxxxx.xxy:2121
[2022-09-13 22:41:05.057] [PID 6940] [TID 4740] [Pull Client] [INFO] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] invoke_agent_service_request return_code = 400
[2022-09-13 22:41:05.057] [PID 6940] [TID 4740] [Pull Client] [ERROR] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [c:__w\1\s\src\dsc\gc_pullclient\dsc_pull_client.cpp:580] Failed to update extensions Error : Failed to get extension list from agent service. Status Code '400'. Error Message ''.
[2022-09-13 22:41:05.058] [PID 6940] [TID 4740] [DISPATCHER] [ERROR] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [c:__w\1\s\src\dsc\em_dispatcher\em_dispatcher.cpp:263] Failed to finish extension workflow. Error : Failed to get extension list from agent service. Status Code '400'. Error Message ''.
[2022-09-13 22:41:05.058] [PID 6940] [TID 4740] [Timer Manager] [ERROR] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [c:__w\1\s\src\dsc\em_timer\em_timer_manager.cpp:182] Failed to Run extension refresh workflow for 'extension_refresh_timer' Error : Failed to get extension list from agent service. Status Code '400'. Error Message ''.
[2022-09-13 22:41:05.059] [PID 6940] [TID 4740] [TIMER] [INFO] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [End] timer trigger for extension_refresh_timer
[2022-09-13 22:41:05.059] [PID 6940] [TID 6408] [Timer Manager] [INFO] [bd8683fb-c3ad-4a41-b194-78a3f0a5d5a8] Run execution for timer 'extension_execution_timer'
However, we are not seeing any connection failures on our proxy / firewalls. Anyone had any similar issues? I would like to point out that these VMs are running on Connected Machine Agent version 1.21, as pervious version had an issue with extension installation, but shouldn't be a problem with version 1.21