I tried enabling debug logs (LOG_LEVEL=debug) but I don't see anything more than that. I have no idea what's going on between the backend and Snyk's API.
I can curl the Snyk API (https://snyk.io/api/v1/org/<my-org>/projects) fine with my token.
Steps to reproduce
Please share minimal steps needed to reproduce your issue. Ideally
a paired down manifest / project to showcase the problem that can also
be used for testing.
Debug log
2021-11-15T06:37:13.168Z proxy error [HPM] Error occurred while proxying request <backstage-url>/api/proxy/snyk/org/<myorg>/projects to https://snyk.io/api/v1 [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors) type=plugin
Screenshots
If applicable, add screenshots to help explain your problem.
node -v
: v14.18.1npm -v
: 6.14.15snyk-api-import ...
, ...) π€·ββοΈExpected behaviour
The proxying of requests work in the backend, and Snyk card is shown to the user.
Actual behaviour
The proxying of requests doesn't work in the backend.
My config is as follows:
I also tried the workaround listed here: https://github.com/snyk-tech-services/backstage-plugin-snyk/issues/11 but still the same.
I tried enabling debug logs (
LOG_LEVEL=debug
) but I don't see anything more than that. I have no idea what's going on between the backend and Snyk's API.I can
curl
the Snyk API (https://snyk.io/api/v1/org/<my-org>/projects
) fine with my token.Steps to reproduce
Please share minimal steps needed to reproduce your issue. Ideally a paired down manifest / project to showcase the problem that can also be used for testing.
Debug log
Screenshots
If applicable, add screenshots to help explain your problem.