Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Problem behind proxy #4

Open
rsantellan opened this issue Feb 1, 2017 · 1 comment
Open

Problem behind proxy #4

rsantellan opened this issue Feb 1, 2017 · 1 comment

Comments

@rsantellan
Copy link

rsantellan commented Feb 1, 2017

Hi,
I'm trying to use vagrant-dspace but I'm having a problem when trying to clone the dspace repo.
The logs shows this:

==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Adding the fingerprint for GitHub so we can connect to it]/returns: Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts. ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Adding the fingerprint for GitHub so we can connect to it]/returns: Permission denied (publickey). ==> vagrant-dspace: Error: ssh -T -oStrictHostKeyChecking=no [email protected] returned 255 instead of one of [0,1] ==> vagrant-dspace: Error: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Adding the fingerprint for GitHub so we can connect to it]/returns: change from notrun to 0 1 failed: ssh -T -oStrictHostKeyChecking=no [email protected] returned 255 instead of one of [0,1] ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Cloning DSpace source code into /home/vagrant/dspace-src]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Cloning DSpace source code into /home/vagrant/dspace-src]: Skipping because of failed dependencies ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Checkout branch dspace-5_x]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Checkout branch dspace-5_x]: Skipping because of failed dependencies ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/File[/home/vagrant/dspace-src/dspace/config/local.cfg]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/File[/home/vagrant/dspace-src/dspace/config/local.cfg]: Skipping because of failed dependencies ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Build DSpace installer in /home/vagrant/dspace-src]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Build DSpace installer in /home/vagrant/dspace-src]: Skipping because of failed dependencies ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/File[/home/vagrant/dspace-src/custom.properties]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/File[/home/vagrant/dspace-src/custom.properties]: Skipping because of failed dependencies ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Install DSpace to /home/vagrant/dspace]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Install DSpace to /home/vagrant/dspace]: Skipping because of failed dependencies ==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Create DSpace Administrator]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true ==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Create DSpace Administrator]: Skipping because of failed dependencies

I have configure to use the https instead of git because I have the git port blocked:

dspace::install { "/home/${dspace::owner}/dspace" : git_repo => 'https://github.com/DSpace/DSpace.git', # Git repo to use for DSpace source git_branch => 'dspace-5_x', #Git branch to use require => DSpace::Postgresql_db[$dspace::db_name], # Must first have a database notify => Service['tomcat'], # Tell Tomcat to reboot after install }

How can I fix this?

@TomasKulhanek
Copy link

This is because of no authenticated with github.

==> vagrant-dspace: Error: ssh -T -oStrictHostKeyChecking=no [email protected] returned 255 instead of one of [0,1]
Other services delivering vagrant configuration allows anonymous clone. My workaround was to
use or create new private/public key pair in VM and register it in GITHUB https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/ and rerun provision by
vagrant up --provision

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants