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

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?

16 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

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

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 here. Would be great to have a fix, we're loosing plenty of times at each fail.

Same error.

 

Please fix as soon as posible.

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

Same error

Same error. Please help.

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

Same problem here

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

I have the same problem here

Seems to be still a problem....

Our tests are not that big that is should be a problem with 2048 memory. 

This is really a waist of time, have to build 5-10 times until it get trough.

Same. Can't push image

We are facing the same problem

0 votes

C'mon guys pls say something! We suppose to be a community, not just a wailing wall... 

Suggest an answer

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

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

129 views 0 2
Join discussion

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