Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1372

Couchbase dotnet SDK OSX libcurl error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • backlog-2.0, .backlog
    • 2.4.2
    • environment
    • None
    • OSX dotnet.core

    Description

      See same in forum - https://forums.couchbase.com/t/couchbase-dotnet-sdk-osx-libcurl-error/12238

      dotnetcore web app on OSX 10.12.3 (16D32) Sierra

      • netcoreapp 1.1
      • CouchbaseNetClient 2.4.2
      • Couchbase server - Version: 4.6.0-3453 Enterprise Edition (build-3453) (in docker container)

      Getting the following exception: -

      System.PlatformNotSupportedException: The libcurl library in use (7.51.0) and its SSL backend ("SecureTransport") do not support custom handling of certificates. A libcurl built with OpenSSL is required.

      This is sort of covered in the following issue but I have check and am running a far later version (7.51.0 - Nov 2 2016) of libcurl than Jae mentioned in the following Jira ticket NCBC-1296
      https://issues.couchbase.com/browse/NCBC-1296

      I am trying to perform FTS and using the following as a guide, but get no results, and when I inspect my bucket.Query results.Exception I get the above message.
      https://developer.couchbase.com/documentation/server/current/sdk/dotnet/full-text-searching-with-sdk.html

      I have noted even in v 4.6 the FTS is not fully supported

      Important: The FTS feature is a developer preview in Couchbase Server 4.6. As such, the support in the SDK is still uncomitted and the API is subject to change (although no major changes are expected as of this writing).

      I dont need SSL but having it turned off in both ClientConfiguration and BucketConfiguration does not avoid the exception from happening

      UseSsl = false,
      

      Am in the middle of implementing a temporary workaround by consuming the http API endpoint directly. Currently trying with Restsharp.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            peter.sawyer Peter Sawyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty