rabbitmq stream_socket_client() unable to connect to tcp

654 views
Skip to first unread message

Ryan Manalaysay

unread,
Feb 25, 2020, 9:46:02 PM2/25/20
to rabbitmq-users
Hello rabbitmq-users,

i have an API running on PHP laravel and configure supervisor to run queue connected to RabbitMQ.

But sometimes, it's keeping disconnected when probably it's idle.

But after I restart the service in supervisor it will be connected to RabbitMQ.

Please see attached file for the error.
rabbitmq-error.JPG

Wesley Peng

unread,
Feb 25, 2020, 10:19:55 PM2/25/20
to rabbitm...@googlegroups.com
You want to increase the client IDLE time in server configuration.
Otherwise broker may drop the connection after IDLE time has expired.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/a0cd9c34-c1f3-40b1-88d8-3078c06ac8ff%40googlegroups.com.

Ryan Manalaysay

unread,
Feb 26, 2020, 4:46:10 AM2/26/20
to rabbitmq-users
IDLE time? i can't see idle time config in the rabbitmq server.

do you mean the heartbeat settings?



On Wednesday, February 26, 2020 at 11:19:55 AM UTC+8, Wesley Peng wrote:
You want to increase the client IDLE time in server configuration.
Otherwise broker may drop the connection after IDLE time has expired.

On Wed, Feb 26, 2020 at 10:46 AM Ryan Manalaysay <ryeman...@gmail.com> wrote:
Hello rabbitmq-users,

i have an API running on PHP laravel and configure supervisor to run queue connected to RabbitMQ.

But sometimes, it's keeping disconnected when probably it's idle.

But after I restart the service in supervisor it will be connected to RabbitMQ.

Please see attached file for the error.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.

Wesley Peng

unread,
Feb 26, 2020, 4:48:37 AM2/26/20
to rabbitm...@googlegroups.com
Yup I meant this one,

regards.

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f16a0fc0-b300-4133-a0ad-5bc8fb2c166c%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages