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

Reverse proxy combined with bogus URLS in forum causes bad redirections

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-62571_master
    • Hide
      1. Create a forum.
      2. Add a new discussion topic.
      3. Confirm you are redirected to mod/forum/view.php and see the discussion you created.
      4. Click on the discussion.
      5. Delete the first post.
      6. Confirm you are redirected to mod/forum/view.php and see no discussions.
      Show
      Create a forum. Add a new discussion topic. Confirm you are redirected to mod/forum/view.php and see the discussion you created. Click on the discussion. Delete the first post. Confirm you are redirected to mod/forum/view.php and see no discussions.

      Hi,

      We need the new recordRTC feature in our prod environment. Thing is it is broken when used with a reverse proxy.

      Step to reproduce:

      • Ubuntu 16.04 server
      • NGINX as a reverse proxy
      • Install a moodle 3.5 instance with apache2 + mysql
      • Serve moodle through nginx proxy (set the config accordingly)
      • Create or use any course
      • Create a forum activity
      • Create a forum thread
      • Record a video/audio file with the recordRTC feature
      • Submit the thread with the recorded file
      • Error in redirection

       
      You can see the error on the screenshot attached below.
       
      There is no error log on apache2 or nginx side.
      Ready to collaborate with the team to try to fix this issue.

            markn Mark Nelson
            focom focom
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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