---
# System prepended metadata

title: Testing LoRa Range Logs

---

# Testing LoRa Range Logs

## Weird Messages

### Dev nonce is too small


![](https://i.imgur.com/IjvoZMU.png)


```
{
  "name": "ns.up.join.cluster.fail",
  "time": "2021-08-03T18:38:50.379406197Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "82281841758",
        "application_ids": {
          "application_id": "less"
        }
      }
    },
    {
      "device_ids": {
        "device_id": "82281841758",
        "application_ids": {
          "application_id": "less"
        },
        "dev_eui": "0080000004026CF9",
        "join_eui": "4B9FE546D39A1FBC",
        "dev_addr": "26084F01"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
    "namespace": "pkg/joinserver",
    "name": "dev_nonce_too_small",
    "message_format": "DevNonce is too small",
    "correlation_id": "d94df865b91f44738b5185de3a927391",
    "code": 3
  },
  "correlation_ids": [
    "gs:conn:01FC6GS7GA6BQMTZJXAKBZQY27",
    "gs:up:host:01FC6GS7GRBXG9433TKJ7HGK9N",
    "gs:uplink:01FC6MZAZVG6VMSDA6BMN2NCZD",
    "ns:uplink:01FC6MZAZX1HRDSKV27PZJ95YH",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FC6MZAZX1E6T97S30S3GQG9Y"
  ],
  "origin": "ip-10-23-5-81.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgRsZXNz"
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ",
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01FC6MZB0BMKFJTRX390BV4Z36"
}
```

### Mic Missmatch

```
{
  "name": "ns.up.join.cluster.fail",
  "time": "2021-08-03T19:04:15.185954004Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "2304522453145",
        "application_ids": {
          "application_id": "less"
        }
      }
    },
    {
      "device_ids": {
        "device_id": "2304522453145",
        "application_ids": {
          "application_id": "less"
        },
        "dev_eui": "0080000004026CFD",
        "join_eui": "4B9FE546D39A1FBC",
        "dev_addr": "2608A6A1"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
    "namespace": "pkg/joinserver",
    "name": "mic_mismatch",
    "message_format": "MIC mismatch",
    "correlation_id": "e7a9a8ea2c8e4b85ad92af2eb54b6758",
    "code": 3
  },
  "correlation_ids": [
    "gs:conn:01FC6C9NH1PVV4F46V6RQTYAMH",
    "gs:up:host:01FC6C9NH8S7NDQ73667WA4KTE",
    "gs:uplink:01FC6PDW26AC2PG0DRTK3NQ6WD",
    "ns:uplink:01FC6PDW28DSKTK9MMFPKKFX0Y",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FC6PDW281GDCQEXTB5SR70Y1"
  ],
  "origin": "ip-10-23-5-81.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgRsZXNz"
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ",
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01FC6PDW2HZGF5B07T15NT6GVC"
}
```

###  Unknown 'MType'

![](https://i.imgur.com/TipQykx.png)

```
{
  "name": "gs.up.drop",
  "time": "2021-08-03T18:57:26.118954376Z",
  "identifiers": [
    {
      "gateway_ids": {
        "gateway_id": "brc"
      }
    },
    {
      "gateway_ids": {
        "gateway_id": "brc",
        "eui": "00800000A0007F1B"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
    "namespace": "pkg/encoding/lorawan",
    "name": "unknown_field",
    "message_format": "unknown `{lorawan_field}`",
    "attributes": {
      "lorawan_field": "MType",
      "value": "UNCONFIRMED_DOWN"
    },
    "code": 3
  },
  "correlation_ids": [
    "gs:conn:01FC6C9NH1PVV4F46V6RQTYAMH",
    "gs:up:host:01FC6C9NH8G46D2T0W74Q8YARJ",
    "gs:uplink:01FC6P1CK66Z9N8D3SW2Y6756N"
  ],
  "origin": "ip-10-23-13-196.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgRsZXNz"
  },
  "visibility": {
    "rights": [
      "RIGHT_GATEWAY_TRAFFIC_READ",
      "RIGHT_GATEWAY_TRAFFIC_READ"
    ]
  },
  "unique_id": "01FC6P1CK6ZGTM3CQ7DXPB6ZP5"
}
```

## ADR Messages

```
{
  "name": "ns.mac.link_adr.request",
  "time": "2021-08-03T18:22:53.860397481Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "2304522453145",
        "application_ids": {
          "application_id": "less"
        }
      }
    },
    {
      "device_ids": {
        "device_id": "2304522453145",
        "application_ids": {
          "application_id": "less"
        },
        "dev_eui": "0080000004026CFD",
        "join_eui": "4B9FE546D39A1FBC",
        "dev_addr": "2608A6A1"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.MACCommand.LinkADRReq",
    "data_rate_index": 15,
    "tx_power_index": 15,
    "channel_mask": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      true,
      true,
      true,
      true,
      true,
      true
    ],
    "nb_trans": 3
  },
  "correlation_ids": [
    "gs:conn:01FC6C9NH1PVV4F46V6RQTYAMH",
    "gs:up:host:01FC6C9NH8S7NDQ73667WA4KTE",
    "gs:uplink:01FC6M24E6HBZVJY1X2QXN94D5",
    "ns:downlink:01FC6M24X2J96XER9FRHM7T2PP",
    "ns:uplink:01FC6M24E83FR3XD23Y9SPT1E3",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FC6M24E7GBNXQZ8VG1BCPWY3"
  ],
  "origin": "ip-10-23-14-198.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgRsZXNz"
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ",
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01FC6M24X4P24Q8S7MDXH3YMAP"
}
```


