Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to get reward from events #172

Open
MaryLightning opened this issue Jan 1, 2017 · 7 comments
Open

Problem to get reward from events #172

MaryLightning opened this issue Jan 1, 2017 · 7 comments

Comments

@MaryLightning
Copy link

MaryLightning commented Jan 1, 2017

Hello,

i use swproxy some weeks. I have problems to get reward from event if i must it collect. I press on button to collect it, and i get an error after one minutes.

Errormessage on ingame eventpage: "A temporary error has occurred. Please try again later.(*error)"

If i go in the game without swproxy, then i get the reward after a second.

A other problem with events: I can not enter if event have not rewards to collect it.

I have a workaround for both of problems. This Server "m-mercury.qpyou.cn" enter in the field "Bypass proxy for".

Thank you

@ghost
Copy link

ghost commented Jan 4, 2017

Thats relativ common. SWProxy it self is a full Proxy. So after u set him all traffic run to the proxy. So u will got even more errors (download items on itunes and so on and some other HTTPS stuff). If u want stay connect to the proxy all the time without problems i would preffer an pac-file like this:

function FindProxyForURL(url, host) {
    if (shExpMatch(host, "summonerswar*qpyou.cn"))
        return "PROXY 192.168.1.18:8080;DIRECT";

    return "DIRECT";
}

So only the SW-Server-Calls will run to the proxy and the rest is running direct to the internet.

@kakaroto
Copy link
Owner

kakaroto commented Jan 4, 2017

@Viper2k4 well, technically the proxy shouldn't prevent those other sites from working, it's a proxy, it's meant to proxy stuff out and it should just work.
@MaryLightning Clearly there's a bug preventing the proxy from working properly, but it's not meant to be used in that way. SWProxy is meant to be used only for a short amount of time, such as :

  • Open SWProxy
  • set your proxy on device
  • Open Summoners War
  • Monsters & runes export
  • Unset the proxy from your device
  • Then continue playing....

It was never really meant to be kept open while people are playing. While I know there are plugins that require SWProxy to keep running, those plugins are not officially supported.
I'm keeping this issue open though in case someone volunteers to fix it.

@ghost
Copy link

ghost commented Jan 5, 2017

@kakaroto yes it should be. But hands down the proxy.py is not the best proxy out there (but for this purpose truly a good one). And i can 100% proof that many https parts (itunes, some internet-radios and so on) not working as intended.

But maybe we could give this PR a try:
abhinavsingh/proxy.py#15

I use this projekt + SwarfarmLogger.py (from the other projekt). And run the proxy 24/7 and is running just perfect (combined with the pac above).

@kakaroto
Copy link
Owner

kakaroto commented Jan 5, 2017

yeah, I know, proxy.py isn't great but I googled "proxy python" and probably clicked on the first link, or at least, the first one I found which allowed us to intercept the proxy data with an API. I know there are many other proxy implementation, and probably some much better/stabler ones out there (I believe there's one in twister?) but I just lack the motivation to continue working on this project and to rewrite it.

@ghost
Copy link

ghost commented Jan 6, 2017

Yes i feel the same. But i'm atm. on an other time consuming projekt. And the actual version runs just fine with the pac-file. So i'm also lack a bit motivation to switch the proxy, "just for fun" :/

But yes the twisted proxy (in twisted.web) seems nice. I test it on some basic web-calls and it works just well.

@JasonGoemaat
Copy link

JasonGoemaat commented Apr 9, 2017

@Viper2k4 you've earned my undying gratitude. For anyone else that wants to do this just create a file with a javascript function like Viper2k4 suggested and make it available to your phone's browser somehow. I just put it in my iis root folder on my home computer I'm using for a proxy. In my iphone then I just went to auto proxy configuration and gave a url to access that file and voila!

@kakaroto
Copy link
Owner

kakaroto commented Apr 9, 2017

Hummm... maybe SWProxy could auto generate that file and use a small python web server to provide it. Then the UI could just give the users the URL to enter for the auto settings file instead of the ip+port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants