getting this after having rebooted a MAAS 3.5.6 install on Ubuntu 22.04 and attempting to display the ‘Machines’ screen …
http://maas356-host:5240/MAAS/r/machines
instead of displaying/resolving class=“machine-list–display-count” it does show this error
“Not supported URL scheme http+unix”
any ideas on how to fix this ?
looks like this may related to package ‘python3-requests-unixsocket’ used here
/usr/lib/python3/dist-packages/maasapiserver/client.py:21: self.socket_path = f"http+unix://{quote_plus(path)}"
currently using
dpkg -l | grep python3-requests-unixsocket
ii python3-requests-unixsocket 0.2.0-2 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x
cat /etc/os-release | grep VERSION
VERSION_ID=“22.04”
VERSION=“22.04.5 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
I just did a quick install in a clean env and I cannot reproduce it
Maybe your python3-requests-unixsocket
installation got broken? Can you try reinstalling this package?
Indeed that is what I did last night to recover from the situation. I went on launchpad.ubuntu.com downloaded a more recent version of python3-requests-unixsocket (0.3.0-6 )and installed it manually and it worked. thank you for responding !
system
Closed
29 June 2025 15:35
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.