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

error:100000f0:SSL routines:OPENSSL_internal:UNSUPPORTED_PROTOCOL #59

Open
feihuao opened this issue Oct 5, 2022 · 3 comments
Open
Labels
bug Something isn't working

Comments

@feihuao
Copy link

feihuao commented Oct 5, 2022

I been looking for something like this for some time. Similar one is SQLCell but it does not support autocomplete.
When I connect to mssql,it fails
Failed to connect to "test": Failed to connect to xxx.xx.xxx:1433 - 16484744:error:100000f0:SSL routines:OPENSSL_internal:UNSUPPORTED_PROTOCOL:../../third_party/boringssl/src/ssl/handshake_client.cc:697:

@cmoog
Copy link
Owner

cmoog commented Oct 5, 2022

Thanks for this report. I haven't been able to reproduce using my testing setup. Can you share steps that I can follow to reproduce the behavior? Are you using a network proxy that enforces specific encryption? What about your DB configuration?

Ultimately, we just need to find out what configuration should be passed to the mssql node driver for the handshake to succeed. That code is here for reference.

I'm testing with the following

1. Startup local mssql server

docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=yourStrong(!)Password" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2022-latest

2. Create new connection config

{
  "driver": "mssql",
  "host": "localhost",
  "port": 1433,
  "user": "sa",
  "password": "yourStrong(!)Password",
  "encrypt": false,
  "serverTrustCertificate": false,
}

Then the extension connects and executes queries as expected.

@dicer2000
Copy link

I get that same error. I've got the connection info set just like you have in 2.

Could this be a Mac vs. Windows thing? I'm trying to connect on a Mac.

Here is the error message:

Failed to connect to "SQL": Failed to connect to ev-compsci-01:1433 - 140407413018712:error:100000f0:SSL routines:OPENSSL_internal:UNSUPPORTED_PROTOCOL:../../third_party/boringssl/src/ssl/handshake_client.cc:697:

@cmoog cmoog added the bug Something isn't working label Oct 6, 2022
@ilkosta
Copy link

ilkosta commented Nov 17, 2022

same error from linux connecting to an old sql2008

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
None yet
Development

No branches or pull requests

4 participants