You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand why i'm getting some error messages in passive roaming.
I have the following architecture:
I've created two DNS resolvers one on deveui.iot-roam.net and netid.iot-roam.net
1st LNS: netid is 000001 and JoinEUI 0000000000000001
2nd LNS: netid is 000000 and JoinEUI 0000000000000002
The hNS (in this case netid is 000001), has no prior information about the ED, then I:
Send a Join Request with JoinEUI 00 00 00 00 00 00 00 02
Then I have the first DNS request:
DNS query for 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.joineui.iot-roam.net
DNS answer with the Join Server IP
TLS handshake
TLS App data with the NetID
Then, since the hNS has no information about this ED, i can see that there is a second DNS Query:
6. DNS query for 000000.netid.iot-roam.net
7. DNS answer with the hNS IP
8. TLS Handshake
9. TLS App data
Here I'm expecting to have this:
10. HomeNSReq / HomeNSAns
11. PRStartReq / JoinReq
9. JoinAns / PRStartAns
10. JoinAccept
Hi,
I'm trying to understand why i'm getting some error messages in passive roaming.
I have the following architecture:
I've created two DNS resolvers one on deveui.iot-roam.net and netid.iot-roam.net
1st LNS: netid is 000001 and JoinEUI 0000000000000001
2nd LNS: netid is 000000 and JoinEUI 0000000000000002
The hNS (in this case netid is 000001), has no prior information about the ED, then I:
Then I have the first DNS request:
Then, since the hNS has no information about this ED, i can see that there is a second DNS Query:
6. DNS query for 000000.netid.iot-roam.net
7. DNS answer with the hNS IP
8. TLS Handshake
9. TLS App data
Here I'm expecting to have this:
10. HomeNSReq / HomeNSAns
11. PRStartReq / JoinReq
9. JoinAns / PRStartAns
10. JoinAccept
But instead I have this from the logs:
On the sNS :
Nov 02 14:17:12 outils.plido.net chirpstack-network-server[1082]: time="2021-11-02T14:17:12.799863844+01:00" level=info msg="uplink/join: resolved joineui to netid" ctx_id=dbd9ff44-5758-441e-9b10-646e0a75ccd5 dev_eui=da03899bc920e487 join_eui=0000000000000002 net_id=000000
Nov 02 14:17:12 outils.plido.net chirpstack-network-server[1082]: time="2021-11-02T14:17:12.812686895+01:00" level=info msg="lorawan/backend: finished backend api call" message_type=PRStartReq protocol_version=1.0 receiver_id=000000 result_code= sender_id=000001 transaction_id=136598966
Nov 02 14:17:12 outils.plido.net chirpstack-network-server[1082]: time="2021-11-02T14:17:12.812846793+01:00" level=error msg="uplink: processing uplink frame error" ctx_id=dbd9ff44-5758-441e-9b10-646e0a75ccd5 error="PRStartReq error: response error, code: , description: "
On the hNS:
nov. 02 13:18:02 vps768800 chirpstack-application-server[4653]: time="2021-11-02T13:18:02.751940573Z" level=info msg="backend/joinserver: sending response" dev_eui=da03899bc920e487 message_type=HomeNSAns receiver_id=000001 result_code=Success sender_id=0000000000000002 transaction_id=1140153905
nov. 02 13:18:02 vps768800 chirpstack-application-server[4653]: time="2021-11-02T13:18:02.764110007Z" level=info msg="backend/joinserver: request received" message_type=PRStartReq receiver_id=000000 sender_id=000001 transaction_id=3904647844
nov. 02 13:18:02 vps768800 chirpstack-application-server[4653]: time="2021-11-02T13:18:02.764142392Z" level=error msg="backend/joinserver: error handling request" error="invalid MessageType: PRStartReq"
As application server I have in both sides the 3.17.3 version and for the NS I have 3.15.3
Am I doing something wrong?
Sorry if this is not the right place to ask
BR
Ivan
IMT Atlantique
The text was updated successfully, but these errors were encountered: