Still problems this morning. Are there still continuing difficulties with SatNOGS network?
Log output earlier, having checked out satnogs-setup being correct and local network fine:
\$ sudo journalctl -f -u satnogs-client.service
– Journal begins at Sat 2022-10-01 14:58:28 BST. –
Oct 07 09:50:11 SatNAGS satnogs-client[500]: return request(“get”, url, params=params, **kwargs)
Oct 07 09:50:11 SatNAGS satnogs-client[500]: File “/var/lib/satnogs/lib/python3.9/site-packages/requests/api.py”, line 59, in request
Oct 07 09:50:11 SatNAGS satnogs-client[500]: return session.request(method=method, url=url, **kwargs)
Oct 07 09:50:11 SatNAGS satnogs-client[500]: File “/var/lib/satnogs/lib/python3.9/site-packages/requests/sessions.py”, line 587, in request
Oct 07 09:50:11 SatNAGS satnogs-client[500]: resp = self.send(prep, **send_kwargs)
Oct 07 09:50:11 SatNAGS satnogs-client[500]: File “/var/lib/satnogs/lib/python3.9/site-packages/requests/sessions.py”, line 701, in send
Oct 07 09:50:11 SatNAGS satnogs-client[500]: r = adapter.send(request, **kwargs)
Oct 07 09:50:11 SatNAGS satnogs-client[500]: File “/var/lib/satnogs/lib/python3.9/site-packages/requests/adapters.py”, line 565, in send
Oct 07 09:50:11 SatNAGS satnogs-client[500]: raise ConnectionError(e, request=request)
Oct 07 09:50:11 SatNAGS satnogs-client[500]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘network.satnogs.org’, port=443): Max retries exceeded with url: /api/jobs/?ground_station=2122&lat=53.0666&lon=-2.7429&alt=150 (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f5b3abea130>: Failed to establish a new connection: [Errno -2] Name or service not known’))\
Any further thoughts, please?
Indeed there were some issues with the Network this morning, they have been resolved and it should work fine now.
1 Like
Maybe a DNS config issue on your machine? Trying pinging it
ping network.satnogs.org
Does it resolve the hostname and successfully return ping requests?
It can be DNS but currently that isn’t the case, the UnboundLocalError is misleading.
My system logs are currently full with:
satnogs-client[782]: UnboundLocalError: local variable 'response' referenced before assignment
Have a look at https://status.libre.space/ to see if there possible network issues
1 Like
I had to do this stuff to do the manual satnogs client install on my Pi4 with debian bullseye.
1. Setup the Pi4 local and whatnot
sudo raspi-config
2. Install Ansible
sudo nano /etc/apt/sources.list #add this line deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
sudo apt update
sudo apt install ansible
sudo apt --fix-broken install
3. Install SatNOGS client
git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-client-ansible.git
cd satnogs-client-ansible
git checkout stable
cp -r production.dist production
nano production/inventory/hosts # 127.0.0.1, user and SSH password
ssh pi@127.0.0.1 true
ansible-playbook -i production/inventory/hosts -K site.yml
ssh -t pi@127.0.0.1 sudo satnogs-setup
GOOD LUCK EVERYONE
1 Like