Closed
Bug 471456
Opened 16 years ago
Closed 15 years ago
Investigate errors and disconnections from users in live chat
Categories
(support.mozilla.org Graveyard :: Chat, defect, P1)
support.mozilla.org Graveyard
Chat
Tracking
(Not tracked)
RESOLVED
FIXED
0.9.5
People
(Reporter: zzxc, Assigned: zzxc)
References
Details
Attachments
(3 files)
Many users in live chat are being disconnected early, either with a generic "disconnected" error or with a Java uncaught exception error page. We need to figure out why, see if any JSP errors are being logged, and fix the bug(s).
Comment 1•16 years ago
|
||
Can I suggest just for now we put a messege on the live chat page to let users know we are having a few problems and they may be disconected and we are working on fixing this? Tom
Comment 2•16 years ago
|
||
Laura, do you know who is the best person to ask for Java server error logs or similar that can give us a better clue? Tom: as far as I understand, we don't really know how many users are affected today. Before we know that, I'd rather not acknowledge a problem and say we're working on it.
Comment 3•16 years ago
|
||
Not sure, but ccing server-ops/mrz to find out who can help us with logs.
Updated•16 years ago
|
Target Milestone: --- → 0.8.1
Assignee | ||
Comment 4•16 years ago
|
||
Errors from the webchat client should be logged in webchat-error.log. This should be in the "logs" directory in /opt/openfire. This file can't be accessed through the admin panel.
Comment 5•16 years ago
|
||
Matthew, should we open another ticket to add that functionality? Seems kind of useful.
Assignee | ||
Comment 6•16 years ago
|
||
(In reply to comment #5) > Matthew, should we open another ticket to add that functionality? Seems kind > of useful. This file should probably be exposed in the fastpath admin panel, that can be another bug. For now, the quickest way would be for someone to grab this file from production and attach it to this bug.
Comment 7•16 years ago
|
||
Assignee | ||
Comment 8•16 years ago
|
||
The file attached is the error.log, not the webchat-error.log. The contents of /opt/openfire/logs should be: zzxc@zzxc:~/sumo/webchat/openfire/target/openfire/logs$ ls debug.log error.log info.log stats.txt warn.log webchat-error.log webchat-error.log.1 webchat-error.log.1.lck webchat-error.log.lck The errors in webchat-error.log are specific to the webchat plugin.
Comment 9•16 years ago
|
||
Hi just to let you no I have had 3 disconects tonight so far
Comment 10•16 years ago
|
||
Assignee | ||
Comment 11•16 years ago
|
||
There are a number of uncaught exceptions in the webchat log, but it's not clear what is causing all of them, or if they correspond to all disconnections. To get more information, I enabled logging of every XMPP packet. These are saved in /opt/openfire/logs/jive.audit*.log; these files may be quite large. To compare this data, I need a tarball of everything in /opt/openfire/logs. (This could be uploaded to my account on khan, or to sm-chat01)
Assignee | ||
Comment 12•16 years ago
|
||
Is there an update on getting the rest of the server log data from comment 11? I still haven't been able to reproduce this on staging, so I need to look at the full production logs to try to see what is happening when users are disconnected.
Assignee | ||
Updated•16 years ago
|
Priority: -- → P1
Updated•16 years ago
|
Assignee: bugs → oremj
Severity: major → critical
Comment 13•16 years ago
|
||
Hey Jeremy, assigning to you so we can get these logs ASAP.
Comment 15•16 years ago
|
||
We can tag 0.8.1 without this because it's in a separate codebase, but it would be good to have it resolved soon.
Updated•16 years ago
|
Target Milestone: 0.8.1 → 0.8.2
Updated•15 years ago
|
Target Milestone: 0.8.2 → 0.9
Assignee | ||
Comment 17•15 years ago
|
||
When investigating more of these reports last week, I found that some users are disconnecting every time they use live chat until they clear their browser cache. I got one user to paste all the errors in the Error Console after being disconnected, but there were no javascript errors from Fastpath. This leads me to think that servlet might be serving empty or corrupted files which are then cached. Based on the primary symptom - no server messages being delivered - it seems that the ajax library (DWR) is not functioning. A portion of DWR javascript (eg. https://chat-support.mozilla.com:9091/webchat/dwr/engine.js) being served empty, for example, could explain this behavior. So, to prevent this type of problem, this patch forces Connection: close on all HTTP requests to /webchat/*, as well as disables all caching in that folder. This will hopefully solve any blank page errors users are experiencing, and in any case will prevent such errors from being cached.
Attachment #362647 -
Flags: review?(laura)
Updated•15 years ago
|
Attachment #362647 -
Flags: review?(laura) → review+
Updated•15 years ago
|
Target Milestone: 0.9 → 1.0
Assignee | ||
Updated•15 years ago
|
Attachment #362647 -
Attachment description: Disable caching and force Connection: close → Disable caching and force Connection: close (Checked in)
Assignee | ||
Comment 18•15 years ago
|
||
Comment on attachment 362647 [details] [diff] [review] Disable caching and force Connection: close (Checked in) Checked in r23001
Comment 19•15 years ago
|
||
Why isn't this marked as fixed?
Assignee | ||
Comment 20•15 years ago
|
||
->fixed I'll file followup bugs for any more work that needs to be done here.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•