Closed theDanielJLewis closed 10 years ago
@DanielJLewis Could you try running dandelion -h
? Does that take just as long?
dandelion -h
is nearly instant.
My web host is Synthesis, if that makes any difference.
Sounds like a connection issue. Have you tried connecting to your web host using a different FTP/SFTP client?
Yes. SFTP clients have no problem connecting instantly.
Do you have another host you could test with as well? Curious if it's any faster.
I do also have a standard BlueHost account. I tried it with FTP and it was instant. But when I switched the adapter to SFTP with BlueHost, Dandelion slowed down again. It took more than 2 minutes before it returned an expected error (since I don't think SFTP works with that host).
So I suspect there's something wrong with SFTP.
In error messages, I see /Library/Ruby/Gems/2.0.0/gems/net-sftp-2.1.2/
. Does anything look strange or outdated about that to you? Should I be on Ruby 2.1? Or should net-sftp be a higher version?
Okay, good to know- thanks! I'll have to do some research here.
It looks like you're using the version of Ruby that comes bundled w/ OSX Mavericks. Trying a different Ruby version would definitely be helpful in debugging this if you're able to do so.
Bingo! It must've been something with my Ruby version that came with Mavericks.
I used RVM to install Ruby 2.1.1, re-installed Dandelion and net-sftp, then tried my Dandelion again and it was instantaneous!
Thanks for helping me with this. Problem solved!
@DanielJLewis Great!
Whether I run
dandelion deploy
ordandelion status
, the command takes at least two minutes before it displays any results.I'm on OS X Mavericks with Ruby 2.0, SourceTree handling Git, and running Dandelion 0.4.6 from Terminal.
I'm connecting to my remove server via SFTP on an alternative port. I tried with and without passive enabled.
Here's my .yml file: