Code Monkey home page Code Monkey logo

Comments (5)

prolic avatar prolic commented on August 25, 2024

Wrong credentials perhaps?
Am 06.05.2016 23:19 schrieb "Jeremy Mills" [email protected]:

https://github.com/prolic/HumusAmqpModule/blob/master/src/HumusAmqpModule/Consumer.php#L271

The application has thrown an exception!

AMQPException

Library error: a socket error occurred

/usr/lib/composer/vendor/prolic/humus-amqp-module/src/HumusAmqpModule/Consumer.php:271#0 /usr/lib/composer/vendor/prolic/humus-amqp-module/src/HumusAmqpModule/Consumer.php(271): AMQPQueue->get()

/usr/lib/composer/vendor/prolic/humus-amqp-module/src/HumusAmqpModule/Controller/ConsumerController.php(87): HumusAmqpModule\Consumer->consume(0)#2 /usr/lib/composer/vendor/zendframework/zend-mvc/src/DispatchListener.php(114): HumusAmqpModule\Controller\ConsumerController->dispatch(Object(Zend\Console\Request), Object(Zend\Console\Response))#3 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))#4 /usr/lib/composer/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))#5 /usr/lib/composer/vendor/zendframework/zend-eventmanager/src/EventManager.php(263): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))#6 /usr/lib/composer/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))#7 /var/www/public/index.php(21): Zend\Mvc\Application->run()#8 {main}

Wondering if anything what could be causing this exception and if it
should be encapsulated within a try/catch


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#35

from humusamqpmodule.

jeremymills avatar jeremymills commented on August 25, 2024

@prolic thanks for the quick reply, I guess I should give some more light into the issue..

I run my consumer and it's connected to rabbitmq, it consumes messages with no problems... it's just sometimes after varying times (20 hours or 2 days or even 30 min) it crashes with this exception. I thought it could be the credentials as well, but why would be consuming messages with no problems and then all of a sudden get this exception?

from humusamqpmodule.

prolic avatar prolic commented on August 25, 2024

Try to update to ext amqp 1.7, this solved a lot of problemls on my side
Am 09.05.2016 22:19 schrieb "Jeremy Mills" [email protected]:

@prolic https://github.com/prolic thanks for the quick reply, I guess I
should give some more light into the issue..

I run my consumer and it's connected to rabbitmq, it consumes messages
with no problems... it's just sometimes after varying times (20 hours or 2
days or even 30 min) it crashes with this exception. I thought it could be
the credentials as well, but why would be consuming messages with no
problems and then all of a sudden get this exception?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#35 (comment)

from humusamqpmodule.

jeremymills avatar jeremymills commented on August 25, 2024

Interesting, I will try that and let you know!

from humusamqpmodule.

jeremymills avatar jeremymills commented on August 25, 2024

seems to have solved it thanks @prolic! -- you can close/label this issue as you like

from humusamqpmodule.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.