You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS does only support AMQPS. Locally the bundle seems to work even with AMQPS without issues. But in AWS we are still getting exceptions for exactly the same implementation.
With sockets: [2021-06-08 15:59:45] request.CRITICAL: Uncaught PHP Exception ErrorException: "Warning: socket_recv(): unable to read from socket [104]: Connection reset by peer" at /var/www/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/SocketIO.php line 121 {"exception":"[object] (ErrorException(code: 0): Warning: socket_recv(): unable to read from socket [104]: Connection reset by peer at /var/www/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/SocketIO.php:121)"} []
Has anybody experience on how to run this bundle in AWS properly? Maybe its a simple configuration issue but we really tried a lot. All environment variables should be correctly set. We use the URL in the configuration because we did not find another way to set AMQPS in the bundle.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
AWS does only support AMQPS. Locally the bundle seems to work even with AMQPS without issues. But in AWS we are still getting exceptions for exactly the same implementation.
This is our config.yml (AWS docker):
Without sockets:
Broken pipe or closed connection
With sockets:
[2021-06-08 15:59:45] request.CRITICAL: Uncaught PHP Exception ErrorException: "Warning: socket_recv(): unable to read from socket [104]: Connection reset by peer" at /var/www/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/SocketIO.php line 121 {"exception":"[object] (ErrorException(code: 0): Warning: socket_recv(): unable to read from socket [104]: Connection reset by peer at /var/www/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/SocketIO.php:121)"} []
Has anybody experience on how to run this bundle in AWS properly? Maybe its a simple configuration issue but we really tried a lot. All environment variables should be correctly set. We use the URL in the configuration because we did not find another way to set AMQPS in the bundle.
Beta Was this translation helpful? Give feedback.
All reactions