Question
HealthNet
US
Last activity: 13 Aug 2018 14:08 EDT
Is there a PING service for the Chat Server?
Our Admin team wants to know if there is a ping service for the chat server to poll the chat server and perform a health check. We tried to use the provision url, however since it needs credentials we cannot perform http status 200 check on this url. Any suggestions?
***Edited by Moderator Marissa to update SR Details***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
We don't set any caching headers for browser, but if the browser is by default caching the static files, you can try the following route:
https://<chatServerHostName>/company/<CompanyToken>/settings
This above request will not be cached as its not a file.
Let me know if this works for you.
Pegasystems Inc.
PL
Hi,
Currently there is no health check API in Pega Chat Server. However, I think it is reasonable to have it, that is why I submitted feedback to the team that is working on this.
Regards,
Jakub
Pegasystems Inc.
US
Hello,
Is there any URL that consistently returns the HTTP response code that can be used as a heartbeat? The team is unable to create a Netscaler VIP URL for the chat servers without a health check URL.
Thanks,
GT
Pegasystems Inc.
IN
Hi,
I believe this is an on-premise installation. Can you specify the version number of Pega Chat Server.
Regards,
Tarun
-
Michael Blust
Pegasystems Inc.
IN
We also need to know if customer is hosting Pega Chat related static assets like js files from another server, or from the same Chat server.
HealthNet
US
From the same chat server.
HealthNet
US
Yes. It's an On-Premise Installation. Pega chat version is 7.40
Pegasystems Inc.
IN
Although we don't have a dedicated URL for heartbeat, you can use the following URL as a heartbeat:
https://<CHAT Server URL>/scripts/loaders/chatLoader.js
This returns a small javascript file and a consistent 200 OK response, as long as the chat server is up.
HealthNet
US
Since this url responds with a 304 Not Modified response after the first response the reason being it gets cached in browser, we would like to know if it can be used for healthcheck as it expects a http 200 response everytime.
Accepted Solution
Pegasystems Inc.
IN
We don't set any caching headers for browser, but if the browser is by default caching the static files, you can try the following route:
https://<chatServerHostName>/company/<CompanyToken>/settings
This above request will not be cached as its not a file.
Let me know if this works for you.