-
Notifications
You must be signed in to change notification settings - Fork 398
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
dotnet interactive notebook cannot create sql connection #2574
Comments
@Charles-Gagnon is this a RID prolem? |
@clumnah You checked the box for WIndows 11 as well - does this repro for you on Windows too then? If so could you paste the error message you're seeing there? And then could you check @chlafreniere could you check if this works for you on your mac? |
Sorry for the late reply, I took some time off during the holiday. This is on Windows 11
Next Cell is
|
Same issue here as well. .NET Interactive after loading the nuget, when attempting to connect sql server, encountered error. Error: StreamJsonRpc.ConnectionLostException: The JSON-RPC connection with the remote party was lost before the request could complete. |
Want to add that it has no issue for version 1.0.0-beta.22553.7. but the issue started with 1.0.0-beta.22606.2 |
Ack, we'll be following up on this. The latest updates seem like separate issues though (JSON RPC failures vs original "file not found"). So that's pretty odd. This package isn't produced by us though - it's possible something changed with the publishing of that which might have broken this |
We weren't able to repro the issue, so we don't have much to go off here. The problem is coming from a separate process (SQL Tools Service) that the SQL kernel starts up to handle things like SQL connections and queries. We haven't hooked up that process's tracing to the rest of Polyglot yet, so we can't get traces while the notebook is running. The next best thing is to run the SQL Tools Service by itself with tracing enabled and see if we can get some data from that. Either @travisgan or @clumnah, could you try the following steps and let the process run by itself for a few minutes to see if any errors are generated? The command will dump the traces to a log.txt file in the same folder. From That process waits for RPC calls from the caller, so it will just sit there producing no output on its own. After letting it run for a few minutes you can cancel it with ctrl+C. In the meantime, I'll look into enabling better tracing for this in the SQL kernel. |
I switched back to the newer version 1.0.0-beta.22606.2 and have been trying for the last couple of days, but so far haven't been able to reproduce the similar errors encountered earlier. It appears to be able to connect without issue now. |
How do I use the different version to test that?On Jan 10, 2023, at 9:58 AM, travisgan ***@***.***> wrote:
I switched back to the newer version 1.0.0-beta.22606.2 and have been trying for the last couple of days, but so far haven't been able to reproduce the similar errors encountered earlier. It appears to be able to connect without issue now.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Don't worry about it. I was able to get a repro for this. |
Hello, just wanted to check in on this. Any update on a path forward? |
Are you still seeing this issue in the latest version of the Polyglot extension? |
Getting Similar Issue in Polyglot Notebooks v1.0.4258030 while trying to connect to azure sql database :
|
The issue was due to .Net 7 sdk not being installed |
Same issue here, on ubuntu 22.04 and .NET SDK 8.0 :(
|
Describe the bug
Please provide as much information as you can.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ):Screenshots
If applicable, add screenshots to help explain your problem.
Type: Bug
I run this code block
#r "nuget:Microsoft.DotNet.Interactive.SqlServer,*-*"
which returns back this message
This appears to work ok, so the next step would be to create a connection via this line
This returns back an error
VS Code version: Code 1.74.1 (Universal) (1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a, 2022-12-14T10:33:40.793Z)
OS version: Darwin x64 22.1.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (15)
A/B Experiments
The text was updated successfully, but these errors were encountered: