Week 2 Practice Lab returns blank page

When I open the link for the notebook in browser, I get the overall features of the lab, e.g. the navigation, grades and files tabs. But when I try to open the notebook, it just renders it as a blank page. I tried every option in the help tab (updating the lab, rebooting, etc.) but nothing worked. I even tried the old verison of the lab and it also returns a blank page.
I downloaded the notebook and it works fine on my local machine.

How can I submit my code and continue with the course?

Sorry, I don’t recognize this as a common issue.

Are you using an active subscription to the course?

Yes. I am officially a participant of the course. Meaning I have purchased it.

And I know that it’s not common, I tried other notebooks in other courses and they work fine (although with some lag) but this one doesn’t render anything no matter how much I wait for it.

That’s very strange. There’s nothing special about that lab notebook, and it loads as usual when I tested it.

Try de-selecting the “Navigate” tool.
Also try the “Help” tool followed by “Get latest version”.

You might also try the “Reboot server” button there.

Please read my initial statement carefully. I told you I have tried all of the options in the Help tab already. I even tried using the old version.
Interestingly enough, I found out that the new version (currently in use) is actually an addition to the old verison. Meaning that when you want to render a notebook, it sends a requestion to the old version of the jupyter server and everything that’s rendered here, is just a frame linked to the old server.

As you can see in this picture, the whole rendering is done in the old server, so everythin that’s shown is just an <iframe> linked to the old version.
2022_08_12_0vt_Kleki

In my case the link to the old server is https://<my-lab-id>.labs.coursera.org/notebooks/C1_W2_Linear_Regression.ipynb
and when I open that link, it just gives me a blank page.

Also I took a peek at the console for the old site, I get a bunch of errors:

Uncaught SyntaxError: Unexpected end of input
C1_W2_Linear_Regression.ipynb:43 Uncaught ReferenceError: require is not defined
    at C1_W2_Linear_Regression.ipynb:43:7
C1_W2_Linear_Regression.ipynb:245 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
main.min.js?v=fd76f62c63dfcfdb33c73b0d15290316:10628 Uncaught ReferenceError: define is not defined
    at main.min.js?v=fd76f62c63dfcfdb33c73b0d15290316:10628:1
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
C1_W2_Linear_Regression.ipynb:1 Access to fetch at 'https://www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false' (redirected from 'https://ydifvrdi.labs.coursera.org/static/components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png') from origin 'https://ydifvrdi.labs.coursera.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
www.coursera.org/workspaces/authenticate/ydifvrdi?forceRefresh=false:1          Failed to load resource: net::ERR_FAILED
DevTools failed to load source map: Could not load content for https://ydifvrdi.labs.coursera.org/static/notebook/js/main.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

These are authentication errors. Why am I getting these errors when I have purchased the course?

Note: I applied to financial aid an then got the course. Can that be the problem?

Sorry, I have no idea how to fix your issue.

I’ll ask the course staff to investigate.

Hi! Unfortunately, I also cannot replicate the issue. Have you tried other browsers as well or running in Incognito? Since this seems to be specific to your account, please try contacting a Coursera agent (instructions here) so their engineering team can have a look. But let me know if their suggestions also don’t work so I can help escalate. Financial aid should give you full access so that shouldn’t be a problem. Hopefully, you’ll see the notebook soon! Thanks!

Thank you! I tried openning the notebook in incognito mode an it worked!
I don’t know what the problem is with this thing but at least now I can keep going on with the course. :slight_smile:

Should I mark it as Solved or should I investigate further?

1 Like

Hi! Sorry I wasn’t able to see this sooner! Glad that it worked! I’m also not sure what is causing the behavior. Hopefully this was just a temporary bug and everything’s working fine now.

1 Like