aboutcode-org / aboutcode-org/purldb

Worker cannot get next download url if purldb is behind basicauth

Aperta
#395 0 commenti 0 reazioni 1 assegnatario Rivendicata da @JonoYang Vedi su GitHub
Lingua principale
HTML
Stelle
67
Fork
69
Merge medio
8g 8h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.