When i make a deployment with capistrano 3, i have an error but it's not fatal and finally deployment is successful.
My error message is: Error writing to authentication socket
This error message was shown 3 times.
Like this:
DEBUG [ac3445fe] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/my-project/git-ssh.sh /usr/bin/env git ls-remote -h git@github.com:me/my-project.git )
DEBUG [ac3445fe] Error writing to authentication socket.
DEBUG [ac3445fe] b9e8e722970ec7980e2062f481e7147bde7e7363 refs/heads/branch1
DEBUG [ac3445fe] 1a23c87450e24a83aa97c4765750c60d683ecf36 refs/heads/master
DEBUG [ac3445fe] fc070f0e7c0b44bb0ae519beced3e00cb0dbc6cb refs/heads/branch2
DEBUG [ac3445fe] 2936c7921bdae0003d845dde142bf8b11f29f0a3 refs/heads/branch3
DEBUG [ac3445fe] Error writing to authentication socket.
DEBUG [ac3445fe] Finished in 7.479 seconds with exit status 0 (successful).
and this:
DEBUG [2c4bb65f] Command: cd /var/www/my-project/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/my-project/git-ssh.sh /usr/bin/env git remote update )
DEBUG [2c4bb65f] Fetching origin
DEBUG [2c4bb65f] Fetching origin
DEBUG [2c4bb65f] Error writing to authentication socket.
I can work with this error but if i can resolve it, will better :)