aboutcode-org / aboutcode-org/purldb

Worker cannot get next download url if purldb is behind basicauth

Abierto
#395 0 comentarios 0 reacciones 1 asignado Reclamado por @JonoYang Ver en GitHub
Lenguaje dominante
HTML
Estrellas
67
Forks
69
Merge medio
8 d 8 h
PR fusionados (30 d)
1

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.