[Solved] Problem with software update

I am trying to get my system online. I decided to upgrade my installation which satnogs-setup hosed. I downloaded new software and now have a new error.

Thanks,

Martin W6MRR

pi@raspberrypi:~ $ 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 Sun 2020-03-29 00:20:04 GMT; 30min ago
Main PID: 281 (satnogs-client)
Tasks: 22 (limit: 2200)
Memory: 68.7M
CGroup: /system.slice/satnogs-client.service
└─281 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client

Mar 29 00:41:11 raspberrypi satnogs-client[281]: satnogsclient.scheduler.tasks - ERROR - 401 Client Error: Unauthorized for url: https://network.satnogs.org/api/jobs/?ground_station=1373&lat=37.88&lon=-122.263&alt=100
Mar 29 00:42:11 raspberrypi satnogs-client[281]: satnogsclient.scheduler.tasks - ERROR - 401 Client Error: Unauthorized for url: https://network.satnogs.org/api/jobs/?ground_station=1373&lat=37.88&lon=-122.263&alt=100
Mar 29 00:43:11 raspberrypi satnogs-client[281]: satnogsclient.scheduler.tasks - ERROR - 401 Client

While I’d be surprised if it matters for getting jobs, it might be a typo in your API key?

73
Mark VK5QI

1 Like

That was it - doh!

Thanks - Martin W6MRR

2 Likes

Hi Mark…
i have same problem, my API Key is double verified, my station ID also double verified.
Here the message error 401

● satnogs-client.service - SatNOGS client
Loaded: loaded (/etc/systemd/system/satnogs-client.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-04-10 22:05:43 BST; 11min ago
Main PID: 269 (satnogs-client)
Tasks: 18 (limit: 2200)
Memory: 66.6M
CGroup: /system.slice/satnogs-client.service
└─269 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client

Apr 10 22:07:53 raspberrypi satnogs-client[269]: satnogsclient.scheduler.tasks - ERROR - 401 Client Error: Unauthorized for url: https://network-dev.satnogs.org/api/jobs/?ground_station=1461&lat=45.651&lon=-73.564&alt=50
Apr 10 22:08:53 raspberrypi satnogs-client[269]: satnogsclient.scheduler.tasks - ERROR - 401 Client Error: Unauthorized for url: https://network-dev.satnogs.org/api/jobs/?ground_station=1461&lat=45.651&lon=-73.564&alt=50

Any idea…? Many thanks… Real VE2DSK

Hi @ve2dsk, it seems you are using the dev instance of network. Run sudo satnogs-setup and go to Advanced --> Network and select SATNOGS_NETWORK_API_URL, remove the URL, leave the field blank so it gets its default value, and select Save. You should see now the default value which is https://network.satnogs.org/api/. Go Back twice and select Apply and then when it finishes select Exit. This should fix your issue.

By the way any chance you remember why you used the dev instance URL? Did you find it somewhere? I’m asking to make sure that there isn’t any confusing step in our wiki.

Hi fredy…
many thanks for help…
Remove the URL line in Advanced setup…
Same issue.

Message in error 401
Before…: https://network-dev.satnogs.org/api/jobs/?ground_station
After…: https://network.satnogs.org/api/jobs/?ground_station

I forgot to mention I’m using RPi2-B…(?) I don’t think if may cause the problem.
Real VE2DSK

Please copy paste the result in sudo satnogs-setup of the option Advanced --> Support, maybe we can find out what’s going wrong. Also just to make sure, you use the API Key that you find in https://network.satnogs.org/users/ve2dsk/ without any spaces right?

This can affect only the functionality of the SDR, maybe by reducing sample rate could work fine with RPi2 B. In anyway it shouldn’t affect your connectivity with the network.

Hi fredy…
here the report… Real

Generating support report. Please wait…
------------[ copy here ]------------
{
“versions”: {
“satnogs-client”: “1.3.1”,
“satnogs-client-ansible”: “202004031132”,
“satnogs-flowgraphs”: “1.1.1-1”,
“gr-satnogs”: “2.1.2-1”,
“gr-soapy”: “2.1.2-1”,
“gnuradio”: “3.8.0.0-6”,
“satnogs-config”: “0.10.1+1.g3495702”
},
“state”: {
“is-applied”: true,
“pending-tags”: null
},
“system”: {
“date”: “2020-04-11T12:53:56.265946+00:00”,
“distribution”: {
“DESCRIPTION”: “Raspbian GNU/Linux 10 (buster)”,
“RELEASE”: “10”,
“CODENAME”: “buster”,
“ID”: “Raspbian”
},
“pending-updates”: true,
“platform”: {
“system”: “Linux”,
“node”: “raspberrypi”,
“release”: “4.19.97-v7+”,
“version”: “#1294 SMP Thu Jan 30 13:15:58 GMT 2020”,
“machine”: “armv7l”,
“processor”: “”
},
“memory”: {
“total”: 971059200,
“available”: 810430464,
“percent”: 16.5,
“used”: 99536896,
“free”: 607657984,
“active”: 121933824,
“inactive”: 185884672,
“buffers”: 17342464,
“cached”: 246521856,
“shared”: 6516736,
“slab”: 37552128
},
“disk”: {
“total”: 7489372160,
“used”: 3221581824,
“free”: 3915980800,
“percent”: 45.1
}
},
“configuration”: {
“experimental”: true,
“satnogs_antenna”: “RX”,
“satnogs_api_token”: “[redacted]”,
“satnogs_rx_samp_rate”: “2.048e6”,
“satnogs_soapy_rx_device”: “driver=rtlsdr”,
“satnogs_station_elev”: “50”,
“satnogs_station_id”: “1461”,
“satnogs_station_lat”: “45.651”,
“satnogs_station_lon”: “-73.564”
}
}
------------[ copy end ]-------------

I don’t see something wrong, there are some pending updates (needs update and then hit apply) but I don’t thing they affect the problem. Are you sure after the change of the link is the same error (401 unauthorized) that you get in the logs?

By the way you haven’t define any antenna for your station.

Turn off the “experimental” setting. I suspect this update stream is very broken at themoment.

That GnuRadio version is wrong too (should be 3.8.1). After disabling experimental, try running Update and Apply again, and hopefully it changes…

1 Like

Good point! I didn’t see that :slight_smile:

Hi Mark…
did you mean “Testing” check in option…?

Hi Mark…
Sorry… maybe turn experimental “true” to “false”
Real VE2DSK

1 Like

Hi the group…
Found my problem…
API key revised three time with glasses this time…! hihi
ad1b4712c....
ab1b4712c....
Keep testing…
Many thanks for support, Real VE2DSK

1 Like