ThauEx / ffrk-proxy

Proxy for Final Fantasy Record Keeper written in node.js
GNU Lesser General Public License v3.0
39 stars 21 forks source link

v0.11.0, v0.12.0, v0.12.0-1: Proxy failure on http://ffrk.denagames.com/dff/event/extreme/935/get_data_for_world_list #117

Open n1ckn4m3 opened 6 years ago

n1ckn4m3 commented 6 years ago

As subject line indicates, the proxy only extremely intermittently (e.g., twice out of about 35 times I've tried) successfully passed this request through the proxy.

It has worked twice that I've seen at this point (in that it gets to the main menu), but the behavior I generally get is as follows:

  1. Install Cert
  2. Configure Proxy
  3. Validate Proxy by going to https://ffrk.denagames.com and verifying the cert as the mitm cert
  4. Boot FFRK
  5. Click "Play"
  6. UI for main screen loads with "Now Loading" Tyro animation
  7. Request times out, "A connection error has occurred. Retry?"

At this point, the proxy log shows:

Proxying: POST http://ffrk.denagames.com/dff/event/extreme/935/get_data_for_world_list

Clicking on "Retry" generates that same line in the log again. Eventually, I also got the following in the proxy log:

ERR (socket request): Error: write after end < ERR (proxy socket): Error: This socket has been ended by the other party ERR (socket request): Error: write after end

Occurs on my Galaxy S7 edge on Android 7.0, and on Nox (Android VM). FFRK App version 5.5.4. I'm downloading the 5.3.0 APK to test now and see if it's just a failure with the updated version of RK.

ThauEx commented 6 years ago

This can be certificate related, because they expired (root etc.). I create new ones in my 0.12 test release. You can try taking them from there. It's in the cert folder.

n1ckn4m3 commented 6 years ago

I updated to the latest certs -- turns out it was just something funky with v5.5.4 of the APK (current as of ~2 hours ago). I downgraded to 5.3.0 and everything works much more consistently. I still get connection timeouts here and there but retrying usually fixes them.

Thanks for the prompt reply! I think it's a known issue that >5.4 doesn't function properly now, so this should probably be closed as a duplicate.

Cissamannen commented 6 years ago

Im using newest APK version and its working fine on 0.11.0 to be honest. No connection issues or anything.

champoradoman commented 6 years ago

why is it I get error when using proxy? it is working then after a minute, I get "we're not able to connect error" again and again?

ThauEx commented 6 years ago

I don't know, where these issues are coming from, but keep in mind that the game is not intended to run under such proxy 😉 .