You are not logged in.
Pages: 1
Makepkg seems to work until what seems like the very last part, when the process fails with Handshake Failure. I've tried running it as
makepkg -sic
and
makepkg -si
Really not sure what the problem is - maybe I've failed at connecting to my network? I've downloaded and trusted the certificate, as well as logged in on a login page.
The specific package in question is mullvad-vpn, if that matters.
The full error:
Error: Failed to fetch relay list
Caused by: Hyper error
Caused by: error trying to connect: received fatal alert: HandshakeFailure
Caused by: received fatal alert: HandshakeFailure
==> ERROR: A failure occurred in build().
Aborting...
Edit: This happens after
Running `target/debug/relay_list`
Last edited by RichKat (2020-09-28 14:24:35)
Offline
This isn't a makepkg failure, it's a failure of a command in the PKGBUILD, I'm guessing it's happening when it's running ./update-relays.sh?
Offline
I'm guessing it's happening when it's running ./update-relays.sh?
Almost, it happens when it runs
`target/debug/relay_list`
I'll edit the OP to reflect this
Last edited by RichKat (2020-09-28 14:24:10)
Offline
The https://aur.archlinux.org/packages/mullvad-vpn/ PKGBUILd does not contain a direct call to `target/debug/relay_list`
Package builds for me in a clean chroot.
Offline
Oh dear, what have I done? I think the original comment was right, looking at the file it seems like it breaks at ./update-relays.sh, Running `target/debug/relay_list is just what it says in the terminal, or possibly the first bit of that? Either way, that seems to be the part that breaks.
As the error is "Handshake Failure" I thought it might be a problem with my network connection. I've followed the wiki and things for setting up the right connection, my network is certificate-guarded WPA2 I think, it's quite likely I got confused at some point, but I have no idea where exactly I went wrong.
Offline
go / cargo downloads dependencies from the internet during build before ./update-relays.sh is called so there is network connectivity.
cat ./update-relays.sh
#!/usr/bin/env bash
echo "Updating relay list..."
set -e
cargo run -p mullvad-rpc --bin relay_list > dist-assets/relays.json
Offline
... so there is network connectivity.
So... what could the issue be?
Offline
Tons of stuff - https://aboutssl.org/fix-ssl-tls-handsh … led-error/
If "mullvad-rpc" has a debug falg, I'd invoke that, but because of #4 and assuming you're running an up-to-date archlinux and there's no nefarious interference: your system time…
Offline
Really sorry to necrobump this topic, but this is actually the only thread on the internet about this issue. I tried using different internet access points but none worked. What worked for me was to install the mullvad .deb with debtap. While connected to the VPN, the script managed to update the relay_list.
Offline
Pages: 1