Subject: Re: "Unable to request a channel from remote host" (fwd)

Re: "Unable to request a channel from remote host" (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Jun 2009 09:37:25 +0200 (CEST)

Blurg, I messed up so my response never showed...

-- 
  / daniel.haxx.se
---------- Forwarded message ----------
Date: Tue, 16 Jun 2009 10:56:28
To: libssh2 development <libssh2-devel_at_lists.sourceforge.net>
Subject: Re: "Unable to request a channel from remote host"
On Tue, 16 Jun 2009, Ian Schorr wrote:
> Sorry if this is the wrong list for this - I honestly don't know if this is a 
> libssh2 problem or a pecl ssh2 issue, and their website implies that the 
> libssh2 homepage is theirs as well...
I think that's because Sara Golemon is the originator of both libssh2 and the 
ssh2 module for PHP.
> This works fine with my old server, which has libssh2 0.13 and the pecl ssh2
> 0.10.  New one has pecl ssh2 0.11 and I've tried libssh2 0.18, 1.0, and now
> 1.0.1, but with the same problem on each.
Well, I can tell you that anything that is libssh2 below 0.18 is hopelessly 
outdated and bugridden. And if you do take the step right into getting a modern 
version, I really suggest you go with 1.1 as that's clearly the best version 
released so far.
> I've had some problems getting the older libraries installed on the newer 
> system - I may take a crack at it next and see if I can narrow down what 
> changes are related to the problem.
Just be prepared that we're not very interested in details of or bug-hunting in 
old versions. We don't have the man-power for it.
> Curiously the problem goes away if I set "blocking" to true.
I don't find that curious at all. Not until very recently has the blocking vs 
non-blocking started to get really solid in libssh2.
> Has anyone seen this before?  Any ideas on what might be going wrong or 
> debugging that could be done?  Is there a more "gentle" way to tear down the 
> streams here?
If you'd convert your program to a plain libssh2 example I would perhaps be 
able to answer those questions. Speaking in PHP terms isn't making this very 
easy for us...
-- 
  / daniel.haxx.se
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-06-17