Hi I am using dynatrace SAAS and getting below error while downloading configuration using the monaco cli.
CLI version - 1.4.0
Command:
NEW_CLI=1 monaco download -e environments.yaml
Error:
--- GETTING CONFIGS for application-web
ERROR Cannot unmarshal API response for existing objects: invalid character ‘<’ looking for beginning of value
ERROR error getting client list from api application-web invalid character ‘<’ looking for beginning of value
ERROR error getting configs from API application-web %!v(MISSING)
Hello @AntonPineiro I am using Monaco v2.9.2 but still getting error when deploying configuration:
Error we got in the logs is below (Environment Name is hidden on purpose as its client information
2023-11-16T16:35:40+01:00 info Loading manifest “/learn-monaco-auto-tag/manifest.yaml”. Restrictions: groups=[], environments=[]
2023-11-16T16:35:41+01:00 error Could not connect to environment “development-environment” (https://{environmentid}.live.dynatrace.com failed to query version of Dynatrace environment: HTTP request failed: Get “https://{environmentid}/live.dynatrace.com/api/v1/config/clusterversion” data-saferedirecturl=“https://{environmentid}/live.dynatrace.com/api/v1/config/clusterversion&source=gmail&ust=1700302975691000&usg=AOvVaw2HOyOiXPcGuJZpFAUGtV21” target=_blank>live.dynatrace.com/api/v1/config/clusterversion": proxyconnect tcp: dial tcp: lookup http on 0.0.0.0:53: no such host (0.0.0.0 is replaced IP as original one is client DNS IP)
2023-11-16T16:35:41+01:00 error Please verify that this environment is a Dynatrace Classic environment.
2023-11-16T16:35:41+01:00 error Error: unable to verify Dynatrace environment generation
Yes @Julius_Loman we have double checked and its correct. The extra slash pasted due to hiding the environment tenant name while pasting here. The error URL which Monaco gave - we used same to hit a curl and it was successful.
We are using HTTP proxy and exported it as well as tried to pass proxy in same command line while trying to deploy configuration but everytime it gives same error
“proxyconnect tcp: dial tcp: lookup http on 0.0.0.0:53: no such host (0.0.0.0 is replaced IP as original one is client DNS IP)
2023-11-16T16:35:41+01:00 error Please verify that this environment is a Dynatrace Classic environment.
2023-11-16T16:35:41+01:00 error Error: unable to verify Dynatrace environment generation”