opensearch-project / opensearch-project/sql-odbc

[BUG] ODBC driver ignores `Use SSL` flag and requires https:// prefix for SSL connections

Open
#22 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The ODBC driver requires https:// prefix for Host field for SSL connections. Without this prefix SSL is not used actually. Flag 'Use SSL' is ignored.

To reproduce
Flag is unset, https:// prefix is added, connection succeeds:
image
image

Otherwise connection fails:
image
image

Host/Environment (please complete the following information):

  • OS: Win 10
  • Version: 1.2.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the connection behavior on Windows 10 with OpenSearchODBC 1.2.0, comparing the Use SSL flag with and without an https:// prefix in the Host field. Trace how these connection settings are parsed and passed to the SSL connection, then verify that enabling Use SSL works without requiring the prefix.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.