Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2013-12-15 01:03:19

David Walker
Member
Registered: 2013-11-21
Posts: 11

Clicking SEND does not send chat message..

I am on Chrome Version 31.0.1650.63.   We are using Apache on Centos. 
If a customer is in chat and I enter something into the chat box and press ENTER or SEND the text disappears and no updates appear in the chat box.  This seems to happen more frequently on very long chats.   
Do you have any ideas how to fix this issue?  I can attach a copy of my httpd.com if that helps?

https://groups.google.com/forum/#!topic … NEYXDD-_2M

Offline

#2 2013-12-15 06:32:04

David Walker
Member
Registered: 2013-11-21
Posts: 11

Re: Clicking SEND does not send chat message..

I should have said I can attach a copy of httpd.conf (not httpd.com).   
On Saturday, December 14, 2013 5:03:19 PM UTC-7, David Walker wrote:Do you have any ideas how to fix this issue?  I can attach a copy of my httpd.com if that helps?

Offline

#3 2013-12-15 08:06:32

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Clicking SEND does not send chat message..

Hi,
Does this happens on chatbox, or live help widget?


2013/12/15 David Walker <dogatemy...***.com>

I should have said I can attach a copy of httpd.conf (not httpd.com).   

On Saturday, December 14, 2013 5:03:19 PM UTC-7, David Walker wrote:Do you have any ideas how to fix this issue?  I can attach a copy of my httpd.com if that helps?


Offline

#4 2013-12-15 08:28:05

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Clicking SEND does not send chat message..

Few things you can do is.
1. Turn on bugfire or any other error reporting. Just without error i cannot help, because i have no idea where should i look.
2. Try to update this file if you have a latest versions.

https://github.com/remdex/livehelperchat/commit/4635daef74173d70b1b52cf3e0e4d8976d711747

I have added try catch logic, so it should avoid hangup if any error happens there. As i told no error, no way to fix.


2013/12/15 Remigijus Kiminas <rem...***.com>

Offline

#5 2013-12-16 02:53:01

David Walker
Member
Registered: 2013-11-21
Posts: 11

Re: Clicking SEND does not send chat message..

I was able to isolate the cause of the problem to Apache.   Whenever we access 1 folder (such as https://host.com/lhc_web) then access any other folder with any kind of basic authentication (such as https://host.com/secure_folder) Apache refuses to accept any additional posts from the Operator until after refreshing the window.
Even if lhc_web does not require authentication simply accessing a folder that does will eject the operator from the chat until the operator presses F5 to reload the window.
I'm working on a solution.



Offline

#6 2013-12-16 07:05:53

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Clicking SEND does not send chat message..

If I correctly understood it's realted to http and https,
The good solution would be just append in lhc embed script https:// and force always use https connection.


2013/12/16 David Walker <dogatemy...***.com>


I was able to isolate the cause of the problem to Apache.   Whenever we access 1 folder (such as https://host.com/lhc_web) then access any other folder with any kind of basic authentication (such as https://host.com/secure_folder) Apache refuses to accept any additional posts from the Operator until after refreshing the window.

Even if lhc_web does not require authentication simply accessing a folder that does will eject the operator from the chat until the operator presses F5 to reload the window.
I'm working on a solution.






Offline

#7 2013-12-22 09:07:28

David Walker
Member
Registered: 2013-11-21
Posts: 11

Re: Clicking SEND does not send chat message..

The problem is a bit more complicated.
Lets say we have "/var/www/html/lhc_web" and this is a public folder.Lets say we also have "/var/www/html/secure" and this folder requires Basic Authentication via .htaccess or httpd.conf.
1. Agent has chat window "https://chatserver.domain.com/chat/index.php/site_admin/chat/single/238" open.  Agent is chatting with customer.2. Agent opens a new tab and browses to "https://chatserver.domain.com/securefolder/index.html".3. Agent is prompted for a "Basic Authentication" username and password either via httpd.conf or .htaccess.4. Agent enters a valid username/password.
At this point the agent will no longer receive chat text.   The agent must click on the chat window and press F5 to refresh the window.  Upon pressing F5 all missing chat texts from the customer will appear in the window.
This is a problem with how Apache manages multiple connections from the same IP address.  If the agent attempts to access the chat software and the secure folder simultaneously but from different IP addresses the problem will not be demonstrated.

Offline

Board footer