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

Run devtunnel in the background #338

Closed
Dufran opened this issue Oct 26, 2023 · 3 comments
Closed

Run devtunnel in the background #338

Dufran opened this issue Oct 26, 2023 · 3 comments
Labels
feature-request New feature or functionality request

Comments

@Dufran
Copy link

Dufran commented Oct 26, 2023

Hi, can someone tell is there any option to launch devtunnel host
In detached (background mode)?

@curib
Copy link

curib commented Nov 3, 2023

Hi @Dufran, thank you for reaching out to us! We currently do not support the option to launch devtunnel host in background mode. I'm going to tag this issue as a feature request and keep it open.

We'd love to hear more from the community if this is something ya'll want. Folks, please up-vote this issue if you'd like the ability to run devtunnel as a service on your machine, so you can host tunnels as a background process.

@curib curib added the feature-request New feature or functionality request label Nov 3, 2023
@curib curib changed the title Host tunnel as background process Run devtunnels in the background Nov 3, 2023
@curib curib changed the title Run devtunnels in the background Run devtunnel in the background Nov 3, 2023
@Dufran
Copy link
Author

Dufran commented Nov 30, 2023

As a workaround, I can just run nohup devtunnel host id &
But is there any time limit for the tunnel process? For example Authorization tokens expirations etc?

@derekbekoe
Copy link
Contributor

Token expirations vary. There is some documentation on this at https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/security#tunnel-access.

Unfortunately, we don't have plans to add the ability to have devtunnel to run in the background so I'll be closing this issue.
However, depending on exactly what you're looking to do, it may be possible to integrate with one of our SDKs. These can be found in the source code in this repo.

@derekbekoe derekbekoe closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or functionality request
Projects
None yet
Development

No branches or pull requests

3 participants