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

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

     [ https://issues.apache.org/jira/browse/GEODE-7198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Bustamante Reyes reassigned GEODE-7198:
-----------------------------------------------

    Assignee: Charlie Black

> C++ authinitialize example hangs
> --------------------------------
>
>                 Key: GEODE-7198
>                 URL: https://issues.apache.org/jira/browse/GEODE-7198
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>    Affects Versions: 1.8.0
>            Reporter: Diane Hardman
>            Assignee: Charlie Black
>            Priority: Major
>             Fix For: 1.11.0
>
>         Attachments: server.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.4#803005)