Update bitmask-core to send invite token
Follow-Up of: https://0xacab.org/leap/bitmask-vpn/-/issues/920#note_1235659
The API of bitmask-core changed a bit. And there is a small quickfix in the v5 location quality map calculation.
Merge request reports
Activity
assigned to @peanut2
requested review from @jkito
changed milestone to %2025.04 LEAP VPN Release
CI is red. This is fixed here !280 (merged). Can be ignored here.
I tried to run with an introducer url + invite token and got the following error during startup:
$ API_VERSION=5 API_URL="obfsvpnintro:<url+token>" LOG_LEVEL=DEBUG ./build/qt/release/bitmask-vpn
qml: flavor: bitmask-vpn 2025-01-28T22:46:47+05:30 INF Enabling logging hint="you can change the log level with env LOG_LEVEL=INFO|DEBUG|TRACE" logFile=/home/pipenapple/.config/leap/systray.log 2025-01-28T22:46:47+05:30 INF Not autostarting OpenVPN 2025-01-28T22:46:47+05:30 DBG Enforcing API v5 by env variable 2025-01-28T22:46:47+05:30 DBG Using specific API backend version apiVersion=5 2025-01-28T22:46:47+05:30 DBG Using API URL from env apiUrl=obfsvpnintro://37.218.242.148:443?fqdn=myshi.koshki.quest&kcp=0&cert=5KzjBcTef4%2B2fPhaqjxBawKtPMmXUVK45lrZCrT1GE1O8pwVWhbnUy1bXJJWE9x6ZH0dGQ&auth=solitech_1xVHlnNOusDtE1uXA1%2BH4g 2025-01-28T22:46:47+05:30 INF Checking for updates url=https://downloads.leap.se/RiseupVPN/linux/lastver 2025-01-28T22:46:47+05:30 DBG Remote version version=0.21.10.99 2025-01-28T22:46:47+05:30 DBG Installed version version=0.24.10-3-g114f68e0 2025-01-28T22:46:47+05:30 INF Sucessfully checked if there is an update updateAvailable=false 2025-01-28T22:46:47+05:30 DBG Sucessfully wrote OpenVPN CA certificate (hardcoded in the binary, not coming from API) caCertPath=/tmp/leap-857640024/cacert.pem 2025-01-28T22:46:47+05:30 INF Stopping firewall 2025-01-28T22:46:47+05:30 DBG Executing bitmask-root cmd="/usr/sbin/bitmask-root firewall stop" 2025-01-28T22:46:48+05:30 INF Enabled UDP 2025-01-28T22:46:48+05:30 INF Fetching gateways... 2025-01-28T22:46:48+05:30 DBG Resolving host with DNS over HTTPs domain=37.218.242.148:443 2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=208.67.222.222 2025-01-28T22:46:48+05:30 DBG A polkit daemon is running 2025-01-28T22:46:48+05:30 WRN Could not get best location err="Could not get best gateway location. The list of gateways is empty" transport=openvpn 2025-01-28T22:46:48+05:30 WRN The list of gateways is empty. Using auto-selection for location 2025-01-28T22:46:48+05:30 DBG Executing bitmask-root cmd="/usr/sbin/bitmask-root firewall isup" 2025-01-28T22:46:48+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=208.67.222.222 2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=9.9.9.9 2025-01-28T22:46:48+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=9.9.9.9 2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=dns.mullvad.net 2025-01-28T22:46:48+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=dns.mullvad.net 2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=dns.njal.la 2025-01-28T22:46:48+05:30 WRN Could not get best location err="Could not get best gateway location. The list of gateways is empty" transport=openvpn 2025-01-28T22:46:48+05:30 WRN The list of gateways is empty. Using auto-selection for location 2025-01-28T22:46:49+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=dns.njal.la 2025-01-28T22:46:49+05:30 WRN Could not fetch gateways error="Get \"https://37.218.242.148:443/api/5/gateway\": Could not resolve ip with DNS over HTTPS. Tried all resolvers"
added 5 commits
-
114f68e0...be8fa973 - 2 commits from branch
main
- 8e246159 - Update introducer calls after bitmask-core update
- ae0d98fc - Update introducer code after bitmask-core update
- 8473f488 - [v5] Quickfix for devision by 0 in updateLocationQualityMap
Toggle commit list-
114f68e0...be8fa973 - 2 commits from branch
Please register or sign in to reply