aboutcode-org / aboutcode-org/purldb

Worker cannot get next download url if purldb is behind basicauth

Open
#395 0 comments 0 reactions 1 assignee Claimed by @JonoYang View on GitHub
Dominant language
HTML
Stars
67
Forks
69
Avg merge
8d 8h
Merged PRs (30d)
1

Description

I've set up a private instance of purldb, generated a scan queue worker api key, and when I tried connecting the scan queue worker to it, it failed to get the next jobs from purldb.
I set the PURLDB_URL, PURLDB_USER, PURLDB_PASSWORD, and PURLDB_API_KEY environment variables, then in a shell, I was able to use the basic auth credentials to get the package listing. When I tried to visit the `/scan_queue/get_next_download_url/` endpoint, I got a 401.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.