Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AWS issues#640

Unanswered
Blackbam asked this question inQ&A
Jun 8, 2021· 0 comments
Discussion options

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):

old_sound_rabbit_mq:    connections:        secure:            url: 'amqps://%env(RABBITMQ_USER)%:%env(RABBITMQ_PASSWORD)%@%env(RABBITMQ_HOST)%:%env(RABBITMQ_PORT)%'            vhost: '%env(RABBITMQ_VHOST)%'            lazy: true            connection_timeout: 6            read_write_timeout: 6            ssl_context:                verify_peer: false            keepalive: true            heartbeat: 60            use_socket: true # default false                producers:        # use 'old_sound_rabbit_mq.[my-producer-name]_producer' service to send data.        article_create:            connection: secure            exchange_options: { name: pimcore.article.create, type: topic }            queue_options:                name: article_create

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.

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@Blackbam

[8]ページ先頭

©2009-2025 Movatter.jp