pogom icon indicating copy to clipboard operation
pogom copied to clipboard

Send data through a proxy

Open Baklap4 opened this issue 8 years ago • 12 comments

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? ...

Baklap4 avatar Aug 10 '16 13:08 Baklap4

You mean like with a VPN?

EiTeR94 avatar Aug 10 '16 14:08 EiTeR94

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

Baklap4 avatar Aug 10 '16 14:08 Baklap4

one proxy for all accounts doesn't help too long (already tested) - proxy support for each account/worker could massively help though.

alexanderhektor avatar Aug 10 '16 15:08 alexanderhektor

PGOapi allow using proxy: https://github.com/keyphact/pgoapi/pull/66 can you add this?

padinko avatar Aug 12 '16 22:08 padinko

You may be able to set the environmental variable in Linux/Mac OS X, and the python library may use that?

compuguy avatar Aug 13 '16 23:08 compuguy

@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.

compuguy avatar Aug 15 '16 15:08 compuguy

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

labaland avatar Aug 15 '16 17:08 labaland

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

compuguy avatar Aug 15 '16 18:08 compuguy

@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 avatar Aug 16 '16 07:08 xzyfer

@xzyfer I agree. What would make it easier if it was pulled in as a dependency, and not having its own local container.

compuguy avatar Aug 16 '16 18:08 compuguy

@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.

xzyfer avatar Aug 17 '16 00:08 xzyfer

So has any progress been done on allowing the use of proxies with pogom?

compuguy avatar Sep 03 '16 19:09 compuguy