Use the following information to troubleshoot Avaya WebSocket Tunnel(AWTUN) on Branch Session Manager:
To view if edge topology is enabled, run smconfig
To view AWTUN connection, run statapp. The output displays AWTUN as Tunnel.
AWTUN process runs under Linux systemd awtuns.target
Target is enabled by edgeSetup.
awtuns.target can have up to 2 services. awtun@X.service when X is 1, AWTUN service communicates with the primary System Manager. When X is 2, AWTUN service communicating with the secondary System Manager is optional.
awtun@2.service is enabled if System Manager GEO is configured.
AWTUN log messages are captured in /var/log/messages
To view the AWTUN log messages, run grep awtun /var/log/messages
awtun@1.service forwards ports for the loopback IP address 127.0.1.1 to the primary System Manager.
awtun@2.service forwards ports for the loopback IP address 127.0.1.2 to the secondary System Manager.
To view the port redirection rules, run nft list chain inet nat awtun_redirect
To view the current connections to AWTUN, run awtunstat. This utility provides a filtering option. To view the full options, run awtunstat -h
The following table provides a few examples for running awtun_redirect on Branch Session Manager:
Command |
Description |
awtunstat |
To view all active connections. |
awtunstat -n |
To view all active connections with IP addresses only. |
awtunstat -l |
To view all active connections, including listener sockets. |
awtunstat -n -i':443' |
To view only WebSocket connections of port 443. |
awtunstat -n -e':443' |
To view all active connections, excluding the WebSocket connections. |
awtunstat -nw -e':443' |
To continually view active connections, excluding the WebSocket connections. |
Note:
From the root user login, you can view and execute all the troubleshooting commands.