I’m not so lucky, removing .installer
doesn’t work for me
Installed as in instruction for AEP. New AEP soft (1.4.16).
I’m trying to figure it out for 2 days: I get the same error as above:
tail -f /var/log/lora-pkt-fwd.log
:
17:19:52 INFO: Description configured to "test"
17:19:52 INFO: [main] TTY port /dev/ttyXRUSB2 open for GPS synchronization
17:19:52 INFO: [Transports] Initializing protocol for 1 servers
17:19:52 ERROR: [TTN] Connection to server "52.56.216.89" failed, retry in 30 seconds
17:20:22 ERROR: [TTN] Connection to server "52.56.216.89" failed, retry in 60 seconds
17:21:22 ERROR: [TTN] Connection to server "52.56.216.89" failed, retry in 120 seconds
17:23:22 ERROR: [TTN] Connection to server "52.56.216.89" failed, retry in 240 seconds
17:27:22 ERROR: [TTN] Connection to server "52.56.216.89" failed, retry in 480 seconds
Looking at the packets traffic with a command mentioned by @kersing somewhere else on the forums (tcpdump -i eth0 -n -vvvX host 52.56.216.89
where the IP stands for ttn.thingsconnected.net
and is set in file /var/config/lora/local_conf.json
) I get something, which looks like an open port (response from 52.56.216.89:1883):
(following dump on pastebin)
17:43:39.758781 IP (tos 0x0, ttl 64, id 45772, offset 0, flags [DF], proto TCP (6), length 52)
192.168.100.30.58475 > 52.56.216.89.1883: Flags [.], cksum 0x0220 (correct), seq 1, ack 1, win 913, options [nop,nop,TS val 634214 ecr 260791655], length 0
0x0000: 4500 0034 b2cc 4000 4006 569f c0a8 641e E..4..@.@.V...d.
0x0010: 3438 d859 e46b 075b ccbf 1faa 53e1 f93f 48.Y.k.[....S..?
0x0020: 8010 0391 0220 0000 0101 080a 0009 ad66 ...............f
0x0030: 0f8b 5d67 ..]g
17:43:39.759659 IP (tos 0x0, ttl 64, id 45773, offset 0, flags [DF], proto TCP (6), length 369)
192.168.100.30.58475 > 52.56.216.89.1883: Flags [P.], cksum 0x5ef6 (correct), seq 1:318, ack 1, win 913, options [nop,nop,TS val 634214 ecr 260791655], length 317
0x0000: 4500 0171 b2cd 4000 4006 5561 c0a8 641e E..q..@.@.Ua..d.
0x0010: 3438 d859 e46b 075b ccbf 1faa 53e1 f93f 48.Y.k.[....S..?
0x0020: 8018 0391 5ef6 0000 0101 080a 0009 ad66 ....^..........f
0x0030: 0f8b 5d67 10ba 0200 044d 5154 5404 ce00 ..]g.....MQTT...
0x0040: 1400 1a68 6172 7765 6c6c 5f63 616d 7075 ...harwell_campu
0x0050: 735f 7361 5f63 6174 6170 756c 7400 0a64 s_sa_catapult..d
0x0060: 6973 636f 6e6e 6563 7400 830a 1a68 6172 isconnect....har
0x0070: 7765 6c6c 5f63 616d 7075 735f 7361 5f63 well_campus_sa_c
0x0080: 6174 6170 756c 741a 6574 746e 2d61 6363 atapult.ettn-acc
0x0090: 6f75 6e74 2d76 322e 6b4b 7a5a 6f59 6571 ou##########q
0x00a0: 5932 6d52 3261 3166 5470 546a 396d 746f Y###########to
0x00b0: 337a 7357 6e6a 304c 396a 3234 2d59 6376 3############Ycv
0x00c0: 4977 426a 3663 5446 6b39 4571 3737 3070 Iw###########70p
0x00d0: 4d6b 6a34 5464 6f30 5562 554d 7959 4473 M##########yYDs
0x00e0: 6c33 6c30 3677 7032 4f53 5f59 6241 001a l3l##########bA..
0x00f0: 6861 7277 656c 6c5f 6361 6d70 7573 5f73 harwell_campus_s
0x0100: 615f 6361 7461 7075 6c74 0065 7474 6e2d a_catapult.ettn-
0x0110: 6163 636f 756e 742d 7632 2e6b 4b7a 5a6f ac##########zZo
0x0120: 5965 7159 326d 5232 6131 6654 7054 6a39 Ye############Tj9
0x0130: 6d74 6f33 7a73 576e 6a30 4c39 6a32 342d mto###########j24-
0x0140: 5963 7649 7742 6a36 6354 466b 3945 7137 Ycv##########Eq7
0x0150: 3730 704d 6b6a 3454 646f 3055 6255 4d79 70p###########My
0x0160: 5944 736c 336c 3036 7770 324f 535f 5962 YDsl3l06wp2OS_Yb
0x0170: 41 A
17:43:39.764677 IP (tos 0x0, ttl 47, id 42064, offset 0, flags [DF], proto TCP (6), length 52)
52.56.216.89.1883 > 192.168.100.30.58475: Flags [.], cksum 0x0381 (correct), seq 1, ack 318, win 235, options [nop,nop,TS val 260791663 ecr 634214], length 0
0x0000: 4500 0034 a450 4000 2f06 761b 3438 d859 E..4.P@./.v.48.Y
0x0010: c0a8 641e 075b e46b 53e1 f93f ccbf 20e7 ..d..[.kS..?....
0x0020: 8010 00eb 0381 0000 0101 080a 0f8b 5d6f ..............]o
0x0030: 0009 ad66 ...f
17:43:39.866962 IP (tos 0x0, ttl 47, id 42065, offset 0, flags [DF], proto TCP (6), length 56)
52.56.216.89.1883 > 192.168.100.30.58475: Flags [P.], cksum 0xe353 (correct), seq 1:5, ack 318, win 235, options [nop,nop,TS val 260791689 ecr 634214], length 4
0x0000: 4500 0038 a451 4000 2f06 7616 3438 d859 E..8.Q@./.v.48.Y
0x0010: c0a8 641e 075b e46b 53e1 f93f ccbf 20e7 ..d..[.kS..?....
0x0020: 8018 00eb e353 0000 0101 080a 0f8b 5d89 .....S........].
0x0030: 0009 ad66 2002 0005 ...f....
Any clues ? I might use the old packet forwarded instead…
I’m comfortable with bash and ssh. Will do any test.
Cheers,
-Mateusz