Open ivanthewebber opened 1 year ago
Hi @ivanthewebber -- One option is to open the required port through the graphical using the toolbar button furtherest to the right "Web Preview" --
Let me ask @robins1212 if there is an automated or command way to do this.
@ivanthewebber do you see any cookies included on the request to the forwarded port?
The error you are seeing indicates that the port is open, but we cannot authenticate your request. If you follow the sign-in link and after the shell loads in the new tab refresh the web preview it should come up. If you have cookies disabled the port forwarding will not work.
@theJasonHelmick can we make sure the docs have guidance on this?
Thanks @theJasonHelmick, the web preview was what I was trying. @robins1212, as my screenshot shows nothing renders, the page is blank, there is no sign-in link to follow. I can see the same cookie that you showed.
I can access the minified javascript sources by clicking on the links in the error messages, but I think they are not loading or executing due to the MIME type error (shown in one of the screenshots)
Hi @ivanthewebber -- We need to further investigate this and report back. I'll follow up with @robins1212
Thanks, it's been a couple weeks, any update? I'm glad this is getting investigated, it's important for my team.
Hi @ivanthewebber - We have begun an investigation and believe we understand the issue. We are currently investigating a proper solution. I don't have a timeline yet for a fix.
I noticed some updates (like being able to use PowerShell or Bash), so I tested it again but it still doesn't work. I also noticed this related issue: https://github.com/Azure/CloudShell/issues/372
To Reproduce
Follow these steps: https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/
Observed Behavior
Unable to load anything more than the favicon. Port is not being forwarded correctly.
Expected behavior
Port should be forwarded similar to behavior on local device or ws2. Should be able to access Flink UI dashboard.
Is this specific to Cloud Shell?
Yes
Interface information
Edge on Windows 11. Shell on https://ms.portal.azure.com/#home.
Additional context
Setting
kubernetes.rest-service.exposed.type: LoadBalancer
still works, but is an unacceptable solution for our production AKS.