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

iOS 12 or iPhone X issue? #138

Closed ta2412 closed 6 years ago

ta2412 commented 6 years ago

Hi @ThauEx, thank you so much for this tool and it works well for FFRK global. How about the Japan version though? Is there a configuration that we need to do for that?

Thanks in advance!

Correction : -This issue was surfaced on an iPhone X, iOS 12.0. -The proxy server is tested to work for FFRK Global on iPhone 6S, iOS 9.3.3

ThauEx commented 6 years ago

Is the jp version not working? It should work for global and jp servers.

ta2412 commented 6 years ago

I am going to test JP version on my iPhone 6S, iOS 9.3.3 now.

Another test done on iPhone XS Max : Proxy for FFRK Global does not work. The error displayed was "We're not able to connect Please check your network settings and try again"

ThauEx commented 6 years ago

Global does not work? How did you configure the proxy? Which version of the proxy are you using?

ta2412 commented 6 years ago

Global does not work on both iPhone X and iPhone XS Max. Both are running iOS 12.

I downloaded ffrk-proxy-0.12.0-win32-x64, run start.bat

Configuration steps that I observed for both iPhone X and iPhone 6S :

  1. Go to wifi proxy settings - auto - http://(ip address):5051/proxy.pac
  2. Using safari, enter (ip address):5051 to download cert, then install the cert.
  3. Enter FFRK
ThauEx commented 6 years ago

Can you open https://ffrk.denagames.com/ on your phone? I can try to test it with iOS 12 in the next days...

ta2412 commented 6 years ago

Yes. For both iPhone X iOS 12.0 and iPhone 6S iOS 9.3.3 it displays "Not Found"

ThauEx commented 6 years ago

Which means, the proxy is basicly working... Did you see any message in the log? I mean regarding the access of the link above?

ta2412 commented 6 years ago

When i try to access https://ffrk.denagames.com/ on my iPhone X, this is what i am seeing in the logs :

Proxying: GET http://ffrk.denagames.com/

ThauEx commented 6 years ago

are you sure, you are using https? THe logs sais http

ta2412 commented 6 years ago

Oh sorry! my bad. this is what i am getting :

Proxying: GET https://ffrk.denagames.com/

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

ThauEx commented 6 years ago

What does the phones browser say?

ta2412 commented 6 years ago

Phone browser says :

GitHawk Upload by ta2412

Sent with GitHawk

ThauEx commented 6 years ago

Thanks, looks like there is something wrong, otherwise there wouldn't be the exclamation mark. Is it possible to get the error out of safari?

ta2412 commented 6 years ago

Here’s the screenshot :

GitHawk Upload by ta2412

Sent with GitHawk

ThauEx commented 6 years ago

Can you see the certificate and check, if it is accepted? Maybe you have to grant the root ca everything to get fully accepted.

ta2412 commented 6 years ago

This is what I am seeing with the certificate.

May I know how to grant the root ca everything?

GitHawk Upload by ta2412

Sent with GitHawk

ThauEx commented 6 years ago

Does this help? https://support.apple.com/en-us/HT204477

ta2412 commented 6 years ago

This worked! Thank you so much! 👍

ThauEx commented 6 years ago

Great, will add this to the readme. Thanks