Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to upload files to Downloads section using curl

garudy October 17, 2024

I've had some issues running a build pipeline and uploading artifacts to the downloads section of Bitbucket.

This works fine on one machine, an AWS instance running Windows Server, but fails on another machine, a Windows 10 desktop.

Both machines are able to upload artifacts after the build process completes, but one of them fails to upload a zip of the artifacts to the Downloads section.

For the machine that fails, it appears to be able to connect to api.Bitbucket.org:443 but there is an authentication error: 

 

CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.

Any help is appreciated as I would prefer to run the pipeline on a Windows 10 or 11 machine and not the AWS instance.

1 answer

1 accepted

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 21, 2024

G'day, @garudy 

Welcome to the community!

This typically occurs when curl attempts to validate a certificate's trustworthiness but can't verify whether it has been revoked. Maybe try to add a flag to skip the SSL validation to see if that works:

--ssl-no-revoke

Please be aware that this approach is not secure, as it exposes you to the risk of a Man-In-The-Middle (MITM) attack when using an untrusted network.

If using a flag to bypass SSL validation resolves the issue, it may indicate a problem with your local machine's ability to validate the SSL certificate for Bitbucket.org. This could involve part or all of the SSL chain. As we do not specialize in Windows systems, we recommend consulting the Windows community for assistance in resolving this certificate validation issue.

Regards,
Syahrul

garudy October 23, 2024

This worked for me.

garudy October 23, 2024

As a note, the Avast WebShield is known to cause issues with certificate validation. I will be switching antivirus softwares.

Like Syahrul likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events