I have the same issue - I did not find a solution on neither Github nor the Microsoft Learn forum. Any progress?
How to troubleshoot web preview in cloud shell
Hello, I'm following training Exercise - Use shared access signatures to delegate access to Azure Storage in which I have to run a web application in the cloudshell of the sandbox and expose web app port on internet to be able to connect to it via public address this is done via cloudshell proxy/relay (similar to web preview in the portal). To expose the port to internet we are supposed to run command:
curl -X POST http://localhost:8888/openPort/8000;
Which is supposed to print back as a result something of this kind:
{"message":"Port 8000 is open","url":"https://gateway11.northeurope.console.azure.com/n/cc-4016c848/cc-4016c848/proxy/8000/"}
But instead I get
{"message":"Port 8000 is open","url":"https://ux.console.azure.com//proxy/8000/"}
and when trying to connect to that url I get
azureuser [ ~ ]$ curl https://ux.console.azure.com//proxy/8000/
<pre>Cannot GET /proxy/8000/</pre>
I guess this is an issue with cloudshell proxy/relay but how to further investigate as the cloudshell vm of the sandbox is not accessible from the portal?
To be noted: web preview in portal cloud shell is having the same behavior returning exact same url as above
5 answers
Sort by: Most helpful
-
-
Aouss Al-Twaijry 5 Reputation points
2024-03-18T20:34:50.7233333+00:00 I am having the same issue.
-
Petr Živný 0 Reputation points
2024-04-07T06:05:36.32+00:00 Same issue. It looks like it is still not fixed.
-
SUDHEERA PUNCHIHEWAGE DON 0 Reputation points
2024-05-22T08:29:22.7866667+00:00 I tried the sand box still the error is there. link isn't working
-
Axilleas Karatzas 0 Reputation points
2024-05-29T09:43:08.4466667+00:00 Same issue here