-
Notifications
You must be signed in to change notification settings - Fork 899
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
Pre-login SSL/TLS handshake error #1048
Comments
@kburtram looks like this is due to some breaking change in macOS 10.13.4 - the corefx team are targeting a release on 4/17. If this is affecting all Windows Authentication on macOS we'll likely need to assess how quickly we can pick this up and ship the fix. @nm-harry thanks for raising this. Since we depend on .Net Core this will indeed affect us. |
@kevcunnane the issue mentions the error occurs for a user with SQL Login. I didn't see where the scope of this is limited Windows Authentication. Is that implied through the netfx issue's context? |
You’re correct, I misread this. It’s even higher priority given this - anyone who upgrades may be broken. We can dog food the fix and pick up as soon as it’s out? |
I'm seeing the same problem. Any update on the resolution timeline? |
@lhector2 it looks like the .Net Core issue says their release is targeting 4/17. Once that's out we should have an I will look into using the .Net Core 2.1 daily build to get out an updated |
I've posted a test build which includes the latest changes in
|
@kburtram I still experience this problem with the above build :/ |
@holyszack thanks for confirming. Let me try to figure out why this build didn't pick up the fix. |
I upgraded my macOS to |
@kburtram I tried this new build on MacOS 10.13.4 and I still facing same issue. |
@sunildparte thanks for verifying. Unfortunately without a repro it's a bit tricky to valid the fix. I'll go back again and see why the preview .Net Core 2.1 bits aren't getting included in the package, or if I have the wrong SDK version. I think the official .Net Core 2.1 SDK will be out on 4/17, but it would be great to validate that the SDK changes actually resolve this issue before then. I'll try to get an update test build out later tonight or tomorrow, once I figure out what's going on. Thanks again! |
@sunildparte @holyszack I've posted an updated test build at https://sqlopsbuilds.blob.core.windows.net/stage/sqlops-macos-0.28.3-netcore2.1-3.zip. I've confirmed this package contains today's .Net Core daily build
If possible, please let me know if the issue repros with this build. |
I can confirm that this latest build does resolve the connection issue. I haven't tested a ton of stuff yet, but basic queries work fine. |
@kburtram your build solved connection problem. Thanks. |
Thanks for these preview builds. This build solves the issue.
|
Just wanted to chime in that I ran into this issue tonight (2018-04-14 11:03 PM EDT) and the preview build fixed it. Thanks @kburtram! |
Thanks for confirming the test build resolves the issue. We'll figure out the best way to include this fix in the next published build. Hopefully, if the final .Net Core 2.1 SDK update publishes tomorrow as planned we can just pick that up. |
The latest insiders build should contain the fix for this bug at https://github.com/Microsoft/sqlopsstudio/releases/tag/0.28.4. This build contains the .Net Core 2.1-built SQL Tools Service that we plan to ship in the April Public Preview this Wednesday. |
The April Public Preview build should contain the fix for this issue. So I'm close now. Please reactive the issue persists in the most recent build. |
I am seeing this consistently on a SQLServer instance running in a Container. I get it from both Azure Studio on Linux and Windows. System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) ---> System.ComponentModel.Win32Exception (10054): An existing connection was forcibly closed by the remote host |
I'm leaving this here in case anyone else runs into the same problem I just ran into with the following setup:
The problem was that I attempted connecting to the Docker container's ports:
- "1433:1434" Changing this to ports:
- "1433:1433" |
Steps to Reproduce:
I have connected using this connection configuration before without issue. The only things I can remember changing between this working and not, are the upgrade to MacOS 10.13.4. Have also re-installed SQL Operations Studio, but this hasn't resolved the issue.
Stacktrace gist - from Error box 'Copy Details'
I noticed that dotnet/corefx has had a similar issue with the same error message raised in the last few days - https://github.com/dotnet/corefx/issues/28652 I wondered if it could be related?
The text was updated successfully, but these errors were encountered: