When setting up a gateway in Australia and following the Server Addresses page on the Wiki to connect it to router.au.thethings.network, (today) one is actually connecting to thethings.meshed.com.au:
$ host router.au.thethings.network
router.au.thethings.network is an alias for thethings.meshed.com.au.
thethings.meshed.com.au has address 52.62.83.250
Nice.
However, for Switzerland the Wiki suggests router.eu.thethings.network (which today is an alias for bridge.eu.thethings.network).
So: could/should one configure a Swiss gateway to somehow connect to SWITCH instead? Or is that âbridgeâ taking care of that?
In general you can choose which router to use, the console usually gives a suggestion based on the selected frequency plan, but in the end you have to decide yourself. The console suggestions should be regions operated by The Things Network foundation, but as the latency between Australia and our TTNF-operated Asia-Southeast region is often too high, we decided to redirect our AU address to Meshed.
If youâre in Switzerland, you can choose to use the SWITCH-operated region, but you donât have to.
Since i cannot find any hints about âswitch-routerâ and cannot connect: Is there a possibility that this simply has no clearance yet for production?
Hello there. Since yesterday, I am trying to register my new gateway to switch-router, however I couldnât get it working. I got countless messages saying ERROR: [TTN] Connection to server "ttn.opennetworkinfrastructure.org" failed, retry in 30 seconds
I even deleted the gateway from the TTN console and re-added it using the Open Network Infrastructure/Switch Console as you suggested. The one thing I did not yet try is the ttnctl command. Using ttn-router-eu seems work though as far as the connection goes.
Is the SWITCH TTN router really operational? Or am I doing something wrong? Iâm a total newbie in terms of LoRa/TTNâŚ
Thanks for any help!
btw, it was only on April 12th that we officially announced the existence of it; although itâs been running for quite a while. Check here for the announcement: https://opennetworkinfrastructure.org/post/switch/
If youâre using an MQTT-based packet forwarder (such as the MP packet forwarder), youâll want to set the server address to ttn.opennetworkinfrastructure.org:1882. Indeed, the MQTT broker for gateways is set on port 1882 for the Switch router, whereas on TTN Foundation-regions, it is by default set to 1883.
Hi @gonzalo! Thanks a lot for your reply. The gateway is a Multitech Conduit AEP (outdoor model) running firmware version 1.4.16. I followed the configuration steps here: https://www.thethingsnetwork.org/docs/gateways/multitech/aep.html
If I select another router and restart the forwarder, no errors regarding the router are logged. Thereâs also another problem that any LoRa packets that are received seem to fail CRC, but thatâs probably something for a separate topic.
Update: It appears that the connection as such is successful, since the gateway is reported as âconnectedâ in the console. However I still get the ERROR: [TTN] Connection to server "ttn.opennetworkinfrastructure.org" failed, retry in 480 seconds messages every 8 minutes. If thatâs nothing to worry about, I can live with it.
Oh! Thatâs good to hear, but I wonder what the other message is. Perhaps the Multitechs connect a second thread to a different port for some other purpose? Maybe you can monitor outgoing connections to see which port is the one thatâs failingâŚ
@kersing: perhaps you know more about it, since you worked quite a lot with Multitechs?
Is it still connected? And is the âlast seenâ a value < 1 minute?
I just committed a fix to the installer script that should solve this. If your gateway is no listed active or the last seen value is far beyond 1 minute you should run the new installer. Reply âYesâ when asked to â⌠update configuration?â.
Yes, it was/is still connected, with the âlast seenâ value counting up to a couple of seconds and jumping back to zero. So everything as it should be, I suppose
I downloaded and ran your updated script a couple of minutes ago. No errors were logged anymore, instead I see: 13:07:26 INFO: [TTN] ttn.opennetworkinfrastructure.org RTT 6 13:07:26 INFO: [TTN] send status success for ttn.opennetworkinfrastructure.org
So that seems to be resolved - thank you very much for your premier support! Now I should probably go and get a heap of sensors to make use of the shiny new gateway.
Have a great day, and thanks again!