Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Spec Detection Error

Siddhant Gogri May 9, 2018

I have installed Bamboo 6.5 on dev and Setup Webhook in our Github repo where the java spec is commited.

And now seeing following error in Bamboo

Processing Spec within Docker containerUnable to scan repository <<repo>> <<repoid>> for Bamboo Specs
com.atlassian.bamboo.repository.RepositoryException: Unable to scan repository <<repo>> <<repoid>> for Bamboo Specs
at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.lambda$runSpecWithDocker$8(RepositoryStoredSpecsServiceImpl.java:687)
...
...
...
...
Caused by: com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExceptionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: com.spotify.docker.client.shaded.org.apache.http.conn.HttpHostConnectException:Connect to localhost:2375 [localhost/127.0.0.1, localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused : connect

 

1 answer

1 accepted

0 votes
Answer accepted
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2018

Hi @Siddhant Gogri

Could you please share with us details about your installation? Is Bamboo inside a container? I reproduced this same behavior trying to run a docker container inside a docker container and that is not supported.

thanks

Siddhant Gogri May 10, 2018

@Gabriel Ribeiro

No, I am not running Bamboo in a container. Nor is there any agent which has docker capabilities.

That is where I am confused, as to why do I get docker related error if there is no docker

Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2018

@Siddhant Gogri

Did you select the "Process Bamboo Specs in Docker" at Cog icon>Overview>Security settings

Siddhant Gogri May 10, 2018

@Gabriel Ribeiro Thanks

Didn't know about that option. It worked

jianbo qu January 16, 2020

It's worked, but there is another problem. Does it need network when scan linked repositories on bamboo. I'm the offline situation when scanning.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events