Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
[HELP]How to apply a self vpn by Surge
-
Because some reasons,I must use a VPN connection(eg.Surge ...) to access google :(sad
When I use 'requests' module to get data from google in Pythonista(iOS) , I'll get a error([Errno 54] reset by client) whether use VPN or not.but I can visit google by VPN inSafari.
but when I apply a http/https proxy whitch is one of my lan device to 'requests' module,the module works fine.
Is there any way to use the phone self VPN to my script?
PS:My script
resp=requests.request(
url='https://www.google.com',
method='GET',
proxies={'https':'192.168.1.1:8080'}
)200 OK
No self proxy
All ConnectionThanks
-
U r using Surge, so I think you are from China. surge规则没陪好呀,本地使用根本不需要proxy,直接运行无proxy的,surge会自动判定走ss的呀……
-
@suduo_1987 with objc, you might be able to use NEVPNManager
However, I think the app needs an entitlement which it probably doesn't have
-
Have your problem been resolved? If not yet then yes you need a VPN, go for a fast and reliable service and this would help you access Google and everything else. Not only on Safari but also on other browsers.