opensearch-project / opensearch-project/sql-odbc
[BUG] ODBC driver ignores `Use SSL` flag and requires https:// prefix for SSL connections
Nobody has claimed this yet.
- 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:


Otherwise connection fails:


Host/Environment (please complete the following information):
- OS: Win 10
- Version: 1.2.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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