Redis connection error: connection refused


#1

Hi Everyone, I might be crazy but after a long time cross checking .toml files, I cant seem to get comms going between the lora-app-server and loraserver. Not sure whats missing here? I’m not too experienced and lack some of the terminology so please bear with me. All on the same server.

Versions:
loraserver: 2.3
lora-app-server: 2.3

.toml files:
Lora-app-server: https://pastebin.com/bpG9L64d
loraserver: https://pastebin.com/CGZN9N7r

The only change is the http app server web port from 8080 to 8082.

When I check the Live Device data tab, I get ‘Not connected to websocket api’

journalctl -u lora-app-server -f -n 50 (while on Live Device Data tab) yields

Oct 27 13:45:43 big003_truserv_jhb_001 lora-app-server[41736]: >time=“2018-10-27T13:45:43+02:00” level=info msg=“finished streaming call with code OK” >grpc.code=OK grpc.method=StreamEventLogs grpc.service=api.DeviceService >grpc.start_time=“2018-10-27T13:45:43+02:00” grpc.time_ms=5.473 >peer.address=“127.0.0.1:47432” span.kind=server system=grpc
Oct 27 13:45:44 big003_truserv_jhb_001 lora-app-server[41736]: >time=“2018-10-27T13:45:44+02:00” level=error msg=“get event-log for device error” >error=“subscribe error: redis connection error: dial tcp 127.0.0.1:6379: connect: connection >refused”


#2

I believe the error is in your logs :slight_smile:

level=error msg=“get event-log for device error” >error=“subscribe error: redis connection error: dial tcp 127.0.0.1:6379: connect: connection >refused”


#3

In the meantime, I redid everything and it’s going now. Had other unrelated problems that seemed to be related (including a gateway that would not forward packets). Thanks for taking a look.