aboutcode-org / aboutcode-org/purldb

Worker cannot get next download url if purldb is behind basicauth

Ouverte
#395 0 commentaires 0 réactions 1 personne assignée Réclamée par @JonoYang Voir sur GitHub
Langage dominant
HTML
Étoiles
67
Forks
69
Merge moyen
8 j 8 h
PR mergées (30 j)
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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.