Skip to content

Join is not completed on Docker alpine 3.17 #22

@rbsouzarn

Description

@rbsouzarn

Hello. First, thank you very much for your simulator. I have been testing the simulator with the latest stable release, version 1.0.2, without compiling the code, together with ChirpStack. Running the binary directly on Linux Ubuntu 20.04.6 LTS everything works perfectly. When I run the binary in docker, alpine 3.17 image, the join is not completed. The CS receives the joinRequest, processes it and responds with the downlink that is never received by the simulator.

Below is the simulator log:

[ Oct 16 12:36:09 ] [YES]: Setup gateways OK!
[ Oct 16 12:36:09 ] [YES]: Setup devices OK!
[ Oct 16 12:36:09 ] [YES]: SETUP OK!
[ Oct 16 12:36:09 ] [YES]: START
[ Oct 16 12:36:09 ] GW[V-GATEWAY]: Turn ON
[ Oct 16 12:36:09 ] GW[V-GATEWAY]: PULL DATA send
[ Oct 16 12:36:09 ] DEV[V-DEVICE] |Activation| {A}: Turn ON
[ Oct 16 12:36:09 ] DEV[V-DEVICE] |Activation| {A}: JOIN REQUEST sent
[ Oct 16 12:36:09 ] DEV[V-DEVICE] |Activation| {A}: Open RXs
[ Oct 16 12:36:09 ] GW[V-GATEWAY]: PUSH DATA send
[ Oct 16 12:36:21 ] DEV[V-DEVICE] |Activation| {A}: No downlink received
[ Oct 16 12:36:21 ] DEV[V-DEVICE] |Activation| {A}: Unjoined

Below is the CS log:

2023-10-16T12:36:09.703739Z INFO chirpstack::gateway::backend::mqtt: Message received from gateway region_config_id="eu868" topic="eu868/gateway/9e5accc5497961e6/event/up" qos=0 json=false
2023-10-16T12:36:09.704823Z INFO chirpstack::gateway::backend::mqtt: Message received from gateway region_config_id="eu868" topic="eu868/gateway/9e5accc5497961e6/event/stats" qos=0 json=false
2023-10-16T12:36:09.707644Z INFO stats{gateway_id=9e5accc5497961e6}: chirpstack::storage::gateway: Gateway state updated gateway_id=9e5accc5497961e6
2023-10-16T12:36:09.708409Z INFO stats{gateway_id=9e5accc5497961e6}: chirpstack::storage::metrics: Metrics saved name=gw:9e5accc5497961e6 aggregation=HOUR
2023-10-16T12:36:09.709091Z INFO stats{gateway_id=9e5accc5497961e6}: chirpstack::storage::metrics: Metrics saved name=gw:9e5accc5497961e6 aggregation=DAY
2023-10-16T12:36:09.709650Z INFO stats{gateway_id=9e5accc5497961e6}: chirpstack::storage::metrics: Metrics saved name=gw:9e5accc5497961e6 aggregation=MONTH
2023-10-16T12:36:09.907349Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}: chirpstack::uplink: Uplink received m_type="JoinRequest"
2023-10-16T12:36:09.920307Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}:join_request: chirpstack::storage::device_keys: Device-nonce validated and stored dev_eui=282f5b5d8de3 27ef dev_nonce=5275
2023-10-16t12: 36: 09.921519Z info up {deduplication_id = E23C98DB-8E3D-412D-AC4F-9C71CDE75566}: join_request: chirpstack :: storage :: device_keys: device-keys updated dev 5d8de327ef
2023-10-16T12:36:09.922599Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}:join_request: chirpstack::storage::device_session: Device-session saved dev_eui=282f5b5d8de32 7ef dev_addr=01396f01
2023-10-16T12:36:09.923456Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}:join_request: chirpstack::storage::device_queue: Device queue flushed dev_eui=282f5b5d8de327ef count=0
2023-10-16T12:36:09.925010Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}:join_request: chirpstack::storage::device: Enabled class updated dev_eui=282f5b5d8de327ef enabled_class =A
2023-10-16T12:36:09.925260Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}:join_request: chirpstack::gateway::backend::mqtt: Sending downlink frame gateway_id=9e5accc5497961e6 topic=eu868/gateway /9e5accc5497961e6/command/down json=false
2023-10-16T12:36:09.926200Z INFO up{deduplication_id=e23c98db-8e3d-412d-ac4f-9c71cde75566}:join_request: chirpstack::storage::downlink_frame: Downlink-frame saved downlink_id=2178120891
2023-10-16T12:36:09.929594Z INFO chirpstack::integration::mqtt: Publishing event topic=application/17ceb164-9b65-44a1-9efd-293d99cd0ff3/device/282f5b5d8de327ef/event/join

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions