setup-jfrog-cli icon indicating copy to clipboard operation
setup-jfrog-cli copied to clipboard

Artifactory returns 404 for private GitHub Docker Repository

Open 98jan opened this issue 9 months ago • 0 comments

Describe the bug

Artifactory always returns 404 for private GitHub repo where my docker image is deployed.

Current behavior

When configuring a remote docker repository in Artifactory as following:

URL: https://ghcr.io// Username: PAT Name Password: PAT (with read:packages permission) -> also already tried to give all permissions, but still same behaviour

With this configuration always 404 is returned, with following error message: Connection failed: Target remote URL returned error 404: Not Found

In the logs I can find following entry:

2024-05-16T16:25:08.269Z [jfrt ] [WARN ] [3507df68c5423496] [c.p.ResponseProcessCookies:130] [http-nio-8081-exec-8] - Invalid cookie header: "Set-Cookie: _octo=GH1.1.774614533.1715876708; domain=github.com; path=/; expires=Fri, 16 May 2025 16:25:08 GMT; secure; SameSite=Lax". Invalid 'expires' attribute: Fri, 16 May 2025 16:25:08 GMT
2024-05-16T16:25:08.611Z [jfrt ] [WARN ] [3507df68c5423496] [c.p.ResponseProcessCookies:130] [http-nio-8081-exec-8] - Invalid cookie header: "Set-Cookie: _octo=GH1.1.1649066562.1715876708; domain=github.com; path=/; expires=Fri, 16 May 2025 16:25:08 GMT; secure; SameSite=Lax". Invalid 'expires' attribute: Fri, 16 May 2025 16:25:08 GMT
2024-05-16T16:25:08.720Z [jfrt ] [WARN ] [3507df68c5423496] [.r.c.s.ResearchServiceImpl:290] [http-nio-8081-exec-8] - We were unable to check repoType, maybe it does not exist

Reproduction steps

No response

Expected behavior

No response

Setup JFrog CLI version

JFrog CLI version

Workflow operating system type and version

Kubernetes 1.29

JFrog Artifactory version (if relevant)

Helm Chart version: 107.84.10

JFrog Xray version (if relevant)

No response

98jan avatar May 16 '24 16:05 98jan