protoschool.github.io icon indicating copy to clipboard operation
protoschool.github.io copied to clipboard

Bug: Lesson pages looping, never loads

Open mishmosh opened this issue 3 years ago • 2 comments

Describe the bug When trying to click in to a lesson page from Protoschool, the page never loads. It appears to be looping through some js at loading time.

Does this bug apply to a specific lesson or tutorial, or does it appear to be sitewide? Observed on all lesson pages, e.g. https://proto.school/merkle-dags/05

Expected behavior Page should load correctly.

To reproduce

  • Go to proto.school
  • Click into any Tutorial
  • Click any lesson page
  • Page does not load

Desktop (please complete the following information):

  • iOS on Desktop
  • Chrome browser

Smartphone (please complete the following information) n/a

Additional context On Wed Oct 27, I observed this on Chrome and @thediscordian confirmed it worked correctly on Brave & Firefox. On Thu Oct 28, it worked correctly for me on Chrome while another MrRobot on Discord confirmed they were experiencing the error on Firefox.

Hey, hit proto-school again this morning from Firefox and got thee same looping issue on any lesson I hit. One thing I remember now... At one point I wanted to go back to another lesson and just changed the lesson number in the URL. It went back no problem. But! It may have been after that the problem started. I can't recall if it was exactly then however.

mishmosh avatar Oct 28 '21 20:10 mishmosh

This is weird. I can't reproduce this. Would be helpful to know in which version of the OS and Chrome this is happening?

zebateira avatar Oct 29 '21 10:10 zebateira

This is the initial report of this issue I made on the discord channel.

Pretty much any lesson link in the proto-school tuts will do it now. This one is looping on my machine now. [9:55 AM] https://proto.school/introduction-to-libp2p/01/ [9:56 AM] Opened up the console and received these errors. [9:56 AM] Uncaught SyntaxError: missing } after function body lessons~resources.b1f7d577.js:6:1820047note: { opened at line 6, column 1819940lessons~resources.b1f7d577.js:6:1819940 This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. 01 Loading failed for the

I am running on Ubuntu 20.04.3. Firefox version is 93.0 (64-bit).

Let me know if I can provide any additional information. I can still reproduce the issue on my machine.

rwreynolds avatar Oct 29 '21 16:10 rwreynolds