Implement Proxy Support
Idk how to request that you add proxy support so uhm here?
Correct me if I'm wrong, but a proxy only handles browser traffic. You want a VPN. There are free and paid ones and the bot works fine through a VPN.
We had a PR that added proxy support to the bot so that you can use a VPN. It had a bug and was reverted.
Perhaps @alecuba16 can re-add that functionality, or someone can utilize the code he wrote the first time to implement this feature.
There are HTTP and Socks proxies. HTTP proxies tunnel HTTP/HTTPS requests only while socks can tunnel all requets. But isn't Pokemon Go just using HTTP(S) requests anyways? A VPN would be overkill. There aren't that many VPNs so ppl would end up having the same and getting banned anyways, there are far more HTTP/SOCKS proxies out there.
I think I have IP banned because I can't login with my google account:
[11:32:38] Loading cached location...
[11:32:38] Loaded location (34.009797, -118.49813, 0.0) from cache
[11:32:38] Login procedure started.Traceback (most recent call last):
File "pokecli.py", line 530, in
but with my PTC account, it's work fine...
@RedViper9 No, proxies handle all sorts of traffic, depending on their type. Most Socks proxies handle a lot more then just your browser traffic.
@Lordedi When you're IP banned, the bot it's just walking but no pokemon appear. I think your problem is somewhere else.. You maybe have an error with your config files, or installation dependency, try launching it with docker.
@ale-batt maybe but since yesterday I cannot resolve my problem :/
Are you using the dev branch ?
Yes
the last update ?
git fetch ; git pull
Yes 💃
hi how can i use vpn/proxy to connect bot ?
@Lordedi So no idea... Try a different config file :/
@ale-batt Yes, strange because ptc account works fine but not google mh Anyway thanks for your help
I am running the Bot on a Ubuntu VPS and it works perfect for an Hour or two..then it looks like i get a IP-Ban because he wont find Pokestops or Pokemon to catch.
Is there a known work-around for using a proxy with the Bot ?
Set an environment variable for http_proxy and just run normally. That shell window will be proxied to the IP till you close it.
export http_proxy=http://server-ip:port/
Will there be support for SOCKS Proxies as well ?
Similiar issues #3489 #3488 #3477 #3233
Where this variable has to be inserted?
export http_proxy=http://server-ip:port/
You dont have to "insert it", just type this command before launching the bot via your command prompt.
Le 12 août 2016 à 08:22, steffenreimann [email protected] a écrit :
Where this variable has to be inserted?
export http_proxy=http://server-ip:port/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.