Issue with downlink

Hi, it seems that my gateway bridge (installed in my server not in gateway) is not checking for downlinks. I am not able to activate my device OTA and if I do it in ABP I successfully receive uplink but downlink seems not retrieve in MQTT broker by the lorawan bridge. What is the possible issue ?

MQTT MESSAGE POSTED BY BRIDGE:
Topic : gateway/3535303243001a00/rx
Data : {“rxInfo”:{“mac”:“3535303243001a00”,“timestamp”:3054448932,“frequency”:868300000,“channel”:1,“rfChain”:1,“crcStatus”:1,“codeRate”:“4/5”,“rssi”:-9,“loRaSNR”:9,“size”:19,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:12,“bandwidth”:125},“board”:0,“antenna”:0},“phyPayload”:“gGt0OAGAFwAB/E3lqU8L00Jg2Q==”}

MQTT MESSAGE POSTED BY NET SERVER:
Topic : gateway/3535303243001a00/tx
Data : {“token”:20650,“txInfo”:{“mac”:“3535303243001a00”,“immediately”:false,“timestamp”:3055448932,“frequency”:868300000,“power”:14,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:12,“bandwidth”:125},“codeRate”:“4/5”,“iPol”:true,“board”:0,“antenna”:0},“phyPayload”:“YGt0OAGgEgAAsbHfxYw81t8VuBUR6kw63XiPgXKiMg==”}

BRIDGE LOG :
déc. 13 18:34:03 ubuntu01 lora-gateway-bridge[26473]: time=“2018-12-13T18:34:03+01:00” level=debug msg=“gateway: received udp packet from gateway” addr=“192.168.0.145:61095” protocol_versio n=2 type=PushData
déc. 13 18:34:03 ubuntu01 lora-gateway-bridge[26473]: time=“2018-12-13T18:34:03+01:00” level=info msg=“gateway: rxpk packet received” addr=“192.168.0.145:61095” data=“gGt0OAGAFwAB/E3lqU8L00 Jg2Q==” mac=3535303243001a00
déc. 13 18:34:03 ubuntu01 lora-gateway-bridge[26473]: time=“2018-12-13T18:34:03+01:00” level=debug msg=“gateway: sending udp packet to gateway” addr=“192.168.0.145:61095” protocol_version=2 type=PushACK
déc. 13 18:34:03 ubuntu01 lora-gateway-bridge[26473]: time=“2018-12-13T18:34:03+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/3535303243001a00/rx
NOTHING MORE

The config file of bridge is default one:
uplink_topic_template=“gateway/{{ .MAC }}/rx”
downlink_topic_template="gateway/{{ .MAC }}/tx"
stats_topic_template=“gateway/{{ .MAC }}/stats”
ack_topic_template=“gateway/{{ .MAC }}/ack”
config_topic_template=“gateway/{{ .MAC }}/config”

It has worked only ONE time just after a restart of bridge. What should be the steps ? pushing packet + subscribing tx + receiving tx + unsubscribing tx ? Ot gateway should always stay subscribed to tx ? In the log below we saw an unsubscription and I do not know if it is normal.

déc. 14 10:36:29 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:36:29+01:00” level=info msg=“backend: connected to mqtt broker”
déc. 14 10:36:47 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:36:47+01:00” level=info msg=“backend: subscribing to topic” qos=0 topic=gateway/3535303243001a00/tx
déc. 14 10:36:47 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:36:47+01:00” level=info msg=“backend: subscribing to topic” qos=0 topic=gateway/3535303243001a00/config
déc. 14 10:38:09 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:38:09+01:00” level=info msg=“gateway: rxpk packet received” addr=“192.168.0.145:61219” data=“gGt0OAGAHwAB5l8aLVZSwfK5jQ==” mac=3535303243001a00
déc. 14 10:38:09 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:38:09+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/3535303243001a00/rx
déc. 14 10:38:09 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:38:09+01:00” level=info msg=“backend: downlink packet received” topic=gateway/3535303243001a00/tx
déc. 14 10:38:09 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:38:09+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/3535303243001a00/ack
déc. 14 10:38:29 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:38:29+01:00” level=info msg=“backend: unsubscribing from topic” topic=gateway/3535303243001a00/tx
déc. 14 10:38:29 ubuntu01 lora-gateway-bridge[22723]: time=“2018-12-14T10:38:29+01:00” level=info msg=“backend: unsubscribing from topic” topic=gateway/3535303243001a00/config

When I restart the bridge, the part of the log quoted above is not present.
It was present only one time (in my previous post).

Nobody to help me ? I really do not find the issue, I do not know why gateway bridge does not subscribe to TX topic…

Please see: https://forum.loraserver.io/t/lora-gateway-bridge-unsubscribing-from-topic/994

Hi, I put lora gateway bridge in gateways and it seems fine now. From a general point of view, it seems that lora gateway bridge in server is not a good setup. Thanks.