Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: aklinbail on April 26, 2019, 07:00:11 AM
-
So...
Trying to get WWE running to confirm whether a client can use Chrome Books.
I just can't get it started.. The documentation is terrible (LOL)..
I have 2 things that concern me..
If I follow the documentation for the elasticsearch client.. it spits the dummy at "transportClient:"
In commenting that out, I think I'm trying to start up without elastic search.. NO biggie to get the thing off the ground.
There is also reference to a crClusterName field in the documentation... but it doesn't appear in the sample, or advise where that field is supposed to go...
Now for the startup issue.
gws.log spits out this highly useful bit of information..
______/\\\\\\\\\\\\__/\\\______________/\\\_____/\\\\\\\\\\\______
____/\\\//////////__\/\\\_____________\/\\\___/\\\/////////\\\____
___/\\\_____________\/\\\_____________\/\\\__\//\\\______\///_____
__\/\\\____/\\\\\\\_\//\\\____/\\\____/\\\____\////\\\____________
__\/\\\___\/////\\\__\//\\\__/\\\\\__/\\\________\////\\\_________
__\/\\\_______\/\\\___\//\\\/\\\/\\\/\\\____________\////\\\______
__\/\\\_______\/\\\____\//\\\\\\//\\\\\______/\\\______\//\\\_____
__\//\\\\\\\\\\\\/______\//\\\__\//\\\______\///\\\\\\\\\\\/______
___\////////////_________\///____\///_________\///////////________
04/26/2019 06:35:54.191 INFO [] [] [] [main] c.g.c.a.CloudWebApplication Running GWS version [8.5.202.54]
04/26/2019 06:35:59.629 INFO [] [] [] [main] c.g.c.a.CloudWebApplication Starting CloudWebApplication v8.5.2 on ergsddpump01.ad.retail.energy with PID 22010 (/usr/share/gws/gws.jar started by gws in /usr/share/gws)
04/26/2019 06:35:59.700 DEBUG [] [] [] [main] c.g.c.a.CloudWebApplication Running with Spring Boot v1.3.0.RELEASE, Spring v4.2.3.RELEASE
04/26/2019 06:35:59.756 INFO [] [] [] [main] c.g.c.a.CloudWebApplication No profiles are active
And.. nothing in the documentation about profiles... I'm guessing that has something to do with it..
Hit me.. I'm nearly done for the week.. Hopefully someone knows something in here.
cheers
Allan
Oh ..as an FYI here's my application.yaml
onPremiseSettings:
cmeHost: #########
cmePort: ######
backupCmeHost: ################
backupCmePort: ####
logging:
config: config/logback.xml
file: cloud.log
path: /var/log/gws
jetty:
host: ergsddpump01.ad.retail.energy
port: 8090
idleTimeout: 30000
soLingerTime: -1
sessionMaxInactiveInterval: 1800
enableWorkerName: true
enableRequestLog: true
requestLog:
filename: yyyy_mm_dd.request.log
filenameDateFormat: yyyy_MM_dd
logTimeZone: AEST
retainDays: 90
append: true
extended: true
logCookies: true
logLatency: true
preferProxiedForAddress: false
enableSsl: false
cassandraCluster:
thrift_port: 9160
jmx_port: 7199
keyspace: sipfs
nodes: 127.0.0.1
backup_nodes:
replication_factor: 1
write_consistency_level: CL_ONE
read_consistency_level: CL_ONE
max_conns_per_host: 16
max_cons: 48
max_pending_conns_per_host: 80
max_blocked_threads_per_host: 160
useSSL: no
serverSettings:
# URLs
externalApiUrlV2: http://abcdefg/api/v2
internalApiUrlV2: http://abcdefg/internal-api
undocumentedExternalApiUrl: http://abcdefg/internal-api
# Paths
pathPrefix: /api/v2
internalPathPrefix: /api/v2
# General
iwsDispositionCodeSync: true
enableCsrfProtection: false
salesforceAuthenticationMode: false
enableOpenIDConnect: false
# Timeouts
activationTimeout: 12000
configServerActivationTimeout: 35000
configServerConnectionTimeout: 15000
connectionTimeout: 4000
contactCenterSynchronizationTimeout: 60000
inactiveUserTimeout: 300
reconnectAttempts: 1
reconnectTimeout: 10000
# OPS account
opsUserName: pbscured
opsUserPassword: obscured
# CME credentials
applicationName: WS_Node
applicationType: CFGGenericClient
cmeUserName: default
cmePassword: #################
syncNode: true
enableVirtualQueueSynchronization: false
# Statistics
# Multi regional supporting
nodePath: /AU/POC1
nodeId: POC1
# Elastic Search
elasticSearchSettings:
#crClusterName : wwe-poc
clientNode: true
indexPerContactCenter: false
enableScheduledIndexVerification: true
indexVerificationInterval: 60
retriesOnConflict: 2
# useTransportClient: true
# transportClient:
# nodes:
# - {host: 127.0.0.1, port: 9300}
# useSniff: true
# ignoreClusterName: true
# pingTimeout: 10000
# nodesSamplerInterval: 10000
# Caching Settings
#cachingSettings:
#enableSystemWideCaching: [ToBeChangedOrRemoved: "true"|"false"]
#agentStatesTTL: [ToBeChangedOrRemoved: <CACHING_AGENT_STATES_TTL>]
#businessAttributesTTL: [ToBeChangedOrRemoved: <CACHING_BUSINESS_ATTRIBUTES_TTL>]
#transactionsTTL: [ToBeChangedOrRemoved: <CACHING_TRANSACTIONS_TTL>]
#skillsTTL: [ToBeChangedOrRemoved: <CACHING_SKILLS_TTL>]
#virtualAgentGroupsTTL: [ToBeChangedOrRemoved: <CACHING_VIRTUAL_AGENT_GROUPS_TTL>]
#contactCenterFeaturesTTL: [ToBeChangedOrRemoved: <CACHING_CONTACT_CENTER_FEATURES_TTL>]
#contactCenterSettingsTTL: [ToBeChangedOrRemoved: <CACHING_CONTACT_CENTER_SETTINGS_TTL>]
#voiceContextCaching: [ToBeChangedOrRemoved: "true"|"false"]
#voiceContextRefreshInterval: [ToBeChangedOrRemoved: <CACHING_VOICE_CONTEXT_REFRESH_INTERVAL>]
# DoS Filter Settings
#enableDosFilter: [ToBeChanged: "true"|"false"]
#dosFilterSettings:
#maxRequestsPerSec: [ToBeChangedOrRemoved: <DOS_FILTER_MAX_REQUESTS_PER_SEC>]
#delayMs: [ToBeChangedOrRemoved: <DOS_FILTER_DELAY_MS>]
#maxWaitMs: [ToBeChangedOrRemoved: <DOS_FILTER_MAX_WAIT_MS>]
#throttledRequests: [ToBeChangedOrRemoved: <DOS_FILTER_THROTTLED_REQUESTS>]
#throttleMs: [ToBeChangedOrRemoved: <DOS_FILTER_THROTTLE_MS>]
#maxRequestMs: [ToBeChangedOrRemoved: <DOS_FILTER_MAX_REQUEST_MS>]
#maxIdleTrackerMs: [ToBeChangedOrRemoved: <DOS_FILTER_MAX_IDLE_TRACKER_MS>]
#insertHeaders: [ToBeChangedOrRemoved: <DOS_FILTER_INSERT_HEADERS>]
#trackSessions: [ToBeChangedOrRemoved: <DOS_FILTER_TTACK_SESSIONS>]
#remotePort: [ToBeChangedOrRemoved: <DOS_FILTER_REMOTE_PORT>]
#ipWhitelist: [ToBeChangedOrRemoved: <DOS_FILTER_IP_WHITE_LIST>]
# Account Management
#accountManagement:
#forgotPasswordEmailTemplate:
#from: [ToBeChangedOrRemoved: <PASSWORD_MESSAGE_FROM>]
#subject: [ToBeChangedOrRemoved: <PASSWORD_MESSAGE_SUBJECT>]
#body: [ToBeChangedOrRemoved: <PASSWORD_MESSAGE_BODY>]
#accountCreatedEmailTemplate:
#from: [ToBeChangedOrRemoved: <ACCOUNT_MESSAGE_FROM>]
#subject: [ToBeChangedOrRemoved: <ACCOUNT_MESSAGE_SUBJECT>]
#body: [ToBeChangedOrRemoved: <ACCOUNT_MESSAGE_BODY>]
#smtpServer:
#host: [ToBeChangedOrRemoved: <SMTP_SERVER_HOST>]
#port: [ToBeChangedOrRemoved: <SMTP_SERVER_PORT>]
#userName: [ToBeChangedOrRemoved: <SMTP_SERVER_USER_NAME>]
#password: [ToBeChangedOrRemoved: <SMTP_SERVER_PASSWORD>]
#timeout: [ToBeChangedOrRemoved: <SMTP_SERVER_TIMEOUT>]
# CometD Settings
#cometDSettings:
#maxSessionsPerBrowser: [ToBeChangedOrRemoved: <MAX_SESSIONS_PER_BROWSER>]
#multiSessionInterval: [ToBeChangedOrRemoved: <MULTI_SESSION_INTERVAL>]
# OAuth2 Settings
# Session Persistence Settings
# Multimedia Disaster Recovery
#drMonitoringDelay: [ToBeChangedOrRemoved: <DR_MONITORING_DELAY>]
# Stale CometD Session monitoring
# Node Settings Refresh
# Log Header Settings
#logHeaderSettings:
#enableLogHeader: [ToBeChangedOrRemoved: "true"|"false"]
#updateOnPremiseInfoInterval: [ToBeChangedOrRemoved: <UPDATE_ON_PREMISE_INFO_INTERVAL>]
# Update on startup settings
updateOnStartup:
opsCredentials: true
features: true
statistics: false
-
You should have external Elasticsearch cluster for this purpose and then refer GWS to that cluster. Embedded ES cluster is no longer recommended (is deprecated)
-
Yes,
That's what I'm trying to do, but the documentation is unclear on how to link it..
Sent from my Pixel 2 using Tapatalk
-
This could help you - [url=https://docs.genesys.com/Documentation/HTCC/latest/Dep/Elasticsearch] https://docs.genesys.com/Documentation/HTCC/latest/Dep/Elasticsearch[/url]
You also might use the prepared "sample" configuration for ES cluster which is located under WWE/HTCC.
-
Seriously?
Where do you think my start point was?
Of course I read that page and used the sample...
In my post I did say that I've followed the documentation.
I didn't come here to be told RTFM...
Have you actually got this working before?
Sent from my Pixel 2 using Tapatalk
-
Well you would be surprised by how many people and posts are done without reading any documentation so...we are used to it.
the ClusterName is what ever you configured at your ES yaml file. where you declared the name and nodes.
-
Thanks,
I understand, which is why I clearly stated that I had followed the documentation.
The documentation wasn't clear which section the crClusterName field goes in and if it is even still relevant for the 8.5.2 series..
So any help here in either clarification of the documentation, correction of my application.yaml or a working example would be much appreciated.
At this stage I only require to get basic voice functionality going.
Regards
Allan..
Sent from my Pixel 2 using Tapatalk
-
I think documentation is pretty clear on that and thus why I have recommended to follow it as your configuration seems wrong on ES configuration. If you are using external ES cluster, you should use "useTransportClient" option with value "true" and also configure the ES nodes you want connect to, tha crClusterName is also mandatory option. Amend your configuration to be in respect to your environment and documentation
-
Thanks
I originally had that uncommented and set as you suggested but it gave a java error.
It didn't like this line.... (Which is from the sample)
transportClient:
......... .............
Sent from my Pixel 2 using Tapatalk
-
Maybe a typo mistake, check the string format (might be a bad new line char etc.)