php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63309 AMQPChannel creation error
Submitted: 2012-10-19 10:03 UTC Modified: 2013-04-17 17:46 UTC
From: evgeniy dot broyde at gmail dot com Assigned: bkw (profile)
Status: Closed Package: amqp (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 20 = ?
Subscribe to this entry?

 
 [2012-10-19 10:03 UTC] evgeniy dot broyde at gmail dot com
Description:
------------
package version 1.0.7

Test script:
---------------
http://stackoverflow.com/questions/12936726/php-amqp-bug-with-channel-creation

Expected result:
----------------
Expected no exceptions and successful creating third channel.

Actual result:
--------------
PHP Fatal error:  Uncaught exception 'AMQPChannelException' with message 'Server 
connection error: 503, message: COMMAND_INVALID - second 'channel.open' seen' in 
test.php:10
Stack trace:
#0 test.php(10): AMQPChannel->__construct(Object(AMQPConnection))
#1 {main}
  thrown in test.php on line 10


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-14 01:33 UTC] bkw at codingforce dot com
Thanks for reporting this.
This one actually is of the more pretty type. We'll have a look at this.
If you feel like investigating yourself, we highly appreciate pull requests at 
https://github.com/pdezwart/php-amqp
 [2012-11-14 01:34 UTC] bkw at codingforce dot com
Did I really just write 'pretty'? I meant obscure, but nasty would have been a 
better word.
 [2013-04-17 17:46 UTC] bkw@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bkw
 [2013-04-17 17:46 UTC] bkw@php.net
Thanks for reporting.
Bug moved here: https://github.com/pdezwart/php-amqp/issues/50
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 09:01:29 2024 UTC