ttn-zh / ic880a-gateway

Reference setup for iC880a gateways running The Things Network
GNU General Public License v3.0
455 stars 210 forks source link

iot.semtech.com not resolved #77

Closed pirboazo closed 3 years ago

pirboazo commented 3 years ago

Hello, after the declaration of my gateway on TTN. I see it is not connected. After analyse the startup i found this error during the startup .

ttn-gateway[14737]: ERROR: [up] getaddrinfo on address iot.semtech.com (PORT 1680) returned Name or service not known

I verify with nslookup with my dns local resolver.

** server can't find iot.semtech.com: NXDOMAIN

dig command give the same thing. dig iot.semtech.com @8.8.8.8

; <<>> DiG 9.11.5-P4-5.1+deb10u3-Raspbian <<>> iot.semtech.com @8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46823 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;iot.semtech.com. IN A ;; AUTHORITY SECTION: semtech.com. 299 IN SOA dns1.cscdns.net. hostmaster.cscdns.net. 2009102236 86400 3600 604800 300 ;; Query time: 34 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Thu Mar 18 19:28:37 GMT 2021 ;; MSG SIZE rcvd: 106

No answer section :-1:

pirboazo commented 3 years ago

Error found . I forget to enable the SPI.. Perhaps a good idea, will be to fail the configuration in this case