# Https://docker-auth.elastic.co not working

**URL:** <https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [May 30, 2023, 10:15am UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665 "2023-05-30T10:15:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ITMBF](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itmbf/32/121591_2.png) [@ITMBF](https://discuss.elastic.co/u/ITMBF)\
**Post date:** [May 30, 2023, 10:15am UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/1 "2023-05-30T10:15:03Z")

</div>

Hi guys,

I am looking to build a ppc64le version of filebeat and try to get the golang-crossbuild containers.

In order to do that I want to obtain them from [docker.elastic.co/beats-dev/golang-crossbuild:[TAG]](http://docker.elastic.co/beats-dev/golang-crossbuild:%5BTAG%5D)

When running a pull request I get:  
ERRO[0002] error getting search results from v2 endpoint "[docker.elastic.co](http://docker.elastic.co)": unable to retrieve auth token: invalid username/password: errors:  
denied: requested access to the resource is denied  
unauthorized: authentication required

I then found the manual steps for releasing a new verison (thats not what I want to do, but it seems to indicate a way to authenticate)  
"Get a logon token for the container registry by visiting [https://docker-auth.elastic.co/.](https://docker-auth.elastic.co/.)"

So I want to associate my GH account via [https://docker-auth.elastic.co/](https://docker-auth.elastic.co/), but thats not working either with "Newly-acquired token is invalid"

Now I am either doing something wrong or its not working as expected...

If someone could enlighten me to which is the case and what I can do to proceed... 🙂  
Thanks,  
cheers

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [May 31, 2023, 1:00am UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/2 "2023-05-31T01:00:48Z")

</div>

That should generally be anonymously readable. What is the exact command / image you're trying to get there?

`docker pull docker.elastic.co/beats-dev/golang-crossbuild:1.17.1-ppc` is working fine for me (I even logged out just to be sure)

---

<div class="post-metadata">

**Author:** ![ITMBF](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itmbf/32/121591_2.png) [@ITMBF](https://discuss.elastic.co/u/ITMBF)\
**Post date:** [June 2, 2023, 9:54am UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/3 "2023-06-02T09:54:58Z")

</div>

Hi,  
thanks, I was able to access 1.17.1 without issues.  
Makes me wonder why the releases ( [Releases · elastic/golang-crossbuild (github.com)](https://github.com/elastic/golang-crossbuild/releases)) are not availble there.

Maybe a misunderstanding on my end how all that is related.

Thanks for your help:)

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [June 3, 2023, 4:00pm UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/4 "2023-06-03T16:00:39Z")

</div>

That sounds like a good question — I don't know and have asked. I picked up the version / example from the [readme](https://github.com/elastic/golang-crossbuild) but I'm unsure why the other releases wouldn't work.

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [June 5, 2023, 4:59pm UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/5 "2023-06-05T16:59:34Z")

</div>

1. Try pulling `docker pull docker.elastic.co/beats-dev/golang-crossbuild:1.19.9-ppc-debian11`
2. I opened [Some Docker images are not available? · Issue #295 · elastic/golang-crossbuild · GitHub](https://github.com/elastic/golang-crossbuild/issues/295) to track this down.

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [June 21, 2023, 3:35pm UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/6 "2023-06-21T15:35:30Z")

</div>

This should be resolved now: [release notes: add docker image suffixes by v1v · Pull Request #302 · elastic/golang-crossbuild · GitHub](https://github.com/elastic/golang-crossbuild/pull/302)

Thanks for bringing it up!

---

<div class="post-metadata">

**Author:** ![ITMBF](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itmbf/32/121591_2.png) [@ITMBF](https://discuss.elastic.co/u/ITMBF)\
**Post date:** [June 22, 2023, 5:01am UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/7 "2023-06-22T05:01:38Z")

</div>

Brilliant, thanks 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 20, 2023, 7:01am UTC](https://discuss.elastic.co/t/https-docker-auth-elastic-co-not-working/334665/8 "2023-07-20T07:01:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
