Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
HCDC 3.0.0, HCDC 3.1.3, HCDC 3.1.4
-
None
-
Severity 1 - Critical
Description
Summary
The chat history of some rooms will not load.
Environment
- Hipchat Data Center 3.1.3
- All clients are impacted
Steps to Reproduce
We do not have an exact list of steps to reproduce.
Actual Results
Using the web client, the browser's JavaScript shows errors with:
uncaught exception: badformat
The same error is also visible in the client logs.
Notes
- No server-side errors are logged
- The issue impacts rooms with large messages from integrations, especially message in HTML format
- The root cause of the issue is a bug in raw mode of Punjab, the HTTP to XMPP translator
Workaround
The workaround of the issue is to disable Punjab's raw mode:
- Comment out the following line in /etc/init.d/punjab:
PLUGIN_OPTS="$PLUGIN_OPTS --use_raw"
or remove --use_raw if your line looks as follows:
PLUGIN_OPTS="--white_list=.hipchat.com --site_log_file=/dev/null --route_override=xmpp:127.0.0.1:5222 --use_raw"
- Restart Punjab
service punjab restart
Punjab's raw mode includes performance improvements, disabling it may degrade chat performance in highly loaded or under-resourced environments.
Reach out to Atlassian Support if you run into any issues.
Attachments
Issue Links
- causes
-
HCSP-10438 Loading...