myContactCenterManual

Installation and accessibility

How the Web Agent is installed with the server package, how it is reached — services, ports, certificate, configuration files — and what to check if there are problems.

The Web Agent is part of the Server package; there is no separate installation package. It needs neither IIS nor any installation on the workstations, and it brings the required runtime itself.

What is installed

The Server package always sets up three web applications, as subfolders of the server folder …\myContactCenter\Server:

Folder Service Program Purpose
WebGateway myContactCenter Web Gateway CCWebGateWay.exe accepts HTTPS and forwards to the applications
AgentWeb myContactCenter Web Agent CCWebAgent.exe the Web Agent
AdminWeb myContactCenter Web Admin CCWebAdmin.exe the Web Administration

The package starts these three services right at installation, each under its own virtual account, such as NT SERVICE\myContactCenter Web Agent; they start with the computer. The Server Configurator then switches myContactCenter Web Agent and myContactCenter Web Admin to the service account of the server; the Web Gateway keeps its virtual account.

They have no configurator. If you update the server, these services are updated as well.

Addresses and ports

You reach the Web Agent at

https://<Hostname>/agent/

Calling https://<Hostname>/ also leads there. The Web Administration is located at https://<Hostname>/admin/.

Port From To Purpose
443/TCP (HTTPS) agents’ browsers Web Gateway The only port needed from outside for the Web Agent
6019/TCP, 127.0.0.1 only Web Gateway Web Agent internal forwarding
6018/TCP, 127.0.0.1 only Web Gateway Web Administration internal forwarding
5000/TCP Web Agent Dispatcher asks which server is active
6000/TCP and 6007/TCP Web Agent Server connection per logged-in agent
SQL Server port Web Agent Microsoft SQL Server reports and dashboards
514/TCP Web Agent Logger log messages

The package adds a rule for port 443 to the Windows Firewall. Ports 6018 and 6019 can only be reached on the computer itself.

Port 443 must be free on the computer. If another program occupies it, the installation leaves that program unchanged; change the port as described under Configuration.

The connections to the Dispatcher and the server start from the server computer, not from the browser. The entry in the Server field of the login page must therefore be valid from there — see Logging in.

The Web Agent holds a permanent connection to the server for each logged-in agent. Take this into account when sizing the computer.

Certificate

The Web Agent can only be used over HTTPS; the Web Gateway accepts TLS 1.2 and 1.3. The installation does not create the certificate.

The Web Gateway uses the file of the myContactCenter Certificates service: %ProgramData%\ilogixx GmbH\myContactCenter\Certificates\certificate.pfx. Set it up as follows:

  1. Create a DNS entry for the host name that points to the server.
  2. Obtain the certificate as described under Certificates. Let’s Encrypt checks the host name from the internet on port 80.

As soon as a valid file is available, the Web Gateway uses it without a restart. This also applies to every renewal. Existing connections keep their certificate until they disconnect.

As long as there is no valid file, the Web Gateway delivers a self-issued fallback certificate, certificate-selfsigned.pfx in the same folder, issued for the name of the computer, its fully qualified name and localhost. The browser warns about it; for operation with agents, obtain a real certificate for this reason. The Web Gateway does not use test certificates from the staging environment.

Configuration

The Web Agent is configured in two files named appsettings.Installed.json. If an entry is missing, the default applies; in that case, add it.

…\Server\WebGateway\appsettings.Installed.json, section WebGateway:

Entry Meaning Default
HttpsPort Public port 443
AgentPort Internal port of the Web Agent 6019
AdminPort Internal port of the Web Administration 6018
DefaultApplication Target for https://<Hostname>/: agent or admin agent
CertificatePath Path to the PFX file empty: the path above

…\Server\AgentWeb\appsettings.Installed.json:

Entry Meaning Default
Urls Internal address http://127.0.0.1:6019
WebHosting:PathBase Path below the host name /agent
WebSecurity:TrustedProxyAddresses Addresses whose forwarding information is trusted 127.0.0.1, ::1

When making changes, note the following:

  • Restart the affected service afterwards.
  • If you change an internal port, adjust both files: AgentPort for the Web Gateway and Urls for the Web Agent.
  • If you change HttpsPort, adjust the rule in the Windows Firewall yourself.
  • /agent stays fixed, because the Web Gateway forwards exactly this path.
  • Leave TrustedProxyAddresses on the addresses of the Web Gateway. The Web Agent rejects requests without HTTPS; without these addresses, this also applies to all requests via the Web Gateway.

Both files are kept during an update and an uninstallation.

Web Agent data

C:\ProgramData\ilogixx GmbH\myContactCenter\AgentWeb contains

  • DataProtection-Keys — the keys for login cookies, encrypted for the service’s account, and
  • AgentConfig — the working file of the connection to the server.

Do not change the service’s account in Windows Services, but via the Server Configurator. With a different account, the service can no longer read the keys, creates new ones, and all agents log in again.

At its first start, the Web Agent adopts once what earlier versions stored under C:\ProgramData\ilogixx\AgentWeb; the old folder remains in place. Both folders are kept during an uninstallation.

Checking and troubleshooting

After installation, open https://<Hostname>/agent/ and log in.

Sign Cause and remedy
The browser reports a TLS or connection error The myContactCenter Web Gateway service is not running, or there is neither a valid certificate nor the fallback certificate — for example in the first seconds after installation. Check Certificate and the services.
The browser warns about the certificate The Web Gateway is still delivering the fallback certificate, or the host name called is not in the certificate. Obtain a certificate and call the name from the certificate.
The address cannot be reached Check DNS, the rule for port 443 and whether another program occupies the port.
The page reports HTTPS is required. You addressed the Web Agent directly, not via the Web Gateway, or TrustedProxyAddresses is incorrect.
The login page reports No connection to the server (timeout). Check hostname and port. The entry in the Server field is not valid from the server computer, or port 5000 to the Dispatcher is blocked.
The page loads but does not respond WebSocket connections are being blocked, for example by a proxy.

Errors of the services are listed in the Windows Event Viewer under Windows Logs › Application.

    ↑ ↓ select · Enter open · Esc close