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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Occasionally Pipeline is unable to connect to AuthZPlugin Edited

Occasionally a pipeline fails due to a failure to connect to the pluginAuthZPlugin.AuthZRes. Here is the docker error log:

time="2019-11-24T14:26:50.782904282Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZRes: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZRes: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 1s"time="2019-11-24T14:26:51.783581826Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZRes: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZRes: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 2s"time="2019-11-24T14:26:53.788686520Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZRes: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZRes: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 4s"time="2019-11-24T14:26:57.789059713Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZRes: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZRes: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 8s"time="2019-11-24T14:27:05.789590970Z" level=error msg="AuthZResponse for POST /v1.25/build?t=hdp_amphora_local_django&q=False&nocache=False&rm=True&forcerm=False&pull=False&dockerfile=.%2Fcompose%2Flocal%2Fdjango%2FDockerfile returned error: plugin pipelines failed with error: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZRes: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused"time="2019-11-24T14:27:05.789656585Z" level=error msg="Handler for POST /v1.25/build returned error: plugin pipelines failed with error: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZRes: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused"2019-11-24 14:27:05.789696 I | http: multiple response.WriteHeader callstime="2019-11-24T14:27:05.796135397Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZReq: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZReq: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 1s"time="2019-11-24T14:27:06.797576578Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZReq: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZReq: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 2s"time="2019-11-24T14:27:08.797997268Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZReq: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZReq: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 4s"time="2019-11-24T14:27:12.798347438Z" level=warning msg="Unable to connect to plugin: /run/docker/plugins/pipelines.sock/AuthZPlugin.AuthZReq: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZReq: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused, retrying in 8s"time="2019-11-24T14:27:20.798690871Z" level=error msg="AuthZRequest for GET /v1.25/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dbuild%22%2C+%22com.docker.compose.service%3Ddjango%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D returned error: plugin pipelines failed with error: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZReq: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused"time="2019-11-24T14:27:20.798740006Z" level=error msg="Handler for GET /v1.25/containers/json returned error: plugin pipelines failed with error: Post http://%2Frun%2Fdocker%2Fplugins%2Fpipelines.sock/AuthZPlugin.AuthZReq: dial unix /run/docker/plugins/pipelines.sock: connect: connection refused"

 

Googling did not help much. Anybody any ideas?

11 answers

Are there any updates on this issue? It happens very occasionally with `docker tag` or `docker push` commands. Can I provide some more logs or something else to help?

I don't know what to do here, as it happens very randomly & sometimes we can't deploy for several hours. So for us it's a serious blocker at the moment.

we are having the same issue, fails randomly.

Like # people like this

I don't know if it's a fix or if Atlassian fixed something, but since I added the following to my bitbucket-pipelines.yml file I did not get this error anymore:

definitions:
services:
docker:      
memory: 2048

this fixed it for me as well

Like Matthias_Prieth likes this

I have following values and got this error sometimes.

definitions:
services:
docker:
memory3072

Same error with Bitbucket Pipelines Pipe: AWS ECR push image.

Same error.

 

Please fix as soon as posible.

Same error with sonarsource/sonarcloud-quality-gate:0.1.3

Same error

Same error. Please help.

0 votes

happens intermittently but it's more or less on memory/cache issue (most of the times), try to re-run or increase the memory

0 votes

Same problem here

Almost one year without any answer... I also have the same problem here

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,922 views 0 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