Visual studio code error connecting to server Integrated Basic UI

@Confectrician That’s very strange indeed, nothing changed on this side either…

1 Like

Ok then i have another question on top.
When you use the link with username and password included in browser,
is it then rewritten in the browser adress bar to the vesion without user credentials?
I have tried this here and when i put in

http://openhabeusername:openhabpassword@192.168.178.234:8080/basicui/app?sitemap=standard

(of course with my IP and sitemap name)
it opens the BasicUI in Browser and in my browser the URL is shown as:

http://192.168.178.234:8080/basicui/app?sitemap=standard

I have to check if the authentication settings have in impact while trying to open it in vscode.

Yes, the URL is rewritten after sending.

Ok i have debugged it down and found the problem:

[Embedded Page] Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked. See https://www.chromestatus.com/feature/5669008342777856 for more details.

Inside vscode there is a chrome engine running for the webview, so its like a browser hidden in vscode to view the BasicUI.
But chrome doesn’t allow us to request BasicUI with user credentials, at least in the way we are currently showing the BasicUI.

I have no fast solution for this, sorry.

I have additionally added an issue for this in our bug tracker, since authentication is a common usecase and of course it is a good thing in general, so i won’t encourage anyone to leave it behind for usability in vscode.

@Confectrician I added a comment to the issue you opened…

1 Like