-
Notifications
You must be signed in to change notification settings - Fork 94
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
Determine if "do you want positron helper to accept incoming network connections?" can be suppressed #1211
Comments
One way around this might be to avoid using TCP entirely in the LSPs. Most LSPs don't use TCP; they use standard IO streams (stdin/stdout). The reason we don't do this is that our LSPs are co-located in-process with the kernels. And of course you only get one stdin/stdout pair, which we need to reserve for input/output from the kernel itself. Some possible paths forward:
|
Do we know what specifically is causing this macOS popup to be triggered? Some Googling suggests you can suppress this if you ensure your TCP server explicitly listens on localhost. I wonder if the port-finding code here: positron/extensions/jupyter-adapter/src/PortFinder.ts Lines 52 to 53 in fef2820
should also explicitly provide See also: https://nodejs.org/api/net.html#serverlistenport-host-backlog-callback |
@kevinushey Thanks, that's a great find! I made the change locally and did a full rebuild. I didn't see the dialog this time, although the heuristics for showing it are pretty vague, so it's hard to tell if it's fixed or not. Worth a shot, either way. #1218 |
@jennybc Want to see if this is fixed for you now? |
I'm using 2023.08.0 (Universal) build 363 today and I did not see this. I definitely have run into this on the first launch of previous builds in the past. |
I installed build 409 today and I also did not see this dialog, but have seen it in prior builds last week. Can we now consider this request as being addressed? |
I think so! |
Reopening as @jthomasmock has reported seeing this again. |
The popup was on build 3750 after updating to Mac (OSX 13.6 (22G120)) |
I just updated to Mac OSX 14.1 and opened up a release version of Positron totally fresh, after doing @jthomasmock Apologies for making you try again, but can you check if you still see this dialog on a totally fresh open of a release build? We aren't having any other reports of this or ability to reproduce it. |
Followed Julia's instructions and did fresh install with latest build - no issue/warning on my end 🎉 I'll defer to y'all on closing issue though. |
Yeah, let's close for now since we aren't able to reproduce it. We can definitely reopen or make a new issue if we have further problems! |
I have also seen this in release builds of VS Code when working with Jupyter; it may be that it just isn't possible to suppress it. |
From the comments here it sounds like this is not done? Re-opening for consideration. |
Possibly related to #5800. |
Upon first launch of one of our pre-release builds, a macOS user sees the pop-up above. I captured this one on 2023-08-31 with the build described below. If I quit and relaunch, I do not see the pop-up again.
@jmcphers is disappointed that we're still seeing this since we are now fully code-signed and notarized:
The text was updated successfully, but these errors were encountered: