Re: [capistrano] remote end hung up unexpectedly but connection seems ok

162 views
Skip to first unread message

Lee Hambley

unread,
May 18, 2013, 4:30:16 AM5/18/13
to capistrano
I see the connection in the application's server and in the repo's server and if I do the last command on the server via ssh with the same user I use for the deployment I have no error 

That's the problem, when you ssh into the box, and run that command, that's not what Capistrano is doing.

You need to diagnose why the 3rd party server is hanging up on you, I'd suppose lacking SSH keys, or some other failed authentication.

- Lee



On 17 May 2013 14:11, Samuel Laulhau <zoul...@gmail.com> wrote:
Hello,

I'm using capistrano v2.15.4 , 
I anymore can deploy but my connection seems good and I have no error message.
Here is some logs :

  * 2013-05-17 14:01:23 executing `deploy'
  * 2013-05-17 14:01:23 executing `deploy:update'
 ** transaction: start
  * 2013-05-17 14:01:23 executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote g...@github.like.com/repos.git master"
    command finished in 2624ms
  * executing "if [ -d .../shared/cached-copy ]; then cd .../shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 683fd0112159dc8bee5ef0f860854b8e4e7a39b4 && git clean -q -d -x -f; else git clone -q -b master g...@github.like.com/repos.git .../shared/cached-copy && cd .../shared/cached-copy && git checkout -q -b deploy 683fd0112159dc8bee5ef0f860854b8e4e7a39b4; fi"
    servers: ["..."]
    [...] executing command
 ** [... :: out] fatal: The remote end hung up unexpectedly
    command finished in 2442ms
*** [deploy:update_code] rolling back

I see the connection in the application's server and in the repo's server and if I do the last command on the server via ssh with the same user I use for the deployment I have no error 

sh -c 'if [ -d.../shared/cached-copy ]; then cd .../shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 683fd0112159dc8bee5ef0f860854b8e4e7a39b4 && git clean -q -d -x -f; else git clone -q -b master g...@github.like.com/repos.git .../shared/cached-copy && cd .../shared/cached-copy && git checkout -q -b deploy 683fd0112159dc8bee5ef0f860854b8e4e7a39b4; fi'

I really don't know where to search more information so I ask you if you know what can be my issue.


THank you,
Samuel 

--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
---
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages