Verifying Redis server traffic
Confirm that traffic is flowing properly from HCL Connections™ to the Orient Me home page.
About this task
The following steps are to validate that traffic is flowing from Connections to the Orient Me home page.
Procedure
Connect to your running Redis pod on the master server.
Subscribe to the
connections.events channel.Validate that events are populated in the connections.events channel
Validate that the SSH Tunnel is working
What to do next
If Connections events don't appear in the connections.events channel when you create a community,
follow these steps to resolve the problem:
- Ensure that the Redis pod is running:
- Log in to the master server
- Enter this command to view the running Redis pod on the system:
kubectl get pods -n connections | grep redis- Confirm that the pod is showing a running status with readiness being 1/1. For example,
redis-server-0 1/1 Running 0 4h
redis-server-1 1/1 Running 0 4h
redis-server-2 1/1 Running 0 4h
- Ensure that the SSH Tunnel is configured properly. Review the steps in the procedure for validating that the tunnel is working.
- Restart the appropriate application for settings to take immediate effect. As there is a delay in Highway settings propagating to all services in a clustered environment you may need to restart the appropriate application (for example, News for Redis export support) to see the settings take immediate effect.
- Check the System.Err logs on the Connections server. Look to see if the
following exceptions are in the log:
SystemErr R Caused by: java.net.UnknownHostException: http://your_master_host_name [18/05/17 09:47:21:308 IST] 000001f0 SystemErr R at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:214) [18/05/17 09:47:21:308 IST] 000001f0 SystemErr R at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) [18/05/17 09:47:21:308 IST] 000001f0 SystemErr R at java.net.Socket.connect(Socket.java:666) [18/05/17 09:47:21:308 IST] 000001f0 SystemErr R at redis.clients.jedis.Connection.connect(Connection.java:184) [18/05/17 09:47:21:308 IST] 000001f0 SystemErr R ... 14 moreTo resolve these errors, ensure when running the configureRedis.sh script that the setting for Master Server Hostname/IPAddress does not include http or https.


