Hi,
I am using STM32L072 Discovery Kit as LoRa node and kerlink gateway to receive the data. I have successfully registered the LoRa node through web UI as OTAA. But when i tried to give join command in LoRa node i am getting something as below
In Kerlink gateway:
INFO: Received pkt from mote: 01010101 (fcnt=257)
JSON up: {“rxpk”:[{“tmst”:1172172563,“chan”:2,“rfch”:1,“freq”:868.500000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:7.2,“rssi”:-107,“size”:23,“data”:“AAEBAQEBAQEBGWU3aDE3NDb2Z0QuVEw=”}]}
INFO: [up] PUSH_ACK received in 0 ms
In Lora-app-server:
ERRO[2015] processing rx packet error: join-request to join-server error: http post error: Post http://localhost:8003: dial tcp 127.0.0.1:8003: getsockopt: connection refused data_base64=“AAEBAQEBAQEBGWU3aDE3NDbSSjaidvI=”
Please provide any inputs/suggestions to solve the above issue.
I am getting the below error in loraserver logs not in lora-app-server
ERRO[2015] processing rx packet error: join-request to join-server error: http post error: Post http://localhost:8003: dial tcp 127.0.0.1:8003: getsockopt: connection refused data_base64=“AAEBAQEBAQEBGWU3aDE3NDbSSjaidvI=”
Hi brocaar,
-
lora-app-server- version=0.14.2
lora-server- version=0.22.1
-
Both services running on the same machine
-
I am 100% sure that both services up and running
-
I changed the port to 8001 in loraserver configuration file
hostname:port of the default join-GW_MQTT_SERVER
JS_SERVER=http://localhost:8001
Hi brocaar ,
Now i configured one more STM32L072 Discovery Kit as ABP. When i send data from the device am getting the below error in loraserver logs
ERRO[7559] processing rx packet error: get device-session error: device-session does not exist or invalid fcnt or mic data_base64=“QKUE0AGABAACCdO4KZlhQuWjv++JTA==”
I changed the port to 8001 in loraserver configuration file
JS_SERVER=http://localhost:8001
Please try setting up LoRa (App) Server with all the default configuration (apart from the configuration that you must change).
Now i configured one more STM32L072 Discovery Kit as ABP. When i send data from the device am getting the below error in loraserver logs
ERRO[7559] processing rx packet error: get device-session error: device-session does not exist or invalid fcnt or mic data_base64=“QKUE0AGABAACCdO4KZlhQuWjv++JTA==”
Please keep it to one subject per topic. When you search on the forum for does not exist or invalid fcnt or mic you’ll probably find the answer to this question. It has been asked before.
Hi brocaar,
I have changed all configuration to default one and it is working now. Thank you for your support.
1 Like