Visual Code and Openhab 3.0

So you are using openhab with https?
Probably behind a reverse proxy?

Edit:
Token based authentication won’t work with the extension for now.
I have stated that already somewhere but will add it to my FAQ thread now.