Skip to content

No longer logging. #234

Closed
Closed

Description

@TheCloudCrafter

Windows 10.
Running v0.0.25
API setup for 2 accounts in the same house.

All of a sudden today it stopped making JSONs and even logging combat.

Funny thing is the proxy still allows playing and general internet connectivity, but nothing is logged and no JSONs are created.

Attempted troubleshooting by clearing appdata and upgrading to v0.0.26.
Power cycled. Checked firewall and antivirus.
Tried with disabled AV and firewall.

Still got nothing.

Can anyone point me in the right direction?

Activity

  1. donQ18 commented on Aug 7, 2019

    @donQ18

    I have the exact same problem.
    Tried changing port, disabling firewall, different devices, trying older versions but I'm still not getting the JSONs. But the proxy is working as I'm able to play the game normally :/.

  2. comattose commented on Aug 7, 2019

    @comattose

    Same here. One second logging all my runes. I relogged and the exporter no longer creating the .json file.

  3. pmsharp2 commented on Aug 7, 2019

    @pmsharp2

    I noticed the same behavior starting today. Tested on both 0.0.23 and 0.0.26

  4. HunBirdie commented on Aug 7, 2019

    @HunBirdie

    Same here. Don't export the json file, nor the runs. Proxy is still working but the Exporter don't log anything.
    Tested on 0.0.26 and 0.0.24.

  5. Spkch commented on Aug 7, 2019

    @Spkch

    Having the same problem. Tried on 3 different Wifis, it just opens, starts proxy and doesn't log anything after, no Jsons created. Using v0.0.26.

  6. ErikAWSDev commented on Aug 7, 2019

    @ErikAWSDev

    Having the same issue. The proxy aspect works fine as if I stop the app the game stops working.

  7. Xzandro commented on Aug 7, 2019

    @Xzandro
    Owner

    Summoners War is using https now. No idea if this is even fixable.

  8. HunBirdie commented on Aug 7, 2019

    @HunBirdie

    :-/

  9. Zaringers commented on Aug 7, 2019

    @Zaringers

    Same problem.. So many players are using this tool, I don't think Com2us will make impossible to fix... I hope at least

  10. QuatZo commented on Aug 7, 2019

    @QuatZo
    Contributor

    Summoners War is using https now. No idea if this is even fixable.

    Maybe it'll work: https://github.com/sockjs

  11. Spkch commented on Aug 7, 2019

    @Spkch

    Summoners War is using https now. No idea if this is even fixable.

    Well this is just terrible news :(

  12. Xzandro commented on Aug 7, 2019

    @Xzandro
    Owner

    sockjs? No, thats for websockets.
    We will be investigating options, but there are no guaranteed solutions so don't keep your hopes up. There is one thing we can try and that's it. No ETA either.

  13. Aregee33 commented on Aug 7, 2019

    @Aregee33

    So this doesn't work anymore? is that whats happened?

  14. TheCloudCrafter commented on Aug 7, 2019

    @TheCloudCrafter
    Author

    Yeah. SWEX only works because it's unencrypted traffic. If they use https or ANY kind of encryption we're boned.
    This is common to stop packet injection hacks.
    But SWEX only LOOKS at the data. It doesn't manipulate it at all.

  15. claytondaley commented on Aug 7, 2019

    @claytondaley
    Contributor

    Unless SW embeds their own certificates in the app, it's at least theoretically possible to:

    • Create a "private" certificate authority (i.e. CA)
    • Add the certificate authority to your phone (trust the CA's public cert)
    • Create an SSL certificate for the SW domain using the CA
    • Configure the proxy to issue the "known" SSL certificate to the SW app on your phone, decrypt the traffic from your phone, and then re-encrypt traffic using the public SSL cert for SW

    (I'm pretty sure corporations do something similar to allow for deep traffic inspection so we might have a community member with some experience doing this).

    Unfortunately, trusting a CA cert on your phone creates a backdoor so the workflow needs to emphasize security. Specifically, you'd want/need EACH USER to control their own CA. For example, we could create a small app (maybe even IOS/Android) that:

    1. creates the CA cert
    2. trusts it on the phone and
    3. Signs the public SSL key (generated by the proxy) for (only) the SW domain
      • EDIT: my SSL workflow was rusty. The Exporter would create a private/public key and the CA would sign the public key. Just a process tweak... doesn't affect the security model.

    Each user would create their own CA and enter their own SSL certificate (for the SW domain) in the SW Exporter. Fortunately, this workflow also works for the SW Proxy website... with the added proviso that the website needs to know which user is connecting so it can present the correct SSL cert. You'd (probably) want/need separate sub-domains per-user (e.g. <user>.swproxy.com) to simplify this association.

    Because the exporter doesn't have have access to the CA cert, it can't spoof other domain names. This is +1000 for SW Proxy website since, otherwise, it could spoof any domain name (including banks, etc.). Even if Xzandro had benign intentions, it would create a tempting target for a hacker.

  16. 14 remaining items

  17. Xzandro commented on Aug 8, 2019

    @Xzandro
    Owner

    As I said above. Code 22 error on login.

  18. davidcl4196 commented on Aug 8, 2019

    @davidcl4196

    Just for clarification, does the JSON capture happen before the code 22 error?

  19. Xzandro commented on Aug 8, 2019

    @Xzandro
    Owner

    No. Thats the issue. Im not even sure if this is an Android problem, problem with the lib or other things. Would be interesting to test this with iOS. Sadly I dont own one.

  20. claytondaley commented on Aug 8, 2019

    @claytondaley
    Contributor

    I started a PR to simplify code-level discussion. But you will need to test with IOS. Unless your android is <Nougat (or rooted), it won't work. Maybe Nox would let you put the CA cert in the right place at least for testing purposes.

  21. Xzandro commented on Aug 8, 2019

    @Xzandro
    Owner

    Thats the thing. Nox runs on Android 5 so in theory it should work, which it doesn't.

  22. claytondaley commented on Aug 8, 2019

    @claytondaley
    Contributor

    Did you see my note in the PR about the listen command?

  23. Xzandro commented on Aug 8, 2019

    @Xzandro
    Owner

    Answered.

  24. athena613b commented on Aug 8, 2019

    @athena613b

    I have iOS if you need help testing.

  25. swproxy commented on Aug 9, 2019

    @swproxy

    Well I haven't seen code 22 error in my test

  26. Xzandro commented on Aug 9, 2019

    @Xzandro
    Owner

    I released a first version. You can read more about this here: https://www.reddit.com/r/summonerswar/comments/cnwaq5/swex_0027_attempt_to_restore_export_functionality/

    Lots of improvements to make still, but its something.

  27. densaface commented on Aug 9, 2019

    @densaface

    Many thanks, works on memu3.5+android 4

  28. Xzandro commented on Aug 9, 2019

    @Xzandro
    Owner

    com2us reverted the https changes. Released v0.0.28 as a rerelease of 0.0.26. So I will close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions