TritonDataCenter / node-manta-sync

Rsync style command for Joyent's Manta
31 stars 9 forks source link

Possible dependency issue with restify #6

Closed dgillespie311 closed 10 years ago

dgillespie311 commented 10 years ago

Below is part of an error I get trying to install manta-sync on SmartOS with npm install -g manta-sync. Please let me know if this is the wrong place to report this kind of issue. I'm pretty new.

npm WARN package.json github-url-from-git@1.1.1 No repository field. npm ERR! git clone git://github.com/mcavage/node-restify.git Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-mcavage-node-restify-git-1be33115'... npm ERR! git clone git://github.com/mcavage/node-restify.git npm ERR! git clone git://github.com/mcavage/node-restify.git fatal: unable to connect to github.com: npm ERR! git clone git://github.com/mcavage/node-restify.git github.com[0: 192.30.252.130]: errno=Connection timed out npm ERR! Error: Command failed: fatal: unable to connect to github.com: npm ERR! github.com[0: 192.30.252.130]: errno=Connection timed out

bahamas10 commented 10 years ago

This is caused by the node-manta module provided by joyent having a dependency on a version of restify not currently available in npm https://github.com/joyent/node-manta/blob/master/package.json#L31.

It looks like your SmartOS zone is failing to connect to github to pull the node-restify module as it is timing out. Your zone appears to be having trouble connecting to the internet

dgillespie311 commented 10 years ago

I agree it's timing out but I don't think it's because of a connectivity issue. Thanks for the quick reply.

[root@srvmgt02 /opt]# git clone https://github.com/bahamas10/node-manta-sync.git manta-sync Cloning into 'manta-sync'... remote: Counting objects: 73, done. remote: Compressing objects: 100% (39/39), done. remote: Total 73 (delta 39), reused 64 (delta 31) Unpacking objects: 100% (73/73), done. Checking connectivity... done

bahamas10 commented 10 years ago

In what you pasted you are connecting to github over https... i'm thinking it may be git:// that's causing it to timeout.

Try cloning my repo over git:// to see if it causes the same issue. If it fails, then your zone is failing to connect over the git protocol (which can be caused by firewalls etc.)

try:

git clone git://github.com/bahamas10/node-manta-sync.git
dgillespie311 commented 10 years ago

Git blocked at corporate firewall.

Fixed

bahamas10 commented 10 years ago

@dgillespie311 that was my fear. I asked @mcavage in #manta on IRC about this dependency.

12:35:42    bahamas10 | any particular reason manta depends on the github#master version of restify? https://github.com/joyent/node-manta/blob/master/package.json#L31
....
12:37:33      mcavage | bahamas10: probably not now.
12:38:37      mcavage | bahamas10: i'll make sure restify is out at whatever is latest and have node-manta lock to that on the next publiush.

So in the next release of node-manta, the git dependency on restify will be removed.

dgillespie311 commented 10 years ago

Thank you very much.

On Mon, Dec 9, 2013 at 12:14 PM, Dave Eddy notifications@github.com wrote:

@dgillespie311 https://github.com/dgillespie311 that was my fear. I asked @mcavage https://github.com/mcavage in #manta on IRC about this dependency.

12:35:42 bahamas10 | any particular reason manta depends on the github#master version of restify? https://github.com/joyent/node-manta/blob/master/package.json#L31 .... 12:37:33 mcavage | bahamas10: probably not now. 12:38:37 mcavage | bahamas10: i'll make sure restify is out at whatever is latest and have node-manta lock to that on the next publiush.

So in the next release of node-manta, the git dependency on restify will be removed.

— Reply to this email directly or view it on GitHubhttps://github.com/bahamas10/node-manta-sync/issues/6#issuecomment-30156770 .

Daren Gillespie Senior Network Administrator NE State Legislature 402-471-2553

mcavage commented 10 years ago

I just published manta@1.2.3 to NPM: https://npmjs.org/package/manta