Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket runner throwing error: "An error occurred whilst pulling image"

Edited

Hi All, 

Its my first time using Bitbucket runners/docker. So I am completely new to this. 

I followed the instruction on the atlassian website and have installed Bitbucket runner on my Ubuntu VM.

When I run the pipeline it fails with the below error:

[2021-11-19 11:58:12,612] An error occurred whilst pulling image.
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Get \"https://docker-public.packages.atlassian.com/v2/\": remote error: tls: protocol version not supported"}
PipelineError.PNG


I installed docker using the convenience script.
I did not setup a docker repository as I am only interested in using whats available on docker hub if that makes sense...

Please do advice me as I am new to this.

I have added a screenshot of the pipeline yaml file as well.PipelineYAML.PNGRunner.PNG




Any help is appreciated. 


Update: 

Some extra logs (when running pipeline second time):

[2021-11-19 13:50:22,624] Checking for step completion every PT30S seconds.
[2021-11-19 13:50:23,453] Updating step progress to PULLING_IMAGES.
[2021-11-19 13:50:23,544] Appending log line to main log.
[2021-11-19 13:50:23,780] Pulling image docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-dvcs-tools:prod-stable.
[2021-11-19 13:50:24,194] Updating runner state to "ONLINE".
[2021-11-19 13:50:41,167] Pulling image maven:3.6.3.
[2021-11-19 13:50:54,193] Updating runner state to "ONLINE".
[2021-11-19 13:51:24,194] Updating runner state to "ONLINE".
[2021-11-19 13:51:54,193] Updating runner state to "ONLINE".
[2021-11-19 13:52:24,193] Updating runner state to "ONLINE".
[2021-11-19 13:52:31,137] Pulling image selenium/standalone-chrome:latest.
[2021-11-19 13:52:34,418] An error occurred whilst pulling image.
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Get \"https://registry-1.docker.io/v2/\": EOF"}




 


1 answer

0 votes
Syahrul Atlassian Team Jan 05, 2022

Hi @farkhnawaz 

G'day!

Looking at the error, I believe your server using an outdated TLS and cipher hence you getting the error "remote error: tls: protocol version not supported".
You can use the following commands to check your OpenSSL version

openssl version

If you are using v1.1 then you need to upgrade your server OpenSSL version to at least v1.2 or v1.3. Upgrade will depend on your Linux distros and a quick search should give you information on how to upgrade.

Let me know how it goes

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,440 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you