pogom
pogom copied to clipboard
Send data through a proxy
Checklist
- [x] I have read the FAQ
- [x] I have checked if this issue already exists (both open and closed issues)
- [x] I am using the most recent version of pogom from the master branch
- [x] If this is an installation issue, I am posting my OS, OS version, python version, pip version
- [x] I'm posting the complete log
- [x] I'm using a descriptive title for this issue
My Issue
Is it possible to send data through a proxy so you can "lift" the softban? ...
You mean like with a VPN?
My vps has a static ip instead of a dynamic one. As for now i think my vps is permanent banned although i still can log in. With a proxy my external ip would change to x.x.x.x where x can ben anywhere between 0 and 255. Therefore "lifting" my soft/permaban
one proxy for all accounts doesn't help too long (already tested) - proxy support for each account/worker could massively help though.
PGOapi allow using proxy: https://github.com/keyphact/pgoapi/pull/66 can you add this?
You may be able to set the environmental variable in Linux/Mac OS X, and the python library may use that?
@alexanderhektor at this point any proxy support would be appreciated. It seems the server and libraries don't properly work with http_proxy and https_proxy variables.
IS it possible to host this map with vpn on? without ngrok? ports are open on router and vpn but no one can connect to the site :/ only local
I believe it may work with a proxy using environmental variables. I was able to pass them to my docker container. Just need to get a working proxy.
Edit: doesn't seem to work. This error appears:
Error in worker thread. Returning empty response. Error: local variable 'r' referenced before assignment
@padinko pgoapi added support for both proxy config and the standard HTTP_PROXY environment variables. The version of pgoapi of this project will need to update updated.
@xzyfer I agree. What would make it easier if it was pulled in as a dependency, and not having its own local container.
@compuguy that's super weird. I expect it's because the author was afraid the repo was get C&D'd and disappear. In which case they could keep a private fork up to date as a fallback.
So has any progress been done on allowing the use of proxies with pogom?