Today, I’m trying to build an extension I had to test. Can’t manage to do it through the GUI, as it says:
- Unable to load schema from ‘/home/administrator/.config/Code/User/globalStorage/dynatraceplatformextensions.dynatrace-extensions/1.285.0/extension.schema.json’: No content.
It really depends, I have a lot of different ones, both from old/new schemas:
-
Problems loading reference ‘http://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.285.0/log.processing.rule.schema.dql.json’: Unable to load schema from ‘http://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.285.0/log.processing.rule.schema.dql.json’: No content.
Problems loading reference ‘http://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.285.0/log.processing.rule.schema.json’: Unable to load schema from ‘http://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.285.0/log.processing.rule.schema.json’: No content.
Problems loading reference ‘http://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.331.0/log.metrics.dql.schema.json’: Unable to load schema from ‘http://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.331.0/log.metrics.dql.schema.json’: No content.
In the process, I have seen that the schemas are really downloaded with HTTP, but then it redirects:
- GET /api/v2/extensions/schemas/1.285.0/log.processing.rule.schema.dql.json HTTP/1.1
Accept-Encoding: gzip, deflate
Host: abc12345.live.dynatrace.com
Connection: close - HTTP/1.1 307 Temporary Redirect
content-length: 0
location: https://abc12345.live.dynatrace.com/api/v2/extensions/schemas/1.285.0/log.processing.rule.schema.dql.json
cache-control: no-cache
connection: close
Even creating an extension from scratch yields the same issue. Tried also with two different tenants, same result.
The files in VS Code are OK. I even restarted a VM I’m sure was working about a month ago, and it has the same problem.
Compiled with dt-sdk, they do compile. And they also run locally.