Airspy not configuring for SatNOGS setup

I have just reinstalled my station with an Airspy SDR but not receiving any observations.
Raspi4 checks out OK as does the Airspy with CubicSDR
Have reinstalled SoapySDR, libairspy-dev and SoapyAirspy but still no observations.
Have run the following two --probes and show the output errors below.
And below those the output from SatNOGS client log (sorry but quite lengthy).
Any comments/advice, please, as I’m becoming totally confused and getting beyond my pay grade?

$ SoapySDRUtil --probe=driver=airspy
######################################################

Soapy SDR – the SDR abstraction library

######################################################
Probe device driver=airspy
Error probing device: SoapySDR::Device::make() no match

$ SoapySDRUtil --probe
######################################################

Soapy SDR – the SDR abstraction library

######################################################
Probe device
Error probing device: SoapySDR::Device::make() no match

● satnogs-client.service - SatNOGS client
Loaded: loaded (/etc/systemd/system/satnogs-client.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-05-23 12:27:51 UTC; 4h 58min ago
Main PID: 360 (satnogs-client)
Tasks: 22 (limit: 4915)
CGroup: /system.slice/satnogs-client.service
└─360 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client

May 23 12:27:57 satnogs satnogs-client[360]: raise ConnectionError(e, request=request)
May 23 12:27:57 satnogs satnogs-client[360]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘network.satnogs.org’, port=443): Max retries exceeded with url: /api/jobs/?ground_station=2463&lat=53.0668&lon=-2.743&alt=140 (Caused by NewConnec
May 23 12:27:57 satnogs satnogs-client[360]: apscheduler.executors.default - ERROR - Job “get_jobs (trigger: interval[0:01:00], next run at: 2022-05-23 12:28:57 UTC)” raised an exception
May 23 12:27:57 satnogs satnogs-client[360]: Traceback (most recent call last):
May 23 12:27:57 satnogs satnogs-client[360]: File “/var/lib/satnogs/lib/python3.7/site-packages/apscheduler/executors/base.py”, line 125, in run_job
May 23 12:27:57 satnogs satnogs-client[360]: retval = job.func(*job.args, **job.kwargs)
May 23 12:27:57 satnogs satnogs-client[360]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/scheduler/tasks.py”, line 177, in get_jobs
May 23 12:27:57 satnogs satnogs-client[360]: response.raise_for_status()
May 23 12:27:57 satnogs satnogs-client[360]: UnboundLocalError: local variable ‘response’ referenced before assignment
May 23 16:14:57 satnogs satnogs-client[360]: apscheduler.executors.default - WARNING - Run time of job “post_data (trigger: interval[0:03:00], next run at: 2022-05-23 12:30:57 UTC)” was missed by 0:02:00.095002
~
Many thanks.

How long have you had it running? I can’t but help notice the network ConnectionError log entry again. Perhaps a transient network issue ? It seems this is happening not infrequently.

Yes @jebba I did notice that, but all network connections appear correct and functioning individually.
I’ve just run the following:

SoapySDRUtil --probe
######################################################

Soapy SDR – the SDR abstraction library

######################################################
Probe device
Error probing device: SoapySDR::Device::make() no match

The clue to the faults are highlighted here. I think its time to reinstall SatNOGS client and do a fresh setup.
--------SoapySDRUtil --info
######################################################

Soapy SDR – the SDR abstraction library

######################################################

Lib Version: v0.8.1-g9cbaa3cf
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.8 (missing)
No modules found!
Available factories… No factories found!
Available converters…

  • CF32 → [CF32, CS16, CS8, CU16, CU8]
  • CS16 → [CF32, CS16, CS8, CU16, CU8]
  • CS32 → [CS32]
  • CS8 → [CF32, CS16, CS8, CU16, CU8]
  • CU16 → [CF32, CS16, CS8]
  • CU8 → [CF32, CS16, CS8]
  • F32 → [F32, S16, S8, U16, U8]
  • S16 → [F32, S16, S8, U16, U8]
  • S32 → [S32]
  • S8 → [F32, S16, S8, U16, U8]
  • U16 → [F32, S16, S8]
  • U8 → [F32, S16, S8]

Cheers

Looking at the output, this gives me the impression that package installs and source build are mixed up. I wouldn’t expect /usr/local being used.

Maybe you can explain how this was all installed and configured.

Thanks Jan.
The beginning of this post tells what I did and why I did it.
I have just re-installed SatNOGS client software but still get the same output when running: systemctl status satnogs-client - viz:
$ systemctl status satnogs-client
● satnogs-client.service - SatNOGS client
Loaded: loaded (/etc/systemd/system/satnogs-client.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-05-24 16:09:57 UTC; 14min ago
Main PID: 423 (satnogs-client)
Tasks: 21 (limit: 4915)
CGroup: /system.slice/satnogs-client.service
└─423 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client

May 24 16:10:02 satnogs satnogs-client[423]: File "/var/lib/satnogs/lib/python3.7/site-packages/requests/adapters.py
May 24 16:10:02 satnogs satnogs-client[423]: raise ConnectionError(e, request=request)
May 24 16:10:02 satnogs satnogs-client[423]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='network.sa
May 24 16:10:02 satnogs satnogs-client[423]: apscheduler.executors.default - ERROR - Job "get_jobs (trigger: interval[
May 24 16:10:02 satnogs satnogs-client[423]: Traceback (most recent call last):
May 24 16:10:02 satnogs satnogs-client[423]: File "/var/lib/satnogs/lib/python3.7/site-packages/apscheduler/executor
May 24 16:10:02 satnogs satnogs-client[423]: retval = job.func(*job.args, **job.kwargs)
May 24 16:10:02 satnogs satnogs-client[423]: File "/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/schedu
May 24 16:10:02 satnogs satnogs-client[423]: response.raise_for_status()
May 24 16:10:02 satnogs satnogs-client[423]: UnboundLocalError: local variable ‘response’ referenced before assignment
lines 1-18/18 (END)
I shall be grateful for further advice please?
Cheers.

I am running (I think!) a standard SatNOGS install on a raspberry Pi running Debian Buster. My version of Soapy is 0.7. It appears you are running 0.8. Perhaps this is the issue (?).

1 Like

Sorry, I overlooked that part, but that is the reason for the error.
Now Soapy 0.7 and 0.8 are mixing things up.

1 Like

My thanks to @PE0SAT and @jebba.
So I’ve now started afresh with a new installation of SatNOGS, as my previous install (although running well for over 3,000 observations) became inoperable due to my own fault with installing a later version of Soapy, plus a few errors of my own making when attempting to rectify the problem.
The new setup is working fine. Although I’m having to go through the fine tuning of gain and installing additional software.
However, if I swap to the alternative station (2463) using the same identical setup but with the revised id, it doesn’t work. And this is what started the original problem of trying to fix that. I’ve assumed that the same API key can be used for both, having seen others doing that. So I propose deleting this station and starting afresh. Unless others suggest an alternative.
Thanks again.

Glad to see you got it going.

What error?

I am trying to keep up, but I am missing context, no idea what you are trying to achieve.

You don’t need to remove a station, the API value and the station ID make it unique where the API key is related to you as a person (Observer) and ID (Station)

Below config works fine with a Airspy mini and a LNA, for non LNA and R2 it needs some tuning.

SATNOGS_API_TOKEN="secret"
SATNOGS_ARTIFACTS_ENABLED="True"
SATNOGS_ARTIFACTS_API_TOKEN="secret"
SATNOGS_STATION_ID="yours"
SATNOGS_STATION_LAT="yours"
SATNOGS_STATION_LON="yours"
SATNOGS_STATION_ELEV="yours"
SATNOGS_SOAPY_RX_DEVICE="driver=airspy,serial=04a464c83670830b,biastee=true"
SATNOGS_RX_SAMP_RATE="3e6"
SATNOGS_ANTENNA="RX"
SATNOGS_GAIN_MODE="Settings Field"
SATNOGS_OTHER_SETTINGS="VGA=11,MIX=7,LNA=10"
``
1 Like