Problem:ALE version : 2.0.0.5
Issue : No data received in the ALE feed-reader using RTLS
Diagnostics:Need to verify whether we receive the data in feed-reader,
[root@websocket-server ~]# /opt/ale/bin/feed-reader -e tcp://localhost:12001
Attempting to 'connect' to endpoint: tcp://localhost:12001
Connected to endpoint: tcp://localhost:12001
Subscribed to topic: ""
From the ale-jwebapp.log we will be seeing the following error,
2016-05-23 12:51:31.304 UTC [metrics-logger-reporter-1-thread-1] INFO c.a.a.c.metrics.RegistryManager - type=COUNTER, name=com.aruba.ale.persistence.redis.PersistenceManager.DB-Total-IncomingMsgCount, count=0
From the ale-wstunnel.log we will be seeing the following error,
2016-05-23 12:51:31.304 UTC [main] INFO com.aruba.ale.wstunnel.TunnelClient - Connecting
with client ID of 005056852F31
2016-05-23 12:51:31.304 UTC [vert.x-eventloop-thread-0] INFO
c.a.a.w.client.TunnelConnector - WebSocket connecting to
2016-05-23 12:51:31.304 UTC [vert.x-eventloop-thread-0] ERROR
SolutionIn this scenario the communication issue happened because of the incorrect RTLS password in the controller.
Troubleshooting done:
1, Login to Aruba controller GUI and click on Configuration-->Under WIRELESS-->AP Configuration.
2. Select the Aruba AP group and under profiles selected AP.
3. Select the ethernet interface which is in use and then select AP System Profile.
Update the correct RTLS username/RTLS password.
4. Save configuration .
Once after making the above changes we can verify that the data starts received in the ALE feed-reader by executing the following command,
[root@websocket-server ~]# /opt/ale/bin/feed-reader -e tcp://localhost:12001
Attempting to 'connect' to endpoint: tcp://localhost:12001
Connected to endpoint: tcp://localhost:12001
Subscribed to topic: ""
[1] Recv event with topic "location/40:e2:30:1c:93:4d"
seq: 331807