Open MikkelLevin opened 5 years ago
almost :) The only additional thing is to override the port. If nothing is set, VS code assumes 7049 as you can see here in the log when VS code requests the symbols
https://mdcbcdev0000008.westeurope.cloudapp.azure.com: 7049 /bc1dev/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0
However because everything needs to go through traefik, in this case 443 would be correct, so your launch.json would be something like this
"serverInstance": "bc1dev",
"authentication": "UserPassword",
"port": 443
Thanks. Did the trick. But I keep getting 'failed with code Unauthorized. Reason: Unauthorized' error. Very strange.
Does the Web Client login work?
Yes. No problem with web client.
Is AAD authentication not supported in this scenario? I keep getting:
@JeppeBylov it should. But actually this repo is no longer current. Did you use the scripts from here or did you use bccontainerhelper?
I used BCContainerHelper, to create the container(s). WebClient works fine with AAD, but symbols only works with UserPassword Update: meaning I used Setup-Traefik... to create the traefik container
@JeppeBylov then please open an issue in the navcontainerhelper repo, maybe Freddy has seen this issue before
Okay. Thanks.
How would you configure launch.json to connect from VS Code? According to your blog post I think it could be: "server": "https://mdcbcdev0000008.westeurope.cloudapp.azure.com/", "serverInstance": "bc1dev", "authentication": "UserPassword", But it fails with the following: [2019-03-15 09:24:46.08] Sending request to https://mdcbcdev0000008.westeurope.cloudapp.azure.com:7049/bc1dev/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0 [2019-03-15 09:24:46.08] Sending request to https://mdcbcdev0000008.westeurope.cloudapp.azure.com:7049/bc1dev/dev/packages?publisher=Microsoft&appName=System&versionText=13.0.0.0 [2019-03-15 09:25:07.10] Error: An error occurred while sending the request. Unable to connect to the remote server A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond