Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.4.0-dp3, 2.4.0
-
None
Description
On a host that has curl built without OpenSSL, N1QL query throws following exception.
System.PlatformNotSupportedException: The libcurl library in use (7.29.0) and its SSL backend ("NSS/3.21 Basic ECC") do not support custom handling of certificates. A libcurl built with OpenSSL is required.
This is due to https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/N1QL/QueryClient.cs#L393, which calls System.Net.Http.HttpClient.PostAsync that requires libcurl with OpenSSL.
Workaround is to upgrade libcurl to later than 7.29.0.
On CentOS, since 7.29.0 is the latest, download and install
with yum. Example is
'yum install libcurl-openssl-7.43.0-1.1.x86_64.rpm'
which will install a single file /opt/shibboleth/lib64/libcurl.so.4.3.0 and a symbolic link.
Then replace /usr/lib64/libcurl.so.4.3.0 with /opt/shibboleth/lib64/libcurl.so.4.3.0 or do whatever symbolic link that will invoke new libcurl.so.4.3.0
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | New [ 10003 ] | Open [ 1 ] |
Link | This issue duplicates SDKQE-931 [ SDKQE-931 ] |
Component/s | docs [ 10123 ] |
Fix Version/s | 2.4.0 [ 13420 ] |
Affects Version/s | 2.4.0-dp3 [ 13801 ] |
Fix Version/s | 2.4.1 [ 14100 ] | |
Fix Version/s | 2.4.0 [ 13420 ] | |
Affects Version/s | 2.4.0 [ 13420 ] |
Fix Version/s | 2.4.2 [ 14213 ] | |
Fix Version/s | 2.4.1 [ 14100 ] |
Fix Version/s | 2.4.3 [ 14305 ] | |
Fix Version/s | 2.4.2 [ 14213 ] |
Fix Version/s | 2.4.4 [ 14306 ] | |
Fix Version/s | 2.4.3 [ 14305 ] |
Fix Version/s | 2.4.5 [ 14504 ] | |
Fix Version/s | 2.4.4 [ 14306 ] |
Fix Version/s | 2.4.6 [ 14505 ] | |
Fix Version/s | 2.4.5 [ 14504 ] |
Assignee | Jeff Morris [ jmorris ] | Jae Park [ jaekwon.park ] |
Assignee | Jae Park [ jaekwon.park ] | Jeff Morris [ jmorris ] |
Fix Version/s | 2.4.8 [ 14541 ] | |
Fix Version/s | 2.4.6 [ 14505 ] |
Fix Version/s | 2.5.0 [ 14510 ] | |
Fix Version/s | 2.4.8 [ 14541 ] |
Fix Version/s | 2.5.1 [ 14704 ] | |
Fix Version/s | 2.5.0 [ 14510 ] |
Fix Version/s | 2.5.2 [ 14815 ] | |
Fix Version/s | 2.5.1 [ 14704 ] |
Fix Version/s | 2.5.3 [ 14906 ] | |
Fix Version/s | 2.5.2 [ 14815 ] |
Fix Version/s | 2.5.4 [ 14916 ] | |
Fix Version/s | 2.5.3 [ 14906 ] |
Fix Version/s | 2.5.5 [ 15050 ] | |
Fix Version/s | 2.5.4 [ 14916 ] |
Fix Version/s | backlog-2.0 [ 11326 ] | |
Fix Version/s | 2.5.5 [ 15050 ] |
Summary | .NETCore SDK N1QL query throws System.PlatformNotSupportedException | PlatformNotSupportedException thrown when using libcurl <= 7.29.0 and OpenSSL |
Fix Version/s | .backlog [ 16317 ] |
Rank | Ranked lower |
Assignee | Jeff Morris [ jmorris ] |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | Couchbase SDK Workflow [ 70642 ] | Couchbase SDK Workflow with Review [ 249089 ] |