As I can at least post in that forum, I’d like to know if someone has succeeded to install recently a RAK831 system with Pi3B+ as TTN gateway ? I followed the pretty outdated tuto on TTN blog and also that one listed in forum https://www.thethingsnetwork.org/labs/story/rak831-lora-gateway-from-package-to-online but both fails miserably
Is there an up-to-date tuto somewhere I can be pointed too ? as I’m losing patience trying all tutos I can find till one hopefully works !
Yep first tuto I have tried but failed, it never succeeded to connect at TTN network due to some SSL problems unless the PI has well a full internet connectivity ! I have tried too to setup variables indicated in tuto in both variables categories that exist in Balena as none has same name as in the tuto but not more success
If you want help with the setup it helps if you provide more details like log information. Just saying your car doesn’t drive won’t help a mechanic solve the issue, the same applies for us as we’re unable to see what happens. (Or you need to share that particular application in the balena console with me so I can take a look and try to help you out.)
Are you using the legacy packet forwarder UDP connection? I wouldn’t expect SSL to be involved unless you are using some more recent sort of connection.
How would you expect it to work without Internet connectivity?
Yep for sure for logs, I fully agree for you but as I had tried an other setup in meantime, I have no more these ! I’ll redo the setup this way tomorrow and share my results here about failure if it fails again, or will let you know too if it works fine this time (perhaps missed a step or made an error somewhere !) !
If I remember well it was indicated in setup not to tick that option but as indicated will attempt that setup again tomorrow and share results here
thanks @cslorabox and @kersing for offer of help
Here is updated information about attempt to setup my gateway with RAK831 et Pi3B+. I get same results as yesterday unhappy. Everything goes fine till I fill the details of my gw setup in TTN console in Balena dashboard. The app in PI3B+ restarts well to apply values filled and then get errors as below. I have just obfuscated the GW EUI as not sure it should be publicly shared !
Thanks for help and if you need more infos let me know
Vincèn
14.07.19 12:52:42 (+0200) Killing service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:52:42 (+0200) Killed service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:52:43 (+0200) Installing service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:52:43 (+0200) Installed service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:52:44 (+0200) Starting service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:52:45 (+0200) Started service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:52:45 (+0200) *** Resin Machine Info:
14.07.19 12:52:45 (+0200) *** Type: None
14.07.19 12:52:45 (+0200) *** Arch: None
14.07.19 12:52:45 (+0200) *******************
14.07.19 12:52:45 (+0200) *** Configuration:
14.07.19 12:52:45 (+0200) *******************
14.07.19 12:52:45 (+0200) GW_EUI: XXXXXXXX
14.07.19 12:52:45 (+0200) Enabling TTN gateway connector
14.07.19 12:52:45 (+0200) *******************
14.07.19 12:52:45 (+0200) *** Fetching config from TTN account server
14.07.19 12:52:45 (+0200) *******************
14.07.19 12:52:45 (+0200) <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
14.07.19 12:52:45 (+0200) Unable to fetch configuration from TTN. Is the TTN API reachable from gateway? Are your GW_ID and GW_KEY correct? Retry in 30s
14.07.19 12:52:57 (+0200) Killing service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:09 (+0200) Service exited ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:09 (+0200) Killed service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:10 (+0200) Installing service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:11 (+0200) Installed service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:11 (+0200) Starting service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:13 (+0200) Started service ‘main sha256:eb26dd8474625f9c84d833520709d6af99a85b77f3e18a73de33e1fd93f2c49a’
14.07.19 12:53:13 (+0200) *** Resin Machine Info:
14.07.19 12:53:13 (+0200) *** Type: None
14.07.19 12:53:13 (+0200) *** Arch: None
14.07.19 12:53:13 (+0200) *******************
14.07.19 12:53:13 (+0200) *** Configuration:
14.07.19 12:53:13 (+0200) *******************
14.07.19 12:53:13 (+0200) GW_EUI: XXXXXXXX
14.07.19 12:53:13 (+0200) Enabling TTN gateway connector
14.07.19 12:53:13 (+0200) *******************
14.07.19 12:53:13 (+0200) *** Fetching config from TTN account server
14.07.19 12:53:13 (+0200) *******************
14.07.19 12:53:13 (+0200) <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
14.07.19 12:53:13 (+0200) Unable to fetch configuration from TTN. Is the TTN API reachable from gateway? Are your GW_ID and GW_KEY correct? Retry in 30s
Hum while looking for a solution at my problem I found a lot easier way to setup the gateway ! RAKWireless offers a ready to use image for Pi 3B+ and in few minutes and very easily I had my gateway active and running !
For people wanting to use RAKWireless hardwares, don’t bother with outdated tutos available on TTN websit, just go on RAKWireless website to download the image for your hardware and follow their very simple and easy document to setup the image and in 5 minutes you are running
So one more TTN gateway is now active (in an area where nearest Lora network is 100km away !) !
Outdated because of a change that happened to the balena images a couple of days ago where I’m am working on fixing it. May-be you shouldn’t be so harsh in your judgment?
[Edit] The TTN account server does not provide the intermediate certificate to clients connecting and as a result the client can’t validate the server certificate. Now the question is why this happens… @htdvisser have there been changes that could result in TTN no longer providing the immediate certificate? For instance while fixing the security issue last week?
Hi Vincen, since I had the same problem as you and I’m not able to fix it could you pass the link of the tutorial/guide you used to put your gateway with raspberry pi3b in motion.
Unhappy looks like the tuto is no more there It was on Rakwireless website: RAKwireless Downloads but perhaps asking support you can get a copy of it. Don’t forget that if your gw is not already registered in TTN V2 it’s completely useless now as you can no more register gw in TTN V2 since 1st June/July
Wrong - just register under V3! And if previously registered in V2 some details can still be amended even if system read only so may be poss to get it online as a correction… depends on what root cause of issue is. Personally would just get latest build instructions and go straight to V3…do not pass go do not collect £200/$200/€200 or whatever on local Monopoly Money…