It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can Hipchat maintain credentials after a service restart?

While trying to implement some form of session control on Hipchat, it was found that user logins persist after a service stop/start with over an hour between stoppage and starting again.

As in, I am logged into Hipchat, I stop the service via command line, wait an hour to start it up again, then when I refresh the page, Hipchat loads without asking me to login like I was expecting(hoping) it would.

1 answer

0 votes
AnnWorley Atlassian Team Jun 15, 2017

I have been pondering your question and bouncing it off HipChat support. We are not clear whether you are shutting down the HipChat server service via command line or if you are closing your client for an hour.

Closing the app on your local machine doesn't log you out, so if you are stopping the client service via command line it is expected that the login will persist. The best way to end the session is to log out.

I actually have found a way to log out users at time of day.

Feel free to pass it around. This is all added to the crontab in the hipchat server command line.

service hipchat stop
redis-cli keys websession* | xargs redis-cli del
redis-cli keys OauthSession* | xargs redis-cli del
redis-cli keys moble* | xargs redis-cli del
service hipchat start

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,201 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you