Skip to content

bug: Course page randomly reloads with 404 error #1933

Description

@Shauryak07

Course page randomly reloads with 404 error

Description

While watching a course video, the course page randomly reloads by itself.

I checked the browser console and found the following error:

GET https://course-backend.100xdevs.com/courses/21/legacy-dsa-redirect/7055
404 (Not Found)

The request is also made when the video is paused and I'm working on my code, so it seems to be happening in the background.

After some time, the entire course page suddenly reloads, and the same 404 error appears in the console.

Steps to reproduce

  1. Open a course video.
  2. Start watching the video.
  3. Pause the video and work on code, or continue watching normally.
  4. Wait for some time.
  5. The page randomly reloads.
  6. Check the browser console.

Console error

index-C1_1hhte.js:173
GET https://course-backend.100xdevs.com/courses/21/legacy-dsa-redirect/7055
404 (Not Found)

Additional information

  • The issue also occurs in Incognito.
  • It happens even when the video is paused.
  • The page reload appears to happen automatically while I'm on the course page.

It seems like the frontend is periodically requesting the legacy-dsa-redirect endpoint, which is returning 404, and this may be causing the page to reload.

Could you please check this endpoint and the associated course/lesson handling?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions