[ https://issues.apache.org/jira/browse/GEODE-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Smith updated GEODE-1533: ----------------------------- Component/s: (was: h) > After gfsh times out a session, user can no longer reconnect for a period of > time > --------------------------------------------------------------------------------- > > Key: GEODE-1533 > URL: https://issues.apache.org/jira/browse/GEODE-1533 > Project: Geode > Issue Type: Bug > Components: gfsh > Reporter: Dan Smith > Labels: bug-hunt > > I hit this will following the instructions on > https://cwiki.apache.org/confluence/display/GEODE/Quickstart+guide+to+securing+JMX%2C+GFSH+and+Pulse > I launched a locator with a security-client-authorization callback. Then I > connected gfsh using the super-user account specified in the json file. > I then walked away for a while. It looks like my session timed out, I see > this in the console > {noformat} > gfsh>stop server --name=server1 > An error occurred while attempting to stop a Cache Server: There is no > session with id [1358bd30-b44d-45df-acb1-7c30e4b956a4] > {noformat} > That's fine, maybe my session timed out. The issue is that even if I > disconnect and reconnect again, or even exit out of gfsh and try to > reconnect, I get an authentication error. > After some more time has elapsed, then I can connect again. Below is my log. > {noformat} > gfsh>stop server --name=server1 > An error occurred while attempting to stop a Cache Server: There is no > session with id [1358bd30-b44d-45df-acb1-7c30e4b956a4] > gfsh>disconnect > Disconnecting from: 172.16.115.238[1099] > Disconnected from : 172.16.115.238[1099] > gfsh>connect --user=root --password=123 > Connecting to Locator at [host=localhost, port=10334] .. > Connecting to Manager at [host=172.16.115.238, port=1099] .. > Could not connect to : [host=172.16.115.238, port=1099]. Authentication > error. Please check your username/password. > gfsh> > Exiting... > scripts> gfsh > Picked up JAVA_TOOL_OPTIONS: > _________________________ __ > / _____/ ______/ ______/ /____/ / > / / __/ /___ /_____ / _____ / > / /__/ / ____/ _____/ / / / / > /______/_/ /______/_/ /_/ 1.0.0-incubating.M3-SNAPSHOT > Monitor and Manage Apache Geode (incubating) > gfsh>connect --user=root --password=123 > Connecting to Locator at [host=localhost, port=10334] .. > Connecting to Manager at [host=172.16.115.238, port=1099] .. > Could not connect to : [host=172.16.115.238, port=1099]. Authentication > error. Please check your username/password. > ***Nothing has changed except some time has gone by in this time *** > gfsh>connect --user=root --password=123 > Connecting to Locator at [host=localhost, port=10334] .. > Connecting to Manager at [host=172.16.115.238, port=1099] .. > Successfully connected to: [host=172.16.115.238, port=1099] > gfsh> > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)