Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Worker Containers cannot automatically authenticate via Endpoint api/v1/auth/login | rest-api doesn't recognize worker name and password #665

Open
Cachet23 opened this issue Oct 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Cachet23
Copy link

Describe the bug
The TF and Pytorch Worker Container could not automatically authenticate at the rest api via the endpoint ...api/v1/auth/login. Curling the /health endpoint showed "healthy" though. I figured it was due to the following: the worker couldn't auth with his 'username' and 'password' found in .env. So it seemed like the worker.usrname and worker.pw was not deposited at the rest api or db.

The Idea came when I create a User via WebUI and specify the name as "dioptra-worker" and pw as "{pw found in .env}" the worker container could suddenly reach every endpoint and authenticate.

Since i already continued working on enqueuing Jobs I have no screenshot or accurate error message. If needed I can reproduce the error and provide more detailed Information.

Expected behavior
An 404 error url not found!

@Cachet23 Cachet23 added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant