Hi,

  I'm not wrong remote server (which is being deployed) try to download
source code and doesn't have access to repository.
Could you connect to remote server and try to execute git clone with https
url to check if it works?

Regards


2014-08-15 17:21 GMT+02:00 Vell <lovell.mcilw...@gmail.com>:

> Versions:
>
>    - Ruby: ruby-2.0.0-p451
>    - CapistranoL 3.2.1
>    - Rake 10.3.2 / Rails 4.1.4
>
> Platform:
>
>    - Working on.... Mac OS X 10.9.4
>    - Deploying to... CentOS release 6.5 (Final)
>
> Logs:
>
>    - http://pastebin.com/rnHx6cgr
>
> Files:
>
>    - Capfile
>    - deploy.rb
>    - Stage files (production.rb, staging.rb)
>
> I am having issues getting capistrano to fully deploy my application. I
> have my own internal git repository where I am pulling my custom engines
> and my application and it seems that something going on with sshkit is
> causing things to blow up.
>
> I am not sure what exactly to test with ssh kit to get further information
> on what my issue is. Is there a way I can narrow down what might be going
> on?
>
> The specific gem file that is giving me issues I have tried using the
> https address and the ssh address. The log that is on pastebin is for using
> ssh. But even when using https I get the following error:
>
> Fatal: HTTP request failed
> error: The requested URL returned error: 401 Unauthorized while accessing
> https://giterver.domain.com/engines/aspphauthenticatable.git/info/refs
>
>
> fatal: HTTP request failed
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/
> command.rb:97:in `exit_status='
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:148:in
> `block (5 levels) in _execute'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:551:in
> `call'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/
> connection/channel.rb:551:in `do_request'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:561:in
> `channel_request'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in
> `dispatch_incoming_packets'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/
> connection/session.rb:221:in `preprocess'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in
> `process'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
> `block in loop'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/
> connection/session.rb:169:in `loop'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
> `loop'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:269:in
> `wait'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/
> backends/netssh.rb:170:in `block (3 levels) in _execute'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:514:in
> `call'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:514:in
> `do_open_confirmation'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/
> connection/session.rb:545:in `channel_open_confirmation'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in
> `dispatch_incoming_packets'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in
> `preprocess'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/
> connection/session.rb:205:in `process'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
> `block in loop'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
> `loop'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/net-ssh-2.9.1/lib/net/ssh/
> connection/session.rb:169:in `loop'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:172:in
> `block (2 levels) in _execute'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:186:in
> `with_ssh'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/
> backends/netssh.rb:131:in `block in _execute'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:128:in
> `tap'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:128:in
> `_execute'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/
> backends/netssh.rb:66:in `execute'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/capistrano-bundler-1.1.2/lib/capistrano/tasks/bundler.cap:30:in
> `block (5 levels) in <top (required)>'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/abstract.rb:85:in
> `with'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/capistrano-bundler-1.1.2/lib/
> capistrano/tasks/bundler.cap:22:in `block (4 levels) in <top (required)>'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/abstract.rb:77:in
> `within'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/capistrano-bundler-1.1.2/lib/capistrano/tasks/bundler.cap:21:in
> `block (3 levels) in <top (required)>'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/
> backends/netssh.rb:54:in `instance_exec'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in
> `run'
> /Users/lovell/.rvm/gems/ruby-2.0.0-p451/gems/sshkit-1.5.1/lib/sshkit/runners/parallel.rb:13:in
> `block (2 levels) in execute'
> Tasks: TOP => deploy:updated => bundler:install
> (See full trace by running task with --trace)
> The deploy has failed with an error: #<SSHKit::Runner::ExecuteError:
> Exception while executing on host myserver.domain.com: bundle exit
> status: 11
> bundle stdout: Nothing written
>
> Does anyone have any ideas of things I could do to address these problems?
>
>
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/64d157ce-7515-4a50-81ca-688a8a81363c%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/64d157ce-7515-4a50-81ca-688a8a81363c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CALgP05b_be%2B%3Drra9OFh0jRNvyV9Ggu7RGsx8Rjiec16%3DP-3YJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to