-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Invalid Username or Password #1711
Comments
Hi @pedro93, I'm afraid nothing has changed as far as I can tell. Testcontainers pulls an image from the quay.io registry (https://quay.io/repository/testcontainers/ryuk), but there have been no changes there. I can pull that image, unauthenticated, just fine, and our CI is doing the same. From your logs, it looks like Testcontainers has found some credentials in your environment, but these should only be applied to pulls from
I'm afraid I'm not quite sure what is going on. Please could you try temporarily moving your |
Hello @rnorth Thank you for getting back to me so quickly, I've moved the config file as you have suggested but test-containers is somehow available to still find the config at least for logging purposes.
However, the process now seems unable to lookup the config?
|
More info: Conclusion, this seems to be some auth problem surrounding the quay registry, disabling test-containers with quay may be an option. |
If |
A very valid point, since I want run these tests both locally and in gitlab-ci I am not very concerned at the moment since locally is somewhat sandboxed and gitlab-ci is a docker-in-docker so ruyk has to be disabled anyway.
Thank you for the link, indeed I do have username and password credentials in $HOME/.docker-java.properties but that is for another project. |
Testcontainers uses The I suspect all these problems might go away if your migrated your docker auth details into Docker's |
Confirmed that $HOME/.docker-java.properties was the culprit in all of this, thank you so much for your help @rnorth ! |
@pedro93 Did you delete the .docker-java.properties file to fix this issue? |
I did @NageswaraRaoMaridu |
i have the same issue on a fresh computer (there is no .docker-java.properties). manually pulling the images works but is cumbersome. i get this for every image needed. |
@dermoritz You are likely running into #5121, try out the suggested workarounds: |
Hello,
I've started hitting an
Invalid Username or Password
error for the past hours when trying to run tests locally. No changes on the repository have been, does test-containers have some dependency on a server/service that has been changed in the past 24 hours?Here is the full stack trace of a test that has been failing me locally.
Thank you.
The text was updated successfully, but these errors were encountered: