Wifi-Connect fails to install

Wifi connect fails to install. This is the error I get

* # Start app
* CMD ["bash", "/usr/src/node/start.sh"]

* [backend]   Step 4/9 : RUN curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s     | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz'     | xargs -n1 curl -Ls     | tar -xvz -C /usr/src/node/
* [backend]    ---> Running in 8756a5418a01
* [backend]   curl: no URL specified!
* [backend]   curl: try 'curl --help' or 'curl --manual' for more information
* [backend]
* [backend]
* [backend]   gzip: stdin: unexpected end of file
* [backend]
* [backend]   tar: Child returned status 1
* [backend]   tar: Error is not recoverable: exiting now
* [backend]
* [backend]   Removing intermediate container 8756a5418a01
* [backend]   The command '/bin/sh -c curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s     | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz'     | xargs -n1 curl -Ls     | tar -xvz -C /usr/src/node/' returned a non-zero code: 2
* [Info]      Uploading images
* [Success]   Successfully uploaded images
* [Error]     Some services failed to build:
* [Error]       Service: backend
* [Error]         Error: The command '/bin/sh -c curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s     | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz'     | xargs -n1 curl -Ls     | tar -xvz -C /usr/src/node/' returned a non-zero code: 2
* [Info]      Built on arm01
* [Error]     Not deploying release.

* remote: error: hook declined to update refs/heads/master
* To git.balena-cloud.com:kevin3/production-2-5.git

Dockerfile

From balenalib/raspberrypi3-node:10.15-stretch-build-20190419

RUN apt-get update \
    && apt-get install -y dnsmasq wireless-tools \
    && apt-get install -y cron \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Move to app dir
WORKDIR /usr/src/node

RUN curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s \
    | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz' \
    | xargs -n1 curl -Ls \
    | tar -xvz -C /usr/src/node/


# Move package.json to filesystem
COPY package.json /usr/src/node/

# Install npm modules and build the application
RUN npm install

COPY . /usr/src/node
RUN npm run build


# Start app
CMD ["bash", "/usr/src/node/start.sh"]

Hi there! This case, looks relevant to sporadic dns resolution issues due to an AWS route53 incident. more info. To add some context, the build job is issuing a requests to github, for downloading the wifi-connect tar. Github is using route53:

$ dig NS api.github.com @1.1.1.1

; <<>> DiG redacted <<>> NS api.github.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57365
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;api.github.com.            IN    NS

;; AUTHORITY SECTION:
github.com.        900    IN    SOA    ns-1707.awsdns-21.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400

The issue is currently marked as resolved on the health dashboard of aws: https://status.aws.amazon.com/, so a retry should work for you.
Please let us know if you have further questions, or need help.

Best regards
Michael Angelos Simos