Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7198

C++ authinitialize example hangs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • None
    • native client
    • None

    Description

      After building geode-native from develop branch on my mac, I then followed the instructions to build the geode-native examples found here:

      https://github.com/apache/geode-native/tree/develop/examples

      Trying to run the authinitialize example resulted in a hang.

       1. First I needed to correct the startserver.sh script to remove spaces around the '=' for setting RESOLVEDPATH and AUTHENTICATOR env vars.

       2. Running cpp-authinitialize seems to hang when executing GetCredentials:

      dhardman$ ./cpp-authinitialize

      ExampleAuthInitialize::ExampleAuthInitialize called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      ExampleAuthInitialize::GetCredentials called

      libc++abi.dylib: terminating with uncaught exception of type apache::geode::client::NotConnectedException: : not connected to Geode

      Abort trap: 6

       

      Expected: The README file indicates the following output

             ExampleAuthInitialize::ExampleAuthInitialize called

             ExampleAuthInitialize::getCredentials called

             a = 1

             b = 2

      Attachments

        1. server.log
          31 kB
          Diane Hardman

        Issue Links

          Activity

            People

              charliemblack Charlie Black
              dhardman Diane Hardman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m