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

Web Auth workflow creates ephemeral nodes unless tsdproxy.ephemeral explicitly set to false #167

Open
dkaser opened this issue Jan 14, 2025 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@dkaser
Copy link

dkaser commented Jan 14, 2025

Describe the bug
When using the web auth workflow, containers are added as ephemeral nodes if tsdproxy.ephemeral is not set. Explicitly setting tsdproxy.ephemeral to false creates a persistent node.

Expected behavior
Behavior should follow documentation, which suggests that ephemeral nodes will only be created if the label is created and set to true.

Send config
Default config, no changes.

Logs
https://gist.github.com/dkaser/446eb81615ebe3bc09517a02418a2c49

Additional context
I am the maintainer of the TSDProxy template for Unraid. Multiple users have reported this behavior.

@almeidapaulopt
Copy link
Owner

almeidapaulopt commented Jan 15, 2025

when I started tsdproxy I made it to me, and it seemed to me that make more sense default it to true. Now, as a more users use the app, I agree that it should default the same as the tailscale default.
As this is a kind of "breaking change" (yes it won't break but will change expected behavior to actual users) , we need to find when this should be done.
but maybe in next version as it will have significant changes. see v1.5.0

thank you to bring this subject.

@almeidapaulopt almeidapaulopt added this to the v1.5.0 milestone Jan 15, 2025
@almeidapaulopt almeidapaulopt added the bug Something isn't working label Jan 15, 2025
@dkaser
Copy link
Author

dkaser commented Jan 16, 2025

I don't know that you need to make a breaking change for this -- clarification in the docs would be enough. As written, it makes it sound like the default is non-ephemeral, which creates confusion.

@almeidapaulopt
Copy link
Owner

can you identify where in the docs it makes that confusion?

@dkaser
Copy link
Author

dkaser commented Jan 19, 2025

https://almeidapaulopt.github.io/tsdproxy/docs/docker/

If you want to use an ephemeral container, you can define it with the label tsdproxy.ephemeral.

This should say something more like "If you do not want to use an ephemeral container, you can make the machine persistent by setting tsdproxy.ephemeral to false.", then making the example match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants