Join Request fail UnknownDevEUI

Home Forums Conduit: AEP Model Join Request fail UnknownDevEUI

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27714
    Peter Simpson
    Participant

    Hi, I have a Conduit AEP running 1.7.3-1-gf11f8cd firmware.
    Under the Key Management Tab
    I have the Join Server set to Local Keys.
    I have two ( different ) devices defined under Local End-Device Credentials
    The devices have
    1) different Dev EUI
    2) Same App EUI
    3) Different App Key
    Both Class A with the same device and Network Profile.
    I have Local Network Settings Disabled
    Under Packets and the Recent Join Requests One sensor Joins, the other has the result UnknownDevEUI.
    The table shows the Join EUI and Dev EUI and I have double checked they are the same as defined in the Key Management-> Local End-Device Credentials settings
    Any advice on what is causing the UnknownDevEUI join failure would be appreciated
    Thank You
    Regards
    PeterS

    #27715
    Jason Reiss
    Keymaster

    Did you restart the lora services after adding the second sensor?

    Device credentials are stored at this API end-point.
    https://192.168.2.1/api/loraNetwork/whitelist

    The current configuration in use by the network server, including the whitelist of device credentials is accessed through this API.
    https://192.168.2.1/api/lora/config

    If a device is in the whitelist of /api/loraNetwork but not in api/lora/config a restart of the network server is needed.

    #27907
    Gabriel
    Participant

    HI,
    Same problem here.
    I have a MTCDT-246A with Firmware1.6.4. I succeeded to have successfull OTA join requests during a few weeks with the Local keys and Local network server enabled. Until we had to unplug and move the gateway in another room…

    Now I keep having UnknownDevEUI at join req. I tried to:
    – Restart Lora services
    – Added devices in whitelist (and restarted Lora service)
    – Tried to have devices in whitelist AND/OR in “Devices”.
    – Made a 30sec hard reset, setup the gateway again.
    – Changed my keys, swapped endianess, etc…
    And none of these worked.

    In the packets menu I keep getting:
    Recent Join Requests ?
    JoinEUI DevEUI Nonce Elapsed (ms) Result
    d8-a7-56-fd-80-00-00-00 d8-a7-56-fd-80-00-00-07 2182 0 UnknownDevEUI

    Here’s my config for the device:
    DevEUI: d8-a7-56-fd-80-00-00-07
    AppEUI: d8-a7-56-fd-80-00-00-00
    AppKey: 2B7E151628AED2A6ABF7158809CF4FC3

    And for the server:
    {
    “code” : 200,
    “result” : {
    “__v” : 1,
    “addressRange” : {
    “end” : “FF:FF:FF:FE”,
    “start” : “00:00:00:01”
    },
    “backupInterval” : 3600,
    “db” : “/var/config/lora/lora-network-server.db”,
    “license” : {
    “hasFile” : false,
    “isValid” : false,
    “maxDevices” : 2000,
    “maxGateways” : 10,
    “maxKeys” : 2000,
    “type” : 0
    },
    “log” : {
    “console” : false,
    “level” : 30,
    “path” : “/var/log/lora-network-server.log”,
    “syslog” : true
    },
    “lora” : {
    “ADRStep” : 30,
    “aesKey” : “ABCDEF0123456789ABCDEF0123456789”,
    “antennaGain” : 3,
    “beaconDatarate” : 3,
    “beaconDelay” : 0,
    “beaconFrequency” : 869525024,
    “beaconInterval” : 0,
    “beaconPower” : 27,
    “calAD9361” : 77,
    “calTempRoom” : 22,
    “channelMask” : “FFFF”,
    “channelPlan” : “EU868”,
    “classCAckTimeout” : 5000,
    “deviceQueueSize” : 16,
    “diversity” : false,
    “dspStatInterval” : 10,
    “dutyCyclePeriod” : 60,
    “dwelltimeDown” : 0,
    “dwelltimeUp” : 0,
    “enabled” : true,
    “eui_1” : “00:80:00:00:A0:00:3C:D1”,
    “frequencyAS” : 922600000,
    “frequencyAS2” : 922600000,
    “frequencyBand” : “EU868”,
    “frequencyBand2” : 0,
    “frequencyEU” : 867500000,
    “frequencyEU2” : 867500000,
    “frequencyIN” : 866385000,
    “frequencyIN2” : 866385000,
    “frequencyKR” : 922900000,
    “frequencyKR2” : 922900000,
    “frequencySubBand” : 1,
    “frequencySubBand2” : 1,
    “fskSYNC” : “C194C1”,
    “ftsMatchCRCError” : false,
    “ftsVersion” : 1,
    “gpsReceiver” : true,
    “joinByteOrder” : “LSB”,
    “joinDelay” : 5,
    “lbtEnabled” : false,
    “lbtScanTime” : 5000,
    “lbtSxOffset” : -4,
    “maxDatarate” : 3,
    “maxDatarateEU” : 5,
    “maxDatarateUS” : 4,
    “maxEIRP” : 20,
    “maxTxPower” : 26,
    “minDatarate” : 0,
    “minDatarateEU” : 0,
    “minDatarateUS” : 0,
    “nbDSP” : 1,
    “netID” : “000000”,
    “networkLeadTime” : 500,
    “packetForwarderConfig” : “”,
    “packetForwarderMode” : false,
    “reducedPacketUpdates” : false,
    “rx1DatarateOffset” : 0,
    “rx1Delay” : 1,
    “rx2Datarate” : 0,
    “rx2Frequency” : 869525000,
    “skipPacketForwarderFieldCheck” : false,
    “spi_device” : “/dev/spidev0.0”,
    “sxOffset” : -162
    },
    “mqtt” : {
    “enabled” : true,
    “host” : “127.0.0.1”,
    “password” : “”,
    “port” : 1883,
    “username” : “”
    },
    “mtsLic” : “”,
    “network” : {
    “baseKey” : “”,
    “defaultProfile” : “DEFAULT-CLASS-A”,
    “eui” : “d8a756fd80000000”,
    “gatewayKey” : “”,
    “joinServer” : “https://join.devicehq.com/api/m1/joinreq”,
    “key” : “2b7e151628aed2a6abf7158809cf4fc3”,
    “leasetime” : 142560,
    “lensCheckinInterval” : 3600,
    “lensDeviceHQ” : true,
    “lensEnabled” : false,
    “lensGatewayStats” : true,
    “lensLocalJoinMetadata” : true,
    “lensNetworkStats” : true,
    “lensPacketData” : false,
    “lensPacketMetadata” : true,
    “lensServer” : “https://lens.devicehq.com/api/”,
    “localJoinServerEnabled” : true,
    “name” : “”,
    “passphrase” : “”,
    “public” : 1,
    “salt” : “”,
    “vendorId” : “008000”
    },
    “packetForwarder” : {
    “aesKey” : “ABCDEF0123456789ABCDEF0123456789”,
    “antennaGain” : 3,
    “calAD9361” : 77,
    “calTempRoom” : 22,
    “channelPlan” : “US915”,
    “diversity” : false,
    “downstreamPort” : 1782,
    “dspStatInterval” : 10,
    “frequencyAS” : 922600000,
    “frequencyAS2” : 922600000,
    “frequencyEU” : 869500000,
    “frequencyEU2” : 869500000,
    “frequencyIN” : 866385000,
    “frequencyIN2” : 866385000,
    “frequencyKR” : 922900000,
    “frequencyKR2” : 922900000,
    “frequencySubBand” : 1,
    “frequencySubBand2” : 1,
    “fskSYNC” : “C194C1”,
    “ftsMatchCRCError” : false,
    “ftsVersion” : 1,
    “fwdCrcDisabled” : false,
    “fwdCrcError” : true,
    “fwdCrcValid” : true,
    “gpsReceiver” : true,
    “gwID” : “00800000A0003CD1”,
    “keepAliveInterval” : 10,
    “lbtDefaultChannels” : true,
    “lbtEnabled” : false,
    “lbtFrequency0” : 923000000,
    “lbtFrequency1” : 923200000,
    “lbtFrequency2” : 923400000,
    “lbtFrequency3” : 923800000,
    “lbtFrequency4” : 924000000,
    “lbtFrequency5” : 924200000,
    “lbtFrequency6” : 924400000,
    “lbtFrequency7” : 924600000,
    “lbtRssiOffset” : -4,
    “lbtRssiTarget” : -80,
    “lbtScanTime” : 128,
    “manualMode” : false,
    “nbDSP” : 1,
    “path” : “/opt/lora/lora_pkt_fwd”,
    “pathGeo” : “/opt/lora/pkt_forwarder”,
    “public” : true,
    “pushTimeout” : 100,
    “serverAddress” : “127.0.0.1”,
    “statInterval” : 20,
    “upstreamPort” : 1780
    },
    “packetForwarders” : [
    {
    “channels” : [
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 868100000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 868300000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 868500000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 867100000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 867300000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 867500000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 867700000
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 867900000
    },
    {
    “bandwidth” : 250000,
    “enabled” : true,
    “frequency” : 868300000,
    “spread_factor” : 7
    },
    {
    “bandwidth” : 125000,
    “enabled” : true,
    “frequency” : 868800000,
    “spread_factor” : “FSK”
    }
    ]
    }
    ],
    “test” : {
    “disableDutyCycle” : false,
    “disableRxJoin1” : false,
    “disableRxJoin2” : false,
    “disableRxWindow1” : false,
    “disableRxWindow2” : false
    },
    “trafficManager” : {
    “dev_eui_filters” : [],
    “enabled” : false,
    “join_eui_filters” : []
    },
    “trimInterval” : 600,
    “trimRows” : 100,
    “udp” : {
    “allowPublic” : true,
    “appPortDown” : 1786,
    “appPortUp” : 1784,
    “downstreamPort” : 1782,
    “lensPort” : 1790,
    “upstreamPort” : 1780
    },
    “whitelist” : {
    “devices” : [],
    “enabled” : true,
    “maxSize” : 2000
    }
    },
    “status” : “success”
    }

    #28704
    Jethro Domingo
    Participant

    hi Gabriel,

    Have you already solved your issue yet? I have the same problem.

    #32649
    SaSa
    Participant

    hello Jason Reiss,

    I have exactly the same issue. I see end-device s in whitelist and also in config part. I did a restart in LoRa network server but I only have packets from one end-device since I have 3.

    Can I ask you what could be the main problem ?

    Thanks in advance.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.