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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: karl dot austin at kdawebservices dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 04:01:30 2024 UTC