You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2023. It is now read-only.
Describe the bug
We see that the exporter exits regularly due to some intermediate errors or issues at the Snyk APIs. This is generally an odd behaviour and should instead just be logged, as the exporter is not failing in its operation.
Here is a common error we see due to connection closing:
Get https://snyk.io/api/v1/org/UUID/projects: read tcp IP:36810-\u003eIP:443: read: connection reset by peer
Expected behavior
The error should just be logged as above but the application should keep on running.
Application (please complete the following information):
Distribution: Docker image
Version 1.4.0
Log output (if applicable):
{"level":"error","msg":"Snyk exporter exited due to error: organization NAME (UUID): Get https://snyk.io/api/v1/org/UUID/projects: read tcp IP:36810-\u003eIP:443: read: connection reset by peer","source":"main.go:121","time":"2019-10-04T10:08:23Z"}
The text was updated successfully, but these errors were encountered:
This change removes special handling of collection errors and thus
eliminating exits due to those.
In case of any error due to collection we log the details and move on to
the next available organization.
Fixes#36
This change removes special handling of collection errors and thus
eliminating exits due to those.
In case of any error due to collection we log the details and move on to
the next available organization.
Closes#36
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
We see that the exporter exits regularly due to some intermediate errors or issues at the Snyk APIs. This is generally an odd behaviour and should instead just be logged, as the exporter is not failing in its operation.
Here is a common error we see due to connection closing:
To Reproduce
Add a test case for above error to
TestPoll
.Expected behavior
The error should just be logged as above but the application should keep on running.
Application (please complete the following information):
Log output (if applicable):
The text was updated successfully, but these errors were encountered: