microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
324 stars 94 forks source link

Couldnt connect to Azure Compute Instance #2342

Closed nanmamsft closed 5 months ago

nanmamsft commented 6 months ago

Does this occur consistently? Repro steps:

1. 2.

Action: Resolver.resolve Error type: ie Error Message: Failed to connect to target. Jupyter is required to connect to the remote target. Please ensure Jupyter is installed and running on the remote machine and retry connecting from the extension or the ML Studio. (Error: Invalid response: 502 Bad Gateway)

Version: 0.48.0 OS: win32 OS Release: 10.0.22631 Product: Visual Studio Code Product Version: 1.87.2 Language: en

Call Stack ``` ie.NotAvailable extensionHostProcess.js:148:8631 S.handle502BadGateway extension.js:2:1611682 S.handleError extension.js:2:1608280 o.value extension.js:2:1532093 extension.js:2:1624443extension.js:2:1624443 ```
shsuman commented 5 months ago

@usoni1 Can you please provide me the logs by following the steps here

natehofmann commented 5 months ago

azureml-remote-extension-log.txt

@shsuman I have been experiencing the same issue above on same specs as OP but with 64-bit system. Have provided copy of error log following steps above from my system.

I also noticed that when trying to connect a Jupyter notebook through AzureML Studio GUI to same compute I was trying to access through this VSCode extension, saw the below errors. Seems like image gets updated & somehow can no longer access compute without recreating it or something?

compute-1 compute-2

nanmamsft commented 5 months ago

Due to the urgency of our demo with customer and cost of hosting an expensive but not reachable compute instance. I have decided to delete the problematic compute instance and moved my files to another workspace

From: natehofmann @.> Sent: Friday, April 12, 2024 4:06 PM To: microsoft/vscode-tools-for-ai @.> Cc: Nan Ma @.>; Author @.> Subject: Re: [microsoft/vscode-tools-for-ai] Couldnt connect to Azure Compute Instance (Issue #2342)

azureml-remote-extension-log.txthttps://github.com/microsoft/vscode-tools-for-ai/files/14962757/azureml-remote-extension-log.txt

@shsumanhttps://github.com/shsuman I have been experiencing the same issue above on same specs as OP but with 64-bit system. Have provided copy of error log following steps above from my system.

I also noticed that when trying to connect a Jupyter notebook through AzureML Studio GUI to same compute I was trying to access through this VSCode extension, saw the below errors. Seems like image gets updated & somehow can no longer access compute without recreating it or something?

- Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-tools-for-ai/issues/2342#issuecomment-2052452476, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDSDVJAIYVKLZ6ZVSUXFKGLY5A5DLAVCNFSM6AAAAABFZYOZEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJSGQ2TENBXGY. You are receiving this because you authored the thread.Message ID: @.**@.>>

shsuman commented 5 months ago

@natehofmann This seems like a problem with the Compute instance itself. As the error mentions, we are currently dependent on Jupyter to make a remote connection. If you cannot access Jupyter from the Studio, it means we can't as well. Can you please open a support request with Azure ML as they would be able to help you with this ?

@nanmamsft Are you still experiencing any problems with new compute or can I close this issue ?

shsuman commented 5 months ago

Closing because of inactivity. Please reopen if need be :)