You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already have a fix in mind for this issue, and I can make a PR if this issue is reviewed and approved, thanks!
Description
The current spark-connect-rs library configures all endpoints to https scheme. When tls feature is enabled, connection cannot be successfully made to server without TLS configured, for example, when connecting to a Spark cluster set up at localhost
Expected Behavior
When tls feature is enabled in spark-connect-rs crate, connection to server with / without TLS configured should both be successful
Proposed Fix
Default endpoint scheme to http, set it to https only when use_ssl=true is specified in connection string
I already have a fix in mind for this issue, and I can make a PR if this issue is reviewed and approved, thanks!
Description
The current spark-connect-rs library configures all endpoints to
https
scheme. Whentls
feature is enabled, connection cannot be successfully made to server without TLS configured, for example, when connecting to a Spark cluster set up at localhostExpected Behavior
When
tls
feature is enabled in spark-connect-rs crate, connection to server with / without TLS configured should both be successfulProposed Fix
Default endpoint scheme to
http
, set it tohttps
only whenuse_ssl=true
is specified in connection stringRelated Issue
The text was updated successfully, but these errors were encountered: