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 vote
Ann Worley 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 19, 2018 in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

16,908 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you