26 Feb 2026 09:10 AM
Hello.
i have a problem with connecting to dynatrace in Visuals Studio Code.
I get an Error 500.
2026 - 02 - 26T09: 01: 16.329Z[ERROR][utils.conditionCheckers.checkUrlReachable]{
"message": "Request failed with status code 500",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 500\n\tat ji (c:\\Users\\xxx\\.vscode\\extensions\\dynatraceplatformextensions.dynatrace-extensions-2.10.0-win32-x64\\out\\main.js:654:1111)\n\tat IncomingMessage.<anonymous> (c:\\Users\\xxx\\.vscode\\extensions\\dynatraceplatformextensions.dynatrace-extensions-2.10.0-win32-x64\\out\\main.js:655:12278)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n\tat Eu.request (c:\\Users\\xxx\\.vscode\\extensions\\dynatraceplatformextensions.dynatrace-extensions-2.10.0-win32-x64\\out\\main.js:657:2058)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n\tat async sh (c:\\Users\\xxx\\.vscode\\extensions\\dynatraceplatformextensions.dynatrace-extensions-2.10.0-win32-x64\\out\\main.js:660:3487)\n\tat async P2e (c:\\Users\\xxx\\.vscode\\extensions\\dynatraceplatformextensions.dynatrace-extensions-2.10.0-win32-x64\\out\\main.js:776:598)\n\tat async CA.h (file:///c:/Program%20Files/Microsoft%20VS%20Code/072586267e/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:41743)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": ["xhr", "http", "fetch"],
"transformRequest": [null],
"transformResponse": [null],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"User-Agent": "axios/1.13.1",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"maxRedirects": 20,
"method": "get",
"url": "https://xxx/e/xxx/api/v1/time",
"allowAbsoluteUrls": true
},
"code": "ERR_BAD_RESPONSE",
"status": 500
}
2026 - 02 - 26T09: 01: 16.331Z[INFO][utils.conditionCheckers.checkUrlReachable]Is URL https://xxxe/xxxapi/v1/time reachable? false
2026 - 02 - 26T09: 01: 16.332Z[ERROR][utils.conditionCheckers.checkUrlReachable]Request failed with status code 500
2026 - 02 - 26T09: 01: 16.339Z[ERROR][treeViews.commands.environments.addEnvironment]The environment URL entered is not reachable.
Source "https://xxxe/xxxapi/v1/time" is reachable
invoke-RestMethod -Uri https://xxx/e/xxx/api/v1/time
1772094741567
My colleagues don't have this error.
what can I do?
regards
Hansi
Solved! Go to Solution.
26 Feb 2026 08:06 PM
Do you have http proxy configured for vscode?
27 Feb 2026 05:08 AM
I have the same default settings as the others.
The locally defined proxy is used.
Nothing changed in the settings.
27 Feb 2026 09:06 AM
@Hansi 500 seems odd. Try to call the same URL using curl with the same header and using the proxy you have configured.
Feel free to open a support ticket at https://one.dynatrace.com/ or maybe an issue in the extension - https://github.com/dynatrace-extensions/dynatrace-extensions-vscode/issues . Most likely is a configuration error on your side, but I don't see any.
Do you, by any chance, need any custom CA certificate to trust the remote side or the proxy?
Featured Posts