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

You are not logged in.

Announcement

#1 2020-05-13 19:11:33

edersonbologna
Member
Registered: 2020-04-04
Posts: 33

Error when there is a delay in the server response.

Good afternoon. I have the following problem. It seems that when the REST server is late to send the response, the LHC reports that the response was not found. I looked in the documentation and couldn't find the place to set the waiting time. How can I do this?

Last edited by edersonbologna (2020-05-13 19:13:28)

Offline

#2 2020-05-13 19:17:29

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

Re: Error when there is a delay in the server response.

I’m not sure i understand as there is no specific setting for timeout it’s either it succeeds or not

Offline

#3 2020-05-13 19:40:35

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

Re: Error when there is a delay in the server response.

Just a tip. If you have a lot of existing chats makes sense follow some of the tips described here. Especially about disabling closed and unread chat widgets

https://doc.livehelperchat.com/docs/performance/

Offline

#4 2020-05-15 12:39:45

edersonbologna
Member
Registered: 2020-04-04
Posts: 33

Re: Error when there is a delay in the server response.

remdex wrote:

Just a tip. If you have a lot of existing chats makes sense follow some of the tips described here. Especially about disabling closed and unread chat widgets

https://doc.livehelperchat.com/docs/performance/

Thanks for the tip. As soon as we enter production we will monitor the load on the server. About the problem above I found the answer. The problem is with DialogFlow. Thank's for your time.

Offline

#5 2020-05-15 12:41:47

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

Re: Error when there is a delay in the server response.

Another tip. To avoid frontend delays for visitors especially while you are waiting for response from third party Rest API. Makes sense just setup https://github.com/LiveHelperChat/lhc-php-resque so Rest API Callbacks will be happening in the background worker... Digital ocean snapshot has all that setup if you decide to play it out smile

Offline

Board footer