Chirpstack-network-server:8000-->context deadline exceeded (code: 2)

I installed chirpstack by docker and when registering a network server by the web interface is having this problem.

Does anyone know how to solve this problem? I’ve tried to put ip:8000, localhost:8000, 127.0.0.1:8000 and do not work

The error log:

chirpstack-application-server_1 | time=“2020-06-06T05:05:19Z” level=warning msg=“ccResolverWrapper: reporting error to cc: dns: A record lookup error: lookup chirpstack-network-server on 127.0.0.11:53: dial udp 127.0.0.11:53: operation was canceled”
chirpstack-application-server_1 | time=“2020-06-06T05:05:19Z” level=error msg=“finished unary call with code Unknown” ctx_id=da9c6aef-b1aa-449f-b4cb-62dd3d367fa8 error=“rpc error: code = Unknown desc = context deadline exceeded” grpc.code=Unknown grpc.method=Create grpc.service=api.NetworkServerService grpc.start_time=“2020-06-06T05:05:14Z” grpc.time_ms=5008.91 peer.address=“127.0.0.1:43694” span.kind=server system=grpc
chirpstack-application-server_1 | time=“2020-06-06T05:06:29Z” level=warning msg=“creating insecure network-server client” server=“chirpstack-network-server:8000”
chirpstack-application-server_1 | time=“2020-06-06T05:06:34Z” level=warning msg=“ccResolverWrapper: reporting error to cc: dns: A record lookup error: lookup chirpstack-network-server on 127.0.0.11:53: dial udp 127.0.0.11:53: operation was canceled”
chirpstack-application-server_1 | time=“2020-06-06T05:06:34Z” level=error msg=“finished unary call with code Unknown” ctx_id=8215f673-4e7b-43bd-946b-14322dadd115 error=“rpc error: code = Unknown desc = context deadline exceeded” grpc.code=Unknown grpc.method=Create grpc.service=api.NetworkServerService grpc.start_time=“2020-06-06T05:06:29Z” grpc.time_ms=5008.457 peer.address=“127.0.0.1:43694” span.kind=server system=grpc

read here: https://forum.chirpstack.io/t/error-context-deadline-exceeded/628

1 Like

I resolved to add no code in the docker-compose.yml

dns:

  • 8.8.8.8