Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to launch browser when using custom DockerServiceUrl #341

Open
zorlaski opened this issue Jun 9, 2022 · 3 comments
Open

Failure to launch browser when using custom DockerServiceUrl #341

zorlaski opened this issue Jun 9, 2022 · 3 comments
Assignees

Comments

@zorlaski
Copy link

zorlaski commented Jun 9, 2022

As part of my docker startup, I start a traefik proxy container that points a local url to one of my containers.
in my docker-compose.dcproj file, I changed my
<DockerServiceUrl>{Scheme}://localhost:{ServicePort}</DockerServiceUrl>
to
<DockerServiceUrl>https://(LOCAL DEVELOPMENT URL)</DockerServiceUrl>

This local URL works fine when entered in the browser. However, Visual studio fails to open the url or even attempt to do so. My goal here is to have the browser still launch automatically, while using this new url. Thank you.

@dbreshears
Copy link
Member

Somewhat related to #323. We just added a setting for 'launchBrowserTimeout' in Compose projects very recently. It will be in the 17.3 Preview 3 release.

@ravipal
Copy link
Contributor

ravipal commented Jun 10, 2022

In addition to #323, If your service is not a web application, the url will not be launched. I opened an internal workitem to address this issue.

@rboylesDev
Copy link

rboylesDev commented Sep 18, 2023

Somewhat related to #323. We just added a setting for 'launchBrowserTimeout' in Compose projects very recently. It will be in the 17.3 Preview 3 release.

Was this ever actually added? I am running Visual Studio 17.7.4 and do not see the launch browser timeout listed or documented as an option on a Compose project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants