Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83003

INFO command not compatible with envoy proxy (Redis)

      Hi all, recently, in MDL-69684, this line was included to validate the Redis server version: https://github.com/moodle/moodle/blob/MOODLE_403_STABLE/lib/classes/session/redis.php#L280. We use Envoy as a proxy in front of Redis, and it doesn't support the INFO command there, so it breaks, throwing the exception.

      Exception - Failed to connect (try 5 out of 5) to redis at localhost:6380, error returned was: read error on connection to localhost:6380 

      A similar issue was reported in the past: MDL-74072 and a workaround was applied.

      Wondering if we can apply the same logic here.

        1. redis.png
          12 kB
          Safat Shahin

            Daniel Ziegenberg Daniel Ziegenberg
            guillermogomez@catalyst-au.net Guillermo Gomez Arias
            Scott Verbeek Scott Verbeek
            Votes:
            2 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 58 minutes
                58m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.