Rpc error: code = Unauthenticated desc = authentication failed: jwt parse error: token is expired

Hello all,

In my chirpstack application server logs, I’m getting this error.

chirpstack-application-server[902]: time=“2022-09-27T15:04:32.609707447+05:30” level=info msg=“finished streaming call with code Unauthenticated” error=“rpc error: code = Unauthenticated desc = authentication failed: jwt parse error: token is expired by 95h46m53s” grpc.code=Unauthenticated grpc.method=StreamFrameLogs grpc.service=api.DeviceService grpc.start_time=“2022-09-27T15:04:32+05:30” grpc.time_ms=0.137 peer.address=“127.0.0.1:39012” span.kind=server system=grpc

These are the versions I’m currently using.

chirpstack-application-server version - 3.17.4

chirpstack-network-server version - 3.15.5

chirpstack-gateway-bridge version - 3.13.2

Please help me to get to the solution.

Thanks in advance.

Your token/cookie expired ~96 hours ago. If this is via the API, you should be using a key. If this is via the web UI, you should just need to log in again.

You haven’t given any details about the action that is causing this error though, so readers are left to guess.