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

Getting Reading Error On Demo #118

Closed
mberberoglu opened this issue Oct 29, 2013 · 4 comments
Closed

Getting Reading Error On Demo #118

mberberoglu opened this issue Oct 29, 2013 · 4 comments

Comments

@mberberoglu
Copy link

Hi,
when i try to run consumer demo im getting 'Uncaught exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Error reading data. Received 0 instead of expected 7 bytes' in ...'

Details in here => https://gist.github.com/mberberoglu/7212114

I have already checked
-Username-Password
-Virtual Host
-AMQP Library

My amqp library

https://www.dropbox.com/s/xygk215s3pj6fh9/Screenshot%202013-10-29%2012.29.34.png

Could you please help me?
Where i am wrong?

@videlalvaro
Copy link
Collaborator

I'll get back to you once I'm back in Switzerland.

On Tuesday, October 29, 2013, mberberoglu wrote:

Hi,
when i try to run consumer demo im getting 'Uncaught exception
'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Error reading
data. Received 0 instead of expected 7 bytes' in ...'

Details in here => https://gist.github.com/mberberoglu/7212114

I have already checked
-Username-Password
-Virtual Host
-AMQP Library

My amqp library

https://www.dropbox.com/s/xygk215s3pj6fh9/Screenshot%202013-10-29%2012.29.34.png

Could you please help me?
Where i am wrong?


Reply to this email directly or view it on GitHubhttps://github.com//issues/118
.

@michaelklishin
Copy link
Collaborator

Have you checked RabbitMQ logs? Are you sure you're running RabbitMQ > 2.0? Finally, librabbitmq version suggests you may be using a client different from this one (this one is not based on librabbitmq-c).

@mberberoglu
Copy link
Author

Actually dont get it why it is acting like that.
For example when i send some jobs to queue and then run consumer, it is do its job when job queue is get empty its breaking that i showed in here -> https://gist.github.com/mberberoglu/7212114

@videlalvaro
Copy link
Collaborator

are you using master? If yes, there's a known bug about this. Better switch to a tagged release

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

No branches or pull requests

3 participants