-
Notifications
You must be signed in to change notification settings - Fork 314
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
connection to synclet stops working #2182
Comments
@landism do we have a sense of how common this issue is / how many people it's breaking? |
I've only seen one report. I haven't spent any time trying to see how easy it is to repro. |
from the #tilt kubernetes slack: regarding the synclet error which I’ve previously raised(and also encountered again).. seems to be derived from a grpc bug that was fixed in this pr: https://github.com/grpc/grpc-go/pull/2669/files/61b6168befee28293298cfcde420115c90997021#diff-e1550a73f5d25064c8b586ec68d81a64R1035
|
for next steps: we still need to adapt the retry logic i added for normal port-forwards to the synclet port-forwarding. The logic is slightly different because the local synclet port is dynamically allocated |
In the interim, one can work around this by:
|
thanks for the intermediate solution @landism, is there a plan to upgrade the grpc package in the next versions to try and resolve this? |
The tilt releases have had the grpc fix mentioned above for the last two months. Have you been observing this problem using a tilt release >= 0.10.14? |
Yes, one of our engineers just experienced it in 0.10.23:
It might be an issue with the port-forward to the synclet server |
Guy in the k8s #tilt channel reported this today, and wondered if it might be a port-mapping issue.
One high-level concern I have is that we have two separate update mechanisms. They work in different cases. They both have some issues. I wonder if the overall experience would be better if we disabled the synclet by default and focused our eng investment on the exec-based updater. We're already encouraging people to use |
If memory serves, the exec updater adds like .25-.5s overhead per command? Still might be worth it to provide a uniform experience (tho ofc there's some optimization we can do there--e.g. stringing all the run commands into a single shell command so we only need to call Though we'd also have to really double down on getting |
ya, exactly There's a bunch of opportunities for improving the exec codepath (e.g., optimizing the overhead). There's also a bunch of opportunities for improving the synclet codepath (e.g., supporting containerd) But because we have two codepaths, it dilutes the benefit for each investment |
+1 for this issue. |
An update - we're currently expecting to remove the synclet, see #3245 for more details. If we do that, this issue will become moot. |
As of #3563, the synclet is NOT enabled by default, and will soon be removed completely--closing this issue. |
Sometimes if one spins up Tilt and then waits a bit and then tries to do a live update, one gets this:
I suspect this is the same issue as #2099 - the port forward to the synclet dies and doesn't come back.
The text was updated successfully, but these errors were encountered: