Empty devices list in web UI - Kubernetes deploy

Hi!

From time to time I get an empty device list from the LoraAppServer web UI.

image

I can’t see any error in LoraAppServer logs:

time="2019-10-08T19:54:04Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ListIntegrations grpc.service=api.ApplicationService grpc.start_time="2019-10-08T19:54:04Z" grpc.time_ms=6.695 peer.address="127.0.0.1:46382" span.kind=server system=grpc
time="2019-10-08T19:54:05Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ListIntegrations grpc.service=api.ApplicationService grpc.start_time="2019-10-08T19:54:05Z" grpc.time_ms=12.034 peer.address="127.0.0.1:46382" span.kind=server system=grpc
time="2019-10-08T19:54:06Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=Get grpc.service=api.ApplicationService grpc.start_time="2019-10-08T19:54:06Z" grpc.time_ms=5.56 peer.address="127.0.0.1:46382" span.kind=server system=grpc
time="2019-10-08T19:54:06Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=GetHTTPIntegration grpc.service=api.ApplicationService grpc.start_time="2019-10-08T19:54:06Z" grpc.time_ms=5.109 peer.address="127.0.0.1:46382" span.kind=server system=grpc
time="2019-10-08T19:54:07Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=List grpc.service=api.ApplicationService grpc.start_time="2019-10-08T19:54:07Z" grpc.time_ms=7.211 peer.address="127.0.0.1:46382" span.kind=server system=grpc

It’s running in a Kubernetes environment, I still didn’t find a way to make it work but if I wait some time it starts working again.

This is a production server and it’s running very light.
image

Am I missing something?

Here is the deployment YAML just in case:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: lora-app-server-deployment
spec:
  selector:
    matchLabels:
      app: lora-app-server
  replicas: 1
  template:
    metadata:
      labels:
        app: lora-app-server
    spec:
      volumes:
      - name: lora-app-server-config
        configMap:
          name: lora-app-server-config
      containers:
      - name: lora-app-server
        image: loraserver/lora-app-server:3
        ports:
        - containerPort: 8080
          name: ui
        - containerPort: 8003
          name: grpc
        - containerPort: 8001
          name: api
        - containerPort: 8032
          name: metrics
        volumeMounts:
        - name: lora-app-server-config
          mountPath: /etc/lora-app-server/lora-app-server.toml
          subPath: lora-app-server.toml

Thanks in advance!

PD: There should be 2 devices in that list

Today it worked for some time then it randomly stopped showing devices again when I was switching between applications.

Still hitting this issue very often, one a day at least. Does anyone have the same issue?

Yes, i fount the deployment on kuberenetes very unstable. I deploy 3 replicas of both application and network serve without set resources. I saw that often server doesn’t load devices and it’s very slow on the navigation. Also i put an ingress in front with https and like 99 % of the time it doesn’t load the page instead with http everything is ok