Waziup / WaziGate

Waziup LoRa Edge gateway
21 stars 20 forks source link

Chirpstack error `context deadline exceeded` when in Access Point mode #151

Closed mojtaba-esk closed 2 years ago

mojtaba-esk commented 3 years ago

When Wazigate is in Access point mode Chirpstack generates the following error and does not push the lora packets forward.

2021-04-09T11:22:35.931885590Z time="2021-04-09T11:22:35Z" level=warning msg="finished client unary call" ctx_id=440b0586-5d4c-489f-9a23-746e2e1c5acc error="rpc error: code = DeadlineExceeded desc = context deadline exceeded" grpc.code=DeadlineExceeded grpc.ctx_id=a40f0e04-4279-440b-8c97-183d1c76a5f3 grpc.duration=1.000609334s grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService span.kind=client system=grpc
2021-04-09T11:22:35.932611520Z time="2021-04-09T11:22:35Z" level=error msg="publish uplink data to application-server error" ctx_id=440b0586-5d4c-489f-9a23-746e2e1c5acc error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"

It may be due to some static IP assigning for AP mode. No idea why that happen.

This may help: https://forum.chirpstack.io/t/context-deadline-exceeded/9336

When switch to WiFi (connect the gateway through wifi) everything works well.

Do you know what can be the source of issue? and how to resolve it?

j-forster commented 2 years ago

Duplicate to https://github.com/Waziup/WaziGate/issues/132.