You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Diane Hardman (Jira)" <ji...@apache.org> on 2019/09/12 19:03:00 UTC

[jira] [Created] (GEODE-7198) C++ authinitialize example hangs

Diane Hardman created GEODE-7198:
------------------------------------

             Summary: C++ authinitialize example hangs
                 Key: GEODE-7198
                 URL: https://issues.apache.org/jira/browse/GEODE-7198
             Project: Geode
          Issue Type: Bug
          Components: native client
            Reporter: Diane Hardman


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



--
This message was sent by Atlassian Jira
(v8.3.2#803003)