pia-foss / mobile-ios Goto Github PK
View Code? Open in Web Editor NEWPrivate Internet Access - PIA VPN for iOS
License: MIT License
Private Internet Access - PIA VPN for iOS
License: MIT License
After I built the app without HotspotHelper entitlement, and tried to connect to any server with either of protocol, app displays message, " The connectoin could not be established, you can try selecting a different region ... "
(Please provide detail steps).
Remove com.apple.developer.networking.hotspothelper from entitlements, and try to connect without it.
I could not arrange for that specific entitlment, requested to apple but got rejected.
Connection is not establishing.
16:43:36.679 ❤️ ERROR ConnectivityDaemon.checkConnectivityOrRetry():134 - Failed to check network connectivity (error: The operation couldn’t be completed. (PIALibrary.ClientError error 1.)
16:43:38.622 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.630 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.630 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.630 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.634 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.635 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.635 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.635 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.640 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.640 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.640 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.640 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
Failed to save configuration Private Internet Access: Error Domain=NEConfigurationErrorDomain Code=5 "configuration is stale" UserInfo={NSLocalizedDescription=configuration is stale}
Failed to save configuration: Error Domain=NEVPNErrorDomain Code=4 "configuration is stale" UserInfo={NSLocalizedDescription=configuration is stale}
16:43:38.682 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.686 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.687 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.687 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.695 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.695 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.696 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.696 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.802 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
16:43:38.830 ❤️ ERROR VPNDaemon.tryUpdateStatus():187 - The VPN did fail Error Domain=TunnelKitOpenVPNManager.OpenVPNProviderConfigurationError Code=0 "(null)"
Hi
tvOS17 will support VPN. Will PIA support tvOS as well?
Allow Hotspot Helper notice to be hidden
This happens regardless of whether "network management" is on or off.
Allow the notice to be hidden.
veer@Veers-iMac vpn-ios % pod install
Analyzing dependencies
[!] No podspec found for PIAAccountModule
in /Users/jose/Projects/PIA/account
How can fix this one?
我有基于clash和xray核心的vpn源码,可以联系,telegram:@parker_2022
pod install error :
[!] Error installing PIAKPIModule
[!] Failed to download 'PIAKPIModule': [!] /usr/bin/git clone [email protected]:pia-mobile/shared/kpi.git /var/folders/pf/jwjt8jq5349dd24d6f0mb_sc0000gp/T/d20221113-10943-6526ya --template=
Cloning into '/var/folders/pf/jwjt8jq5349dd24d6f0mb_sc0000gp/T/d20221113-10943-6526ya'...
ssh: connect to host gitlab.kape.com port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
how can I solve this ?
Clone the code and then run command pod install. See the result.
Remove passcode restrition.
Building from scratch as described in the README file.
Xcode reports errors and fails to build "PIA VPN" scheme.
Xcode should successfully build the app when build directions are followed.
Showing Recent Messages
:-1: /Users/tom/Projects/vpn-ios/Pods/Target Support Files/Pods-PIA VPN Tunnel/Pods-PIA VPN Tunnel.debug.xcconfig: unable to open file (in target "PIA VPN Tunnel" in project "PIA VPN") (in target 'PIA VPN Tunnel')
The error is complaining about a missing file: Pods-PIA VPN Tunnel.debug.xcconfig
That file is indeed missing on the filesystem.
If this is a private file with secrets, can you update the build instructions explaining what should go in that file and provide a dummy file with example values that result in a successful build?
Or is the error possibly caused by the spaces in the PATH?
( please add labels as applicable )
pod install
fails after cloning from github
pod install
pod install
fails to install PIAAccountModule
pod install
succeeds after a fresh clone from github
Error message I receive when running pod install
:
toms-MBP:t0mmar tom$ pod install
Analyzing dependencies
[!] No podspec found for `PIAAccountModule` in `/Users/jose/Projects/PIA/account`
Update paths in Podfile:
def shared_main_pods
pod 'AlamofireImage'
pod "PIAAccountModule", :path => "/Users/jose/Projects/PIA/account"
pod "PIARegions", :git => "#{$git_root}/#{$regions_repo}"
library_by_path('/Users/jose/Projects/PIA')
#library_by_git('ba3cd1f')
#library_by_version('~> 1.1.3')
end
( please add labels as applicable )
I get one error building the PIARegions pod. It claims that 'Regions' module is not defined.
I'm expecting the build to succeed.
??? (don't have any)
( please add labels as applicable )
Results in build errors, mostly about Server not having dipToken
member.
Build succeeds.
Build PIA VPN_2020-12-12T15-07-17.txt
Don't know, but I suspect something about those local Pod paths is not picked up in the git references.
( please add labels as applicable )
Hello, i keep getting this error.
[!] Error installing PIAAccountModule
[!] Failed to download 'PIAAccountModule': [!] /usr/local/bin/git clone [email protected]:pia-mobile/shared/account.git /var/folders/0d/wfnhw6qd1573tf3zy5c1tws80000gn/T/d20210722-30783-nfpspg --template=
Cloning into '/var/folders/0d/wfnhw6qd1573tf3zy5c1tws80000gn/T/d20210722-30783-nfpspg'...
ssh: connect to host gitlab.kape.com port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Hey team,
Latest version is 3.21.0, I understand this is MIT.
Will you be updating this repo? If not, I would archive it.
(Please provide detail steps).
cd repo
pod install
(What actually happens).
[!] Error installing OpenSSL-Apple
[!] /usr/bin/git clone https://github.com/keeshux/OpenSSL-Apple /var/folders/sr/_bc9hcvx6211v60tyvtjcg_80000gp/T/d20190721-57906-1m78xko --template= --single-branch --depth 1 --branch 1.0
Cloning into '/var/folders/sr/_bc9hcvx6211v60tyvtjcg_80000gp/T/d20190721-57906-1m78xko'...
warning: Could not find remote branch 1.0 to clone.
fatal: Remote branch 1.0 not found in upstream origin
pod repo update not solve the problem
(What you should see instead).
pod install success
change branch?
( please add labels as applicable )
App build from these sources fails to authenticate a valid PIA user whose credentials do work on the official PIA app from the App Store.
The call to log in fails with error "unauthorized"
Login succeeds because the credentials are good
Network calls:
POST /api/client/v2/token HTTP/1.1
Host: www.privateinternetaccess.com
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Cookie: _pia_lm=en_en; u=6lch1c4z0562usuevnnp7wz1l
Connection: keep-alive
Accept: */*
User-Agent: PIA VPN/0.1.0 (*****; build:1; iOS 12.1.0) Alamofire/4.8.0
Accept-Language: en;q=1.0
Content-Length: 37
Accept-Encoding: gzip;q=1.0, compress;q=0.5
password=******&username=******
---
HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0, private, must-revalidate
X-XSS-Protection: 1; mode=block
X-Request-Id: 56eff9c2-a218-4b1f-8b2a-67a0f1f8eec4
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.024810
X-Content-Type-Options: nosniff
ETag: W/"fdf66f0fb9f39970417c701cbbf81dbc"
Status: 200 OK
Cache-Control: max-age=3600
Expires: Sat, 09 Mar 2019 23:15:00 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Strict-Transport-Security: max-age=15768000; includeSubdomains; preload
Content-Type: application/json; charset=utf-8
Date: Sat, 09 Mar 2019 22:15:00 GMT
Content-Length: 140
Connection: keep-alive
{"token":"66cb2b*****dca4194"}
---
GET /api/client/v2/account HTTP/1.1
Host: www.privateinternetaccess.com
Accept: */*
Cookie: _pia_lm=en_en; u=6lch1c4z0562usuevnnp7wz1l
User-Agent: PIA VPN/0.1.0 (*****; build:1; iOS 12.1.0) Alamofire/4.8.0
Accept-Language: en;q=1.0
Accept-Encoding: gzip;q=1.0, compress;q=0.5
Connection: keep-alive
---
HTTP/1.1 401 Unauthorized
Server: Apache
Cache-Control: no-cache
X-XSS-Protection: 1; mode=block
WWW-Authenticate: Token realm="Application"
X-Request-Id: 5275ed0a-863a-4e3d-9700-b498046d1423
X-Runtime: 0.005148
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Status: 401 Unauthorized
Cache-Control: max-age=3600
Expires: Sat, 09 Mar 2019 23:15:00 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Strict-Transport-Security: max-age=15768000; includeSubdomains; preload
Content-Type: text/html; charset=utf-8
Date: Sat, 09 Mar 2019 22:15:00 GMT
Connection: close
HTTP Token: Access denied.
( please add labels as applicable )
When connecting to a captive portal hotspot, the Wi-Fi will try to connect for 45 seconds before showing the captive portal, regardless of settings in the app.
connection to the network takes ~45 seconds
captive portal interface should be shown
hello
Error installing PIAAccountModule
I see a new version 3.1.0 has been released on the app store but I don't see any code updates here. I would really appreciate if you could release the new code soon. Can you let me know when that might happen?
Version 3 of this app was released on the iOS App Store on May 22, but this repository hasn't been updated past version 2.8.1. Is this app no longer open source?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.