Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Feedback on page: /guides/v2.3/install-gde/prereq/install-rabbitmq.html #4622

Closed
@scm-incomm

Description

@scm-incomm

General issue

Description:

The ssl documentation/example configuration is wrong. The parameter
'ssl' => true,
doesn't work. Magento will not communicate with SSL enabled RabbitMQ.

It needs to be corrected to:
'ssl' => 'true'
where "true" must be a string (i.e. true must be in quotes.)

It looks like the code treats the ssl value as a string not as a boolean. The code in question is:
trim($this->getValue(self::SSL)) === 'true';
The code is doing a '===' (i.e. value and type must be equal) which means the "ssl => ..." setting must be a string and it must be equal to 'true'.

The documented setting will not enable Magento to talk to an SSL enabled RabbitMQ instance.

Possible solutions:

Either update the documentation by putting "true" in quotes, or fix the code to treat it as a boolean instead of as a string.

Additional information:

Also noticed the warning / info blocks have incorrect formatting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.2.x2.3.xMagento 2.3 related changesTechnicalUpdates to the code or processes that alter the technical content of the doc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions