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

certificate has expired #62

Open
samsalisbury opened this issue Feb 18, 2022 · 3 comments
Open

certificate has expired #62

samsalisbury opened this issue Feb 18, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@samsalisbury
Copy link

Describe the bug
When running this action, I see the following in the logs:

2022-02-18T12:11:17.8413288Z ##[group]Setup JFrog CLI
2022-02-18T12:11:18.2593575Z certificate has expired
2022-02-18T12:11:18.2596765Z Waiting 19 seconds before trying again
2022-02-18T12:11:37.5734329Z certificate has expired
2022-02-18T12:11:37.5735300Z Waiting 18 seconds before trying again
2022-02-18T12:11:55.9134550Z ##[error]certificate has expired
2022-02-18T12:11:55.9207334Z ##[endgroup]
2022-02-18T12:11:55.9353133Z Post job cleanup.
2022-02-18T12:11:56.0852828Z ##[group]Cleanup JFrog CLI servers configuration
2022-02-18T12:11:56.4663941Z certificate has expired
2022-02-18T12:11:56.4667119Z Waiting 14 seconds before trying again
2022-02-18T12:12:10.8074540Z certificate has expired
2022-02-18T12:12:10.8074846Z Waiting 16 seconds before trying again
2022-02-18T12:12:27.1351354Z ##[error]certificate has expired
2022-02-18T12:12:27.1371105Z ##[endgroup]
2022-02-18T12:12:27.1443759Z Post job cleanup.

To Reproduce
Configure the action like this in the GHA workflow:

      - uses: jfrog/setup-jfrog-cli@v1
        env:
          JF_ARTIFACTORY_1: <<redacted>>

Expected behavior
Tool is installed without error.

Screenshots
See logs, no other relevant info.

Versions

  • Setup JFrog CLI version: v1
  • Workflow operating system: linux
  • JFrog CLI version: ?
  • Artifactory Version: ?
@samsalisbury samsalisbury added the bug Something isn't working label Feb 18, 2022
@eyalbe4
Copy link
Contributor

eyalbe4 commented Feb 18, 2022

Thanks for reporting this issue @samsalisbury.
Just making sure - are you seeing this on a Linux agent only?
Does fail the commands, or just prompts the warning?
I'm not sure which certificate it is complaining about...

@samsalisbury
Copy link
Author

Hi @eyalbe4, we're running this on Ubuntu 18.04.6 LTS. The action prints the logs you can see above and then fails. Sadly the logs don't give any more detail than that.

We have now upgraded to v2.1.0 and this has resolved the issue for us.

Out of curiosity, what prompted the major version bump to v2? I expected that either the Action or the CLI interface had breaking changes, but was surprised (happily for our needs) that everything continued to work.

@eyalbe4
Copy link
Contributor

eyalbe4 commented Feb 18, 2022

@samsalisbury,
I'm happy to hear the issue was resolved by the upgrade, although I'm not yet sure what caused it.
So v2 of the Action brings JFrog CLI v2, which includes breaking changes compared to v1. You can read more about it here.
Please let us know if you have follow-up questions.

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

2 participants