-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chirpstack not returning JoinAccept #12
Comments
Hi @haimiko ,
|
Tried the pull, made no difference. Tried recreating the device as well. JoinReq message has been received by the Chirpstack website, not getting JoinAccept because the "security context is out of sync". |
Ok for some reason now i'm receiving a JoinAccept
DevAddr matches the DevAddr in Chirpstack, but when I try to send data I get MIC errors:
And this is what shows up in Chirpstack |
I'm running OTAA join requests on Chirpstack. I'm seeing JoinRequest on Chirpstack but never a JoinAccept. Usually this means the App key is incorrect but I'm not seeing this as the case.
My device.json
My join request:
I'm getting the following error on the app server:
`time="2022-05-25T22:24:27.058915588Z" level=info msg="backend/joinserver: sending response" dev_eui=ded70e37a48e4289 message_type=JoinAns receiver_id=000000 result_code=Success sender_id=ded70e37a48e4289 transaction_id=4008038692
time="2022-05-25T22:24:28.141512925Z" level=warning msg="finished unary call with code FailedPrecondition" ctx_id=a4afba43-49d5-4ffb-a20a-b494c9c17039 error="rpc error: code = FailedPrecondition desc = devaddr does not match, the security-context is out of sync" grpc.code=FailedPrecondition grpc.method=ReEncryptDeviceQueueItems grpc.service=as.ApplicationServerService grpc.start_time="2022-05-25T22:24:28Z" grpc.time_ms=63.609 peer.address="172.24.0.3:40256" span.kind=server system=grpcod
time="2022-05-25T22:24:30.396006389Z" level=warning msg="finished unary call with code FailedPrecondition" ctx_id=40d097b0-4f3b-4905-95b8-8420ffe3b9cf error="rpc error: code = FailedPrecondition desc = devaddr does not match, the security-context is out of sync" grpc.code=FailedPrecondition grpc.method=ReEncryptDeviceQueueItems grpc.service=as.ApplicationServerService grpc.start_time="2022-05-25T22:24:30Z" grpc.time_ms=63.557 peer.address="172.24.0.3:40256" span.kind=server system=grpc
`
Suggestions?
The text was updated successfully, but these errors were encountered: