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

Disconnect stale connections Hipchat server

Hi 

I am using Workaround #3 to disconnect stale connections by each user

https://jira.atlassian.com/browse/HCPUB-3734

Is there anyway to disconnect all connections at once for all users ?

Regards

Shivi

 

1 answer

1 accepted

1 vote
Answer accepted
AhmadDanial Atlassian Team Apr 29, 2018

Hi, Ron.

To clear off every session for all users on HipChat Server, please run the following command:

for key in `redis-cli KEYS '*' | grep -iE "session|^mobile:"`; do echo "Deleting $key"; redis-cli DEL $key; done

Let me know how it goes for you.

Hi Ahmad

I want to delete all sessions from all devices not just mobile

AhmadDanial Atlassian Team Apr 30, 2018

Hi, Ron.

The command provided should delete all sessions which includes desktop, web, and mobile. Can you run it on your HipChat Server terminal / SSH console to confirm that it works?

Dear Ahmad,

your line works like a charm! Thanks so much. Afterwards, everyone needed to close their HipChat app once and load again, but then status worked as expected.

We had the issue that everyone was always online, since there were at least five sessions for everyone and we could remove only some sessions in the Group admin. Not sure why they were there in the beginning, but your line solved it (at least for now). Thanks again.

Best,

Carina

AhmadDanial Atlassian Team May 27, 2018

Hi, Carina.

You are most welcome! Happy to know that it helped. 

Suggest an answer

Log in or Sign up to answer
TAGS
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,207 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