Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5299

Clustered images setup results in `AuthenticationCredentialsNotFoundException` exception for image requests

    XMLWordPrintable

Details

    • Ibexa Experience
    • Yes

    Description

      Steps to reproduce:

      1. Use clustered setup for images - https://doc.ibexa.co/en/3.3/guide/clustering/#configuring-the-dfs-io-handler.
      2. Create an Image in a "Media" folder.
      3. Access this Image content in any front Site Access.
      4. Observe a log and look for:

        The token storage contains no authentication token. One possible reason may be that there is no firewall configured for this URL.

        Sometimes this message is not present in logs for some reason, in this case, use XDebug or just die('test') at the following location: https://github.com/symfony/security-core/blob/v5.4.21/Authorization/AuthorizationChecker.php#L74.

      Note:
      The issue seems to be originating from https://github.com/ezsystems/ezrecommendation-client/blob/2.1/src/lib/Helper/UserHelper.php#L29. The weird part is that firewall resolved for this request is ibexa_front.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: