Export fails with "Error: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:7777/export/group/1"

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible


Problem

Shortly after starting an export from Hipchat Data Center via the hipchat export utility, the export will fail and throw the following error: 

Error: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:7777/export/group/1

Diagnosis

Environment

  • Hipchat Data Center
  • Issue typically occurs after a change in the IPs of one or many nodes in a DC cluster

Cause

The root cause of the issue is still not fully known but is most likely associated to Scissortail (the export service) having old invalid workers with invalid IPs due to the IP change. 

Workaround

All Scissortail workers have to be deleted and recreated in Redis:

  1. Set the Redis connection variable: 

    export REDIS_CONNECT='redis-cli -h 1.2.3.4 -p 6379 -a password'
  2. Delete all Scissortail keys: 

    for key in `$REDIS_CONNECT KEYS '*' | grep -i rq:`; do $REDIS_CONNECT DEL $key; done
    for key in `$REDIS_CONNECT KEYS '*' | grep -i scissortail`; do $REDIS_CONNECT DEL $key; done
  3. Restart Scissortail:

    for service in `ls /etc/init.d/scissortail-w*`; do sudo dont-blame-hipchat $service restart; done


Last modified on Jun 26, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.