I’m trying to get started on the final quiz for this course, but whenever I try to open a terminal, it immediately closes the terminal tab.
I’ve followed the instructions provided, clicking on the Jupyter Lab on the top right corner and opening the instructions files in markdown preview. Next, I go to open a terminal by clicking the blue “+” button, click the terminal button, see a quick flash and am now looking at the instructions.md file again.
I tried disabling the “Simple” view (in the bottom left of the window), and going through the same steps. I see the terminal tab briefly display then close.
Browser console shows these errors after the terminal window crashes:
Firefox can’t establish a connection to the server at wss://s172-29-43-186p8888.lab-aws-production.deeplearning.ai/terminals/websocket/1. jlab_core.8aca991c1d97720da49a.js:1:1489245
The connection to wss://s172-29-43-186p8888.lab-aws-production.deeplearning.ai/terminals/websocket/1 was interrupted while the page was loading. jlab_core.8aca991c1d97720da49a.js:1:1489245
I’m using a Mac with Firefox, tried Chrome as well with no luck. Has anyone else experienced this issue? Any ideas how to fix it?
Yes, I’ve disabled all pop up blockers. Firewall is disabled on my Mac. I even tried using my mobile phone hotspot instead of home internet. Same result, still no luck.
Hi guys, I just opened a Lab at Team Software Engineering with AI course! I am not sure what the issue for you, but can you try again today and let us know!
Hey @gent.spah , thanks for looking into this. I’m still not able to open the Terminal in Jupyter Lab Notebook. Are you able to open a terminal session within the labs, that’s the issue I’m continuing to see.
Here are the exact steps I’m taking to recreate the issue. These steps are for a specific lab, but I’m seeing it for other labs as well.
Open the Gen AI for Software Developers → Team Software with AI → Module 3 → Solving Versioning and Dependency conflicts with and LLM assignment.
Click the “JupyterLab” link on the top right to open the lab in a new tab.
Expand the folder tab on the left menu
Click the blue + icon
Click the “terminal” menu item
Expected Result - a new tab opens with terminal where I can input commands
Actual Result - a new tab appears for a brief second and closes. Also, I get these errors in the browser console:
Firefox can’t establish a connection to the server at wss://s172-29-64-99p8888.lab-aws-production.deeplearning.ai/terminals/websocket/1. jlab_core.8aca991c1d97720da49a.js:1:1489245
The connection to wss://s172-29-64-99p8888.lab-aws-production.deeplearning.ai/terminals/websocket/1 was interrupted while the page was loading. jlab_core.8aca991c1d97720da49a.js:1:1489245
Here is some steps I tried with no luck:
Different Hardware - Same result on a Macbook and Android Tablet
Different browsers - Same result in Chrome, Firefox, and Safari.
Different Internet Connections - Same result using Home internet or Mobile Hotspot.
Thank you for the detailed report. I just tried replicating the issue. However, it works and can load the terminal successfully. Can you confirm whether it’s still happening as I am unable to reproduce the issue?