php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59507 Connection Exception
Submitted: 2010-11-12 11:01 UTC Modified: 2010-11-25 13:18 UTC
From: karl dot austin at kdawebservices dot com Assigned:
Status: Closed Package: amqp (PECL)
PHP Version: 5.3.2 OS: CentOS 5.5
Private report: No CVE-ID: None
 [2010-11-12 11:01 UTC] karl dot austin at kdawebservices dot com
Description:
------------
PHP Fatal error:  Uncaught exception 'AMQPConnectionException' 
with message 'Library error: Argument list too long'

Version 0.1.1 was compiled exactly in line with the docs on 
php.net (http://www.php.net/manual/en/amqp.installation.php) 
and I've also tried newer branches of librabbitmq-c (and 
codegen).

Reproduce code:
---------------
$lServer['host'] = 'ip.ad.dr.ess';
$lServer['port'] = '5672';
$lServer['vhost'] = '/test';
$lServer['user'] = 'test';
$lServer['password'] = 'test';
$this->queue = new \AMQPConnection( $lServer );

Expected result:
----------------
Connection resource to RabbitMQ server

Actual result:
--------------
PHP Fatal error:  Uncaught exception 'AMQPConnectionException' 
with message 'Library error: Argument list too long'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-12 11:05 UTC] karl dot austin at kdawebservices dot com
Semi bogus, user should have been login (overhang from PHP 
based amqp lib). Still the error message could have been 
better.
 [2010-11-25 13:18 UTC] pdezwart at gmail dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

This has been fixed in trunk @ r305590
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 14:01:23 2021 UTC