Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16503

Artifactory doesn't support Azure container registry as docker remote repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We don't send the authentication token for redirect as expected by Azure.

      11:42:04,232 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 << "{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[

      {"Type":"repository","Name":"nginx","Action":"pull"}

      ]}]}[\n]"
      2018-04-25 11:42:04,234 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "GET /v2/nginx/blobs/sha256:faa42fe99fd154460cd5f2174e74b0b004de5a139b7764a990a872f650dc996f HTTP/1.1[\r][\n]"
      2018-04-25 11:42:04,236 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "Connection: Keep-Alive[\r][\n]"
      2018-04-25 11:42:04,237 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "X-Artifactory-Originated: 70d3e448991522b7:3d4e45e5:162fba8217e:-8000[\r][\n]"
      2018-04-25 11:42:04,238 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "Origin-Artifactory: 70d3e448991522b7:3d4e45e5:162fba8217e:-8000[\r][\n]"
      2018-04-25 11:42:04,239 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "Accept-Encoding: gzip[\r][\n]"
      2018-04-25 11:42:04,239 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "Host: arttestazdel.azurecr.io[\r][\n]"
      2018-04-25 11:42:04,240 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "User-Agent: Artifactory/development[\r][\n]"
      2018-04-25 11:42:04,240 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjNSV0c6NklLRzpCV0FGOjNISVg6U1M0Szo3VkdEOkNQMko6WkdUWDpNSVE1OkI3RUQ6TUMyTzpHWlozIn0.eyJqdGkiOiI0ZDU4ODg5YS0zN2YyLTQ5MzYtODI1ZC03YjRjMjQxNjAwM2MiLCJzdWIiOiJhcnR0ZXN0YXpkZWwiLCJuYmYiOjE1MjQ2NDQ4MTIsImV4cCI6MTUyNDY0OTMxMiwiaWF0IjoxNTI0NjQ0ODEyLCJpc3MiOiJBenVyZSBDb250YWluZXIgUmVnaXN0cnkiLCJhdWQiOiJhcnR0ZXN0YXpkZWwuYXp1cmVjci5pbyIsImFjY2VzcyI6W3sidHlwZSI6InJlcG9zaXRvcnkiLCJuYW1lIjoibmdpbngiLCJhY3Rpb25zIjpbInB1bGwiXX1dLCJyb2xlcyI6WyJPd25lciJdfQ.LbWNzjUsHOqVch3kDlVS8bG5OA62vcRXA0m5rbbOO_7fWKMYgVI9LVnhm_pK1A8Vcnl1-xscXSpTmYp2d64-CQwLvVcsmzi5dP7-ZGWLiDP38oSSi51XueQGhoF_rAKlvoytE7Hb6i6lYioTwNaqCYfHH5ISCcWHxMF1osXJCmf9aYAEsiJ7bqgHataxn7AxTBzEWnXu4taYSJ_04xVuNx5Etuqv8yVtLpRDAgBF4oP5vyd6n6K6eAPIpTB3w3-OHi3HPvps7k6As3zLOqLC5R4jb6jXKq2NpitQ7RxeGEeq6tD6fInIeFDvX7CsB9GkXYFXkLz885Z7wksxWuYIsw[\r][\n]"
      2018-04-25 11:42:04,241 [http-nio-8080-exec-9] DEBUG o.a.h.wire:72 - http-outgoing-80 >> "[\r][\n]"
      2018-04-25 11:42:04,287 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "HTTP/1.1 307 Temporary Redirect[\r][\n]"
      2018-04-25 11:42:04,287 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Server: nginx[\r][\n]"
      2018-04-25 11:42:04,288 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Date: Wed, 25 Apr 2018 08:42:04 GMT[\r][\n]"
      2018-04-25 11:42:04,288 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Content-Type: text/html; charset=utf-8[\r][\n]"
      2018-04-25 11:42:04,288 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Content-Length: 391[\r][\n]"
      2018-04-25 11:42:04,288 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Connection: keep-alive[\r][\n]"
      2018-04-25 11:42:04,289 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Access-Control-Expose-Headers: Docker-Content-Digest[\r][\n]"
      2018-04-25 11:42:04,289 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Access-Control-Expose-Headers: WWW-Authenticate[\r][\n]"
      2018-04-25 11:42:04,289 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Access-Control-Expose-Headers: Link[\r][\n]"
      2018-04-25 11:42:04,289 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Docker-Distribution-Api-Version: registry/2.0[\r][\n]"
      2018-04-25 11:42:04,290 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Location: [https://weumanaged144.blob.core.windows.net/7a8d89e03e5e4b6e902b48784acb365c-wm833nqhzq//docker/registry/v2/blobs/sha256/5d/5de7daae322c6174a0a88799c69d9b1020436ae756642f9218faf90a4cd0c71e/data?se=2018-04-25T09%3A02%3A04Z&sig=ldh0O3hlJu1HiOSROna9zyRklUEvojgnOhKNTEevlAE%3D&sp=r&sr=b&sv=2015-02-21&regid=7a8d89e03e5e4b6e902b48784acb365c[\r][\n|https://weumanaged144.blob.core.windows.net/7a8d89e03e5e4b6e902b48784acb365c-wm833nqhzq//docker/registry/v2/blobs/sha256/5d/5de7daae322c6174a0a88799c69d9b1020436ae756642f9218faf90a4cd0c71e/data?se=2018-04-25T09%3A02%3A04Z&sig=ldh0O3hlJu1HiOSROna9zyRklUEvojgnOhKNTEevlAE%3D&sp=r&sr=b&sv=2015-02-21&regid=7a8d89e03e5e4b6e902b48784acb365c[r][n]]"
      2018-04-25 11:42:04,290 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
      2018-04-25 11:42:04,290 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "X-Content-Type-Options: nosniff[\r][\n]"
      2018-04-25 11:42:04,291 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "X-Ms-Correlation-Request-Id: 06466bb8-d3a8-40de-97c4-dda581ed990b[\r][\n]"
      2018-04-25 11:42:04,291 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
      2018-04-25 11:42:04,291 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "[\r][\n]"
      2018-04-25 11:42:04,291 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "<a href="https://weumanaged144.blob.core.windows.net/7a8d89e03e5e4b6e902b48784acb365c-wm833nqhzq//docker/registry/v2/blobs/sha256/5d/5de7daae322c6174a0a88799c69d9b1020436ae756642f9218faf90a4cd0c71e/data?se=2018-04-25T09%3A02%3A04Z&sig=ldh0O3hlJu1HiOSROna9zyRklUEvojgnOhKNTEevlAE%3D&sp=r&sr=b&sv=2015-02-21&regid=7a8d89e03e5e4b6e902b48784acb365c">Temporary Redirect</a>.[\n]"
      2018-04-25 11:42:04,292 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-79 << "[\n]"
      2018-04-25 11:42:04,292 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "GET /7a8d89e03e5e4b6e902b48784acb365c-wm833nqhzq/docker/registry/v2/blobs/sha256/5d/5de7daae322c6174a0a88799c69d9b1020436ae756642f9218faf90a4cd0c71e/data?se=2018-04-25T09%3A02%3A04Z&sig=ldh0O3hlJu1HiOSROna9zyRklUEvojgnOhKNTEevlAE%3D&sp=r&sr=b&sv=2015-02-21&regid=7a8d89e03e5e4b6e902b48784acb365c HTTP/1.1[\r][\n]"
      2018-04-25 11:42:04,293 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "Connection: Keep-Alive[\r][\n]"
      2018-04-25 11:42:04,293 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "X-Artifactory-Originated: 70d3e448991522b7:3d4e45e5:162fba8217e:-8000[\r][\n]"
      2018-04-25 11:42:04,293 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "Origin-Artifactory: 70d3e448991522b7:3d4e45e5:162fba8217e:-8000[\r][\n]"
      2018-04-25 11:42:04,294 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "Accept-Encoding: gzip[\r][\n]"
      2018-04-25 11:42:04,294 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "Host: weumanaged144.blob.core.windows.net[\r][\n]"
      2018-04-25 11:42:04,294 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "User-Agent: Artifactory/development[\r][\n]"
      2018-04-25 11:42:04,295 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 >> "[\r][\n]"
      2018-04-25 11:42:04,379 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "HTTP/1.1 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.[\r][\n]"
      2018-04-25 11:42:04,380 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "Content-Length: 633[\r][\n]"
      2018-04-25 11:42:04,380 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "Content-Type: application/xml[\r][\n]"
      2018-04-25 11:42:04,380 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "Server: Microsoft-HTTPAPI/2.0[\r][\n]"
      2018-04-25 11:42:04,381 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "x-ms-request-id: a1a041f6-201e-0001-6f71-dcfd65000000[\r][\n]"
      2018-04-25 11:42:04,381 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "Date: Wed, 25 Apr 2018 08:42:03 GMT[\r][\n]"
      2018-04-25 11:42:04,381 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\r][\n]"
      2018-04-25 11:42:04,381 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[0xef][0xbb][0xbf]<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.[\n]"
      2018-04-25 11:42:04,381 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "RequestId:a1a041f6-201e-0001-6f71-dcfd65000000[\n]"
      2018-04-25 11:42:04,382 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "Time:2018-04-25T08:42:04.3446476Z</Message><AuthenticationErrorDetail>Signature did not match. String to sign used was r[\n]"
      2018-04-25 11:42:04,382 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\n]"
      2018-04-25 11:42:04,382 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "2018-04-25T09:02:04Z[\n]"
      2018-04-25 11:42:04,382 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "/blob/weumanaged144/7a8d89e03e5e4b6e902b48784acb365c-wm833nqhzq/docker/registry/v2/blobs/sha256/5d/5de7daae322c6174a0a88799c69d9b1020436ae756642f9218faf90a4cd0c71e/data[\n]"
      2018-04-25 11:42:04,382 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\n]"
      2018-04-25 11:42:04,383 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "2015-02-21[\n]"
      2018-04-25 11:42:04,383 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\n]"
      2018-04-25 11:42:04,383 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\n]"
      2018-04-25 11:42:04,383 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\n]"
      2018-04-25 11:42:04,383 [http-nio-8080-exec-7] DEBUG o.a.h.wire:72 - http-outgoing-75 << "[\n]"
      2018-04-25 11:42:04,384 [http-nio-8080-exec-7] DEBUG o.a.h.wire:86 - http-outgoing-75 << "</AuthenticationErrorDetail></Error>"

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                Unassigned
                Reporter:
                tamirh Tamir Hadad [X] (Inactive)
                Votes:
                9 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: