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

Authentication error when using jfrogcli as a pod #2769

Open
snup67 opened this issue Nov 25, 2024 · 0 comments
Open

Authentication error when using jfrogcli as a pod #2769

snup67 opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@snup67
Copy link

snup67 commented Nov 25, 2024

Describe the bug

When using the same jfrog container in two separate stages the jfrog plugin not connected getting an error in the Publish Build-Info Stage.

08:55:26 [Info] Trace ID for JFrog Platform logs: ef60f654658a8bfb
08:55:26 [Info] Trace ID for JFrog Platform logs: ef60f654658a8bfb
08:55:26 [Error] cipher: message authentication failed
08:55:26 [Error] cipher: message authentication failed

The Session ID not appear in Artifactory-access log.

Before for the Publish Build-Info Stage, the uupload Artifacts to Artifactory stage is working successfully and files uploading

upload Artifacts to Artifactory stage

Executing sh script inside container jfrogcli of pod ci-18-5-10-dsa-dsa-ci-release-rl-1-kvxdh-hql9z-g2w83
10:54:57 Executing command: "jf" "c" "add" "artifactory-server" "--user=****" ******** "--url=http://smart-rnd-artifactory1.smart.local/" "--artifactory-url=https://smart-rnd-artifactory1.smart.local/artifactory" "--distribution-url=http://smart-rnd-artifactory1.smart.local/distribution" "--xray-url=https://smart-rnd-artifactory1.smart.local/xray" "--interactive=false" "--overwrite=true"

Publish Build-info to Artifactory

the same container is using
10:55:20 Add docker images to build-info
10:55:20 [Pipeline] sh
10:55:21 + sleep 5
10:55:26 [Pipeline] echo
10:55:26 Adding as-dsa-app docker image to build-info
10:55:26 [Pipeline] jf
10:55:26 Executing sh script inside container jfrogcli of pod ci-18-5-10-dsa-dsa-ci-release-rl-1-kvxdh-hql9z-g2w83

Our Jenkins instance is running on Kubernetes platform.
Kubernetes: v1.26.5
Jenkins: 2.479.1
jfrog plugin: 1.5.6
jfrogcli-cli docker image (used as a container inside slave-image) : 2.61.2 or 2.71.5 has tested

the configuration of jfrog plugin (tried with https and http)
Image

Can someone help with that error?

Current behavior

--

Reproduction steps

No response

Expected behavior

No response

JFrog CLI version

2.61.2 or 2.71.5

Operating system type and version

Kubernetes: v1.26.5

JFrog Artifactory version

7.98.7

JFrog Xray version

No response

@snup67 snup67 added the bug Something isn't working label Nov 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