Hi,
We are encountering a lot of connection issue using AMQP PHP Library.
Kind of error messages:
PHP Fatal error: Uncaught exception 'PhpAmqpLib\Exception\AMQPIOException' with message 'stream_socket_client(): unable to connect to tcp://XXXXXXXXXXXXXXX (Connexion terminée par expiration du délai d'attente)' in xxxxxxxxxxxxxxxxxxx/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:109
PHP Fatal error: Uncaught exception 'PhpAmqpLib\Exception\AMQPHeartbeatMissedException' with message 'Missed server heartbeat' in xxxxxxxxxxxxxxxxxxxxxxx/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/AbstractIO.php:140
Is there some best practices to adopt to avoid this kind of issue server side or/and code side?
Technical information:
RabbitMQ server version: 3.3.5
amqplib version: 2.7.0
Thanks for your help!
Seb.