Internal Server Error for some (not all) LD+JSON API /branch/<branch> endpoint requests
Hey,
I am building a vulnerabilities scraper that aims to merge all security trackers of all Linuxes altogether, to have a complete database of vulnerable packages (and cross-linked CPE/products). So far the Alpine approach with the secdb is really great, but I've seen some endpoints that throw errors only with specific branches and repositories being selected; whereas the same endpoints seem to work with others without issues.
The error I'm always getting for some endpoints is just a 500 Internal Server Error with a small HTML template that's rendered, and it happens while requesting the following endpoints. (can be tested in a simple manner via curl $URL -H "Accept: application/ld+json"
)
The following endpoints seem to work:
https://security.alpinelinux.org/branch/3.10-main
https://security.alpinelinux.org/branch/3.10-community
https://security.alpinelinux.org/branch/3.11-community
https://security.alpinelinux.org/branch/3.12-community
https://security.alpinelinux.org/branch/3.13-community
These endpoints do not work:
https://security.alpinelinux.org/branch/edge-main
https://security.alpinelinux.org/branch/edge-community
https://security.alpinelinux.org/branch/3.17-main
https://security.alpinelinux.org/branch/3.17-community
https://security.alpinelinux.org/branch/3.16-main
https://security.alpinelinux.org/branch/3.16-community
https://security.alpinelinux.org/branch/3.15-main
https://security.alpinelinux.org/branch/3.15-community
https://security.alpinelinux.org/branch/3.14-main
https://security.alpinelinux.org/branch/3.14-community
https://security.alpinelinux.org/branch/3.13-main
https://security.alpinelinux.org/branch/3.12-main
https://security.alpinelinux.org/branch/3.11-main