Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framing Error trying to connect to a RabbitMQ docker Container #840

Closed
juanitoddd opened this issue Oct 15, 2020 · 1 comment
Closed

Framing Error trying to connect to a RabbitMQ docker Container #840

juanitoddd opened this issue Oct 15, 2020 · 1 comment

Comments

@juanitoddd
Copy link

juanitoddd commented Oct 15, 2020

Hello, first of all thanks for the work on this library

I am getting:
Framing error, unexpected byte: 9

While trying to connect PHP (7.2) to a RabbitMQ Docker container (Rabbit v3.8.3-beta.3)

$this->connection = new PhpAmqpLib\Connection\AMQPStreamConnection('localhost', 5672, 'guest', 'guest');

My PHP runs on the OS, not on a docker Container. But if the Rabbit Container has the ports exposed, it should work still right ?

My use case needs the PHP running on the OS

Any help is appreciated. Thanks in advance !

@juanitoddd
Copy link
Author

juanitoddd commented Oct 15, 2020

Hello Again,

The issue was that my PHP was lacking php7.2-mbstring and php7.2-xml

It works as expected :)

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants