freeCodeCamp / CodeAlly-CodeRoad-freeCodeCamp

10 stars 5 forks source link

Issue loading CodeRoad: "Could not register service workers" #49

Closed moT01 closed 7 months ago

moT01 commented 2 years ago

A few reports have come in with a specific error when trying to load CodeRoad: "Error loading webview: Error: Could not register service workers: SecurityError: The operation is insecure…"

Post 1 Post 2

My initial thought is that it's some browser settings that are blocking something - but I'm wondering if anyone has any idea of something it might be on one of our ends.

AdamZaczek commented 2 years ago

It's probably a Firefox bug. I imagine this started occurring when we fixed some of the localStorage issues. It's likely that this issue awaited behind the ones we fixed.

AdamZaczek commented 2 years ago

PS I just checked the link here https://forum.freecodecamp.org/t/coderoad-not-loading-in-window/515581/4 and noticed that completed challenges don't transfer. Do you know why that might be the case @ShMcK ? Could it be a lack of some env variable?