Skip to main content
Skip table of contents

CS Reporting Connector Environment Variables

Following are the environment variables used in the cs-reporting-connector service.

Config Parameter

Expected Value

Notes

DBURL

IP/Host name of machine where MSSQL server is hosted.

Contact with MSSQL DB administrator for this information.

INSTANCE_NAME
MS SQL Server Instance name, leave empty if default instance is used

DBUSER

MSSQL user with read write privileges.

Contact with MSSQL DB administrator for this information.

DBPWDMSSQL user password with read write privileges.Contact with MSSQL DB administrator for this information.

DBNAME

ChatSolutionReporting

A new DB needs to be created in MSSQL Server, put db name in this parameter.

AMQ_HOST_1

activemq

This is URL of primary ActiveMQ service.

AMQ_HOST_2activemqThis is URL of secondary ActiveMQ service.

AMQ_PORT

61615   

This is ActiveMQ  service TCP port. 61613 if STOMP_TLS_ENABLED parameter is false.

AMQ_CONSUMER_PRIORITY100Don't change this priority, max value is 127.

STOMP_TLS_ENABLED

true/false

Set the value to true to enable SSL connection with  ActiveMQ service. Use port 61615 if true, 61613 otherwise.

AMQ_RETRIES

30

No of retries chat service should attempt if connection is lost with  ActiveMQ  service

AMQ_DELAY

1000

Time in milliseconds chat service should wait between each try with reconnection to ActiveMQ  service.

ENABLE_HTTPStrueIf true, reporting connector will host its api via https over 8443 internal port. If false, the api will be hosted via http over 8080 internal port
CERTIFICATE_PATHhttps_things/localhost.certCertificate for https hosting
CERTIFICATE_KEY_PATHhttps_things/localhost.keyCertificate key for https hosting
CERTIFICATE_AUTHORITY_PATHhttps_things/chat-server.ca-bundleCertificate authority path, it contains activemq stomp certificates
CERTIFICATE_PASSPHRASE
Https certificate passphrase, empty by default
CERTIFICATE_AUTHORITY_PASSPHRASEpasswordCertificate authority bundle passphrase. 
AMQ_CERTIFICATE_PATHhttps_things/client.pemActiveMQ API certificate path
AMQ_CERTIFICATE_KEY_PATHhttps_things/client.keyActiveMQ API certificate key
SERVER_PUBLIC_URL

https://<fqdn>/chat

Public url of chat server to be included in reporting database
DATABASE_RETRIES3
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.