question

GeoffreyMoxley-0007 avatar image
1 Vote"
GeoffreyMoxley-0007 asked ramr-msft edited

Cannot open a terminal in compute instances

I am trying to complete the learning exercises in the Microsoft Learning module "Explore and analyze data with Python" with a trial subscription to Azure. In any compute instances that I start, I cannot connect to the terminal and get the error "Invalid terminal: Unable connect to terminal, please close the tab and restart your current compute and retry Trace ID : 5b4a5ee5-c5cf-4f66-b054-71a81417bdbc ". I have tried restarting the instance, in addition to deleting the VM and starting a new instance but still encounter the same error which happens in both Edge and Chrome browsers. Is there something that I am missing in connecting to the terminal in these notebooks?

azure-machine-learning
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi there, I am having this issue as well.
I created the compute instance (Standard_DS11_v2 (2 cores, 14 GB RAM, 28 GB disk)) as per instructions from mslearn documentation.

The compute instance starts fine and says its running. I then navigate to Notebooks, and click the "Terminal" button to clone the dp100 github examples. Almost immediately, the error appears.

I restarted the compute instance and tried to connect to the terminal again but the same error appears. I clicked the "Terminal" link on the compute "Resource properties" screen and the same error appeared.

I'm connecting from a home computer. I haven't had any other problems. I've been able to create Compute clusters and Inference clusters and create basic pipelines in the designer.

any other suggestions appreciated! thank you kindly,

1 Vote 1 ·

I'm facing this issue as well with a standard DS11-V2. I tried another ML workspace in a different region with a DS3_V2 but the same issue persists.

0 Votes 0 ·

I had the same issue, and it was because I was connecting through a VPN on my company laptop. There must have been something on the VPN or domain that was blocking the terminal connection (and also the Python kernel). I did not have the issue when connecting with my personal computer.

1 Vote 1 ·

Thank you. I tried it on my personal computer and that resolved the issue. However note that I wasn't connected to VPN but the Cisco client was installed on the Laptop.

1 Vote 1 ·
ramr-msft avatar image
0 Votes"
ramr-msft answered EmilioGagliardi-5163 commented

@GeoffreyMoxley-0007 Thanks for the question. Can you please add more details about the VM(type, size) that you are trying. We are able to create the terminal without any error.
75789-screenshot-214.png



screenshot-214.png (17.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

hi ramr-msft, do you have any other suggestions for getting Terminal to work?

0 Votes 0 ·
MartinCarlsson avatar image
0 Votes"
MartinCarlsson answered

96933-image.png




I'm having the same issue


image.png (191.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DustinReagan-3231 avatar image
0 Votes"
DustinReagan-3231 answered ramr-msft edited

I'm having the same issue. I've started & stopped my compute instance several times as well as created a new compute instance from scratch.

136773-screen-shot-2021-09-30-at-13522-pm.png



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DustinReagan-3231 Thanks for the details. Can you please add more details about the VM(type, size, Region) that you are trying. We are able to create the terminal without any error.
136911-image.png


0 Votes 0 ·
image.png (19.5 KiB)