anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Raspberry Pi client - invalid sharing key  (Read 3594 times)

0 Members and 1 Guest are viewing this topic.

Ulli

  • New Member
  • *
  • Posts: 1
Raspberry Pi client - invalid sharing key
« on: June 29, 2023, 06:01:46 PM »
Hi All,

I just installed a new Raspberry RBfeeder Client. The Installation is well, without obvious errors. But the server responds 'invalid key' and the connection times out.

*********from rbfeeder.log **********
The beginning:
[2023-06-29 18:40:09]  Connection established.
[2023-06-29 18:40:09]  Empty sharing key. We will try to create a new one for you!
[2023-06-29 18:40:10]  Your new key is 1aa3bb68xxxxxxxxx1541b079. Please save this key for future use. You will have to know this key to link this receiver to your account in RadarBox24.com. This key is also saved in configuration file (/etc/rbfeeder.ini)
[2023-06-29 18:41:08]  ******** Statistics updated every 60 seconds ********
[2023-06-29 18:41:08]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 1
[2023-06-29 18:41:08]  Data sent: 25 B
[2023-06-29 18:41:08]  Data received: 57 B
[2023-06-29 18:41:10]  Connection established.
[2023-06-29 18:48:18]  Error authenticating Sharing-Key: Invalid sharing-key
[2023-06-29 18:48:27]  Could not start connection. Timeout.
[2023-06-29 18:49:16]  ******** Statistics updated every 60 seconds ********
[2023-06-29 18:49:16]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 8
[2023-06-29 18:49:16]  Data sent: 494 B
[2023-06-29 18:49:16]  Data received: 187 B
[2023-06-29 18:49:29]  Connection established.
[2023-06-29 18:49:29]  Error authenticating Sharing-Key: Invalid sharing-key
[2023-06-29 18:49:39]  Could not start connection. Timeout.
[2023-06-29 18:50:17]  ******** Statistics updated every 60 seconds ********
[2023-06-29 18:50:17]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 9
[2023-06-29 18:50:17]  Data sent: 561 B
[2023-06-29 18:50:17]  Data received: 215 B
[2023-06-29 18:50:40]  Connection established.
[2023-06-29 18:50:50]  Could not start connection. Timeout.
************** snip************

I tried to claim that receivers sharing key to an account, but after clicking 'claim', the site responds: invalid key

I generated different keys, but no change.
The service runs well, the installation seems to be well too.

Any hint ?

The same installation on another Raspberry runs well. On the working Raspberry i found in the log additional entries at the beginning, which were missing here.
These are:
[2023-06-29 14:24:04]  Connection established.
[2023-06-29 14:24:04]  Client type: Raspberry Pi
[2023-06-29 14:24:04]  Connection with RadarBox24 server OK! Key accepted by server.
[2023-06-29 14:24:04]  This is your station serial number: EXTRPIxxx083

These messages are missing on the non-functioning Raspberry - although it got a serial number, which is being shown in the rbfeeder.ini file.

Any suggestions are welcome :-)

Regards,

Ulli


 


« Last Edit: June 29, 2023, 06:46:44 PM by Ulli »

DO1IP

  • New Member
  • *
  • Posts: 6
Re: Raspberry Pi client - invalid sharing key
« Reply #1 on: June 29, 2023, 06:58:42 PM »
Hi,
i have the same problem and need help too.

Udo
Friendly Regards
Udo

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33614
Re: Raspberry Pi client - invalid sharing key
« Reply #2 on: June 30, 2023, 07:24:44 AM »
Contact [email protected] for assistance

Alan

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4125
Re: Raspberry Pi client - invalid sharing key
« Reply #3 on: June 30, 2023, 07:40:01 AM »
There currently an issue with sharer keys that’s being worked on, apologies.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33614
Re: Raspberry Pi client - invalid sharing key
« Reply #4 on: June 30, 2023, 12:15:11 PM »
The issues should now be resolved

Alan

DO1IP

  • New Member
  • *
  • Posts: 6
Re: Raspberry Pi client - invalid sharing key
« Reply #5 on: June 30, 2023, 03:33:08 PM »
Here still the same error message. Do i need a new sharing key? I tried this with the old one from yesterday
Friendly Regards
Udo

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33614
Re: Raspberry Pi client - invalid sharing key
« Reply #6 on: June 30, 2023, 04:16:32 PM »
I would suggest you need a new sharing key but I will try and contact the developer and ask

Alan

DO1IP

  • New Member
  • *
  • Posts: 6
Re: Raspberry Pi client - invalid sharing key
« Reply #7 on: June 30, 2023, 04:40:46 PM »
OK Thx so far Alan. I will wait a few weeks and reinstall the radarbox stuff again. I have a Business Acccout at FR24 and also feeding adsb-exchange.

Thx for your help ;-)
Friendly Regards
Udo

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4125
Re: Raspberry Pi client - invalid sharing key
« Reply #8 on: July 01, 2023, 07:47:36 PM »
Radarbox is currently undergoing a major expansion, to provide users with more exciting features in the near future.
Given the complexity of such an operation (while processing enormous quantities of information nonstop), minor inconsistencies are bound to happen.
Your station was affected by the ongoing transition, and we apologize for any inconvenience it may have caused. To help you get your station up and running as quickly as possible, we send a small set of procedures below. These will require some familiarity with the command line interface of your radarbox station.
Instructions:
1. Connect to your station through the command line
2. Execute the following command
sed -i ‘/^key=/d; /^sn=/d’ /etc/rbfeeder.ini
3. Reboot your station
4. Open a web browser and go to https://www.radarbox.com/addcoverage
5. Use your sharing key to register your station
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

DO1IP

  • New Member
  • *
  • Posts: 6
Re: Raspberry Pi client - invalid sharing key
« Reply #9 on: July 02, 2023, 07:58:46 AM »
Dear Support,
thx for all the info´s, but i have still the same "Sharing Key not found" message on the website.

This line (sed -i ‘/^key=/d; /^sn=/d’ /etc/rbfeeder.ini) defintly does not fix the problem.

Regards
Udo
« Last Edit: July 02, 2023, 08:00:25 AM by DO1IP »
Friendly Regards
Udo

longbch

  • New Member
  • *
  • Posts: 4
Re: Raspberry Pi client - invalid sharing key
« Reply #10 on: July 02, 2023, 01:58:43 PM »
I'm also seeing this today while setting up my RadarBox feed for the first time. 

I've deleted the key= and sn= in rbfeeder.log, rebooted and am still seeing the Invalid sharing-key message in rbfeeder.log.

When trying to register my key, I get "Sharing Key not found".

I'm feeding these with no problem:  OpenADSB, Flightradar24, FlightAware, Plane Finder.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33614
Re: Raspberry Pi client - invalid sharing key
« Reply #11 on: July 02, 2023, 04:21:26 PM »
Hi

Did you use the procedure in Reply 8 above

I have forwarded the details of this thread to Airnav for their info

Alan

longbch

  • New Member
  • *
  • Posts: 4
Re: Raspberry Pi client - invalid sharing key
« Reply #12 on: July 02, 2023, 07:12:22 PM »
Thank you for the reply!

I tried your command:  sed -i '/^key=/d; /^sn=/d' /etc/rbfeeder.ini

I needed to add an sudo in front like this:  sudo sed -i '/^key=/d; /^sn=/d' /etc/rbfeeder.ini

That didn't delete the key or sn lines, so I used the nano editor to remove them and rebooted.

After the reboot, I saw that key and sn were not added until several seconds.  The rbfeeder probably didn't add them until it started.  Then, key and sn were added to the rbfeeder.ini.

The rbfeeder.log is still giving "Error authenticating Sharing-Key: Invalid sharing-key", and I'm also seeing messages like this alternating:

 "Connection established."
 "Could not start connection. Timeout."

Like this:

[2023-07-02 15:06:05]  Connection established.
[2023-07-02 15:06:15]  Could not start connection. Timeout.
[2023-07-02 15:06:23]  ******** Statistics updated every 60 seconds ********
[2023-07-02 15:06:23]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 6
[2023-07-02 15:06:23]  Data sent: 360 B
[2023-07-02 15:06:23]  Data received: 164 B
[2023-07-02 15:07:16]  Connection established.
[2023-07-02 15:07:16]  Error authenticating Sharing-Key: Invalid sharing-key
[2023-07-02 15:07:24]  ******** Statistics updated every 60 seconds ********
[2023-07-02 15:07:24]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 7
[2023-07-02 15:07:24]  Data sent: 427 B
[2023-07-02 15:07:24]  Data received: 192 B
[2023-07-02 15:07:26]  Could not start connection. Timeout.
[2023-07-02 15:08:25]  ******** Statistics updated every 60 seconds ********
[2023-07-02 15:08:25]  Packets sent in the last 60 seconds: 0, Total packets sent since startup: 7
[2023-07-02 15:08:25]  Data sent: 427 B
[2023-07-02 15:08:25]  Data received: 192 B

And I still cannot claim the ticket (key in rbfeeder.ini) on this page:  https://www.radarbox.com/sharing-data/claim

I get:  "Sharing Key not found". 

It looks like something is down on your end?
« Last Edit: July 03, 2023, 10:42:01 AM by longbch »

brandon5491

  • New Member
  • *
  • Posts: 1
Re: Raspberry Pi client - invalid sharing key
« Reply #13 on: July 03, 2023, 03:19:54 AM »
I'm having this same issue.  Tried the above steps a few times.  Several sharing keys generated but they all come back invalid.

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 33614
Re: Raspberry Pi client - invalid sharing key
« Reply #14 on: July 03, 2023, 10:44:23 AM »
All passed back to support.  Please note they dont look on here very often

Alan
« Last Edit: July 03, 2023, 10:48:50 AM by Runway 31 »