Unable to install wifi-connect

I’ve used wifi-connect for a while and installed it on a number of devices. It works great!

Suddenly the installation fails, always with the same message. I’ve tried several raspberries, Tried clean installs, with or without updates applied. Tried older versions of wifi-connect.

This is the from a clean machine:

pi@raspberrypi:~/wifi-connect-4.4.4/scripts $ sudo ./raspbian-install.sh

WiFi Connect Raspbian Installer: Retrieving latest release from https://api.github.com/repos/balena-io/wifi-connect/releases/latest

WiFi Connect Raspbian Installer: Downloading and extracting …
WiFi Connect Raspbian Installer: command failed: curl -Ls

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

pi@raspberrypi:~/wifi-connect-4.4.4/scripts $

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
pi@raspberrypi:~/wifi-connect-4.4.4/scripts $

I understand this might be a timing issue, but I don’t have a clue on how to fix it. I’m happy for any input, including hints on how to install manually.

Hi, thanks for reporting this. It looks like GitHub’s API might’ve changed, and the URL the script tries to download wifi-connect from does not work anymore. I’ve pinged the wifi-connect maintainer and opened a new issue: `https://api.github.com/repos/wifi-connect/releases/latest` now redirects to a JSON and not the release itself · Issue #389 · balena-os/wifi-connect · GitHub.

1 Like

Hi, just to let you know that this problem should be fixed now.

I’ve tried it out and it works like a charm. Thanks a lot for fast and accurate resolve. Excellent!