ffrk-proxy icon indicating copy to clipboard operation
ffrk-proxy copied to clipboard

Cannot established a connection - Note 8

Open niwastanley opened this issue 5 years ago • 14 comments

Device: Note 8 OS: Pie, 9 | Windows 10 Modem/Router: Netgear Nighthawk XR500 Problem: Proxy stopped connecting to my phone a couple of months ago (Maybe due to OS update or something), I downloaded a new proxy.rar, extracted, added to firewall, followed the readme file. After adding the "http://XXX.XXX.XXX.XXX:5051/proxy.pac", I downloaded a .cem file and installed the certificate on the phone. I've installed the rootCA and wwe certificate on my computer (I've remembered that I did that previous versions so I did it again just in case) I did download a proxy.pac which I can't open assuming it's for iOS only.

Then I modify my phone's network to the address (192.168.1.2) Port 5050 Exclude 127.0.0.1.

I still cannot get the proxy working or even connect any sites. ! on wifi symbol. dena.ffrk.com fails to load - Page isn't working.

What can I do?

lib/filter/buddy.js -> public\lib\filter\buddy.js lib/filter/enemy.js -> public\lib\filter\enemy.js lib/filter/inject.js -> public\lib\filter\inject.js lib/filter/magicite.js -> public\lib\filter\magicite.js lib/filter/rounds.js -> public\lib\filter\rounds.js lib/filter/supporter.js -> public\lib\filter\supporter.js C:\FFRK\public\lib\filter\buddy.js C:\FFRK\public\lib\filter\enemy.js C:\FFRK\public\lib\filter\inject.js C:\FFRK\public\lib\filter\magicite.js C:\FFRK\public\lib\filter\rounds.js C:\FFRK\public\lib\filter\supporter.js 6 file(s) moved. ffrk-proxy 0.12.0 started listening on: 192.168.1.2:5050 static webserver started listening on: 192.168.1.2:5051 Enter this url as proxy configuration url http://192.168.1.2:5051/proxy.pac < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: read ECONNRESET Proxying: GET http://www.google.com/ Proxying: GET http://www.internet.apps.samsung.com/quickaccess/config/background.json?av=28&ma=samsung&ir=stable&iv=9.2.10.15.100&mo=SM-N950U&dt=phone&oc=TMB&cc=US&ct=ms-android-hms-tmobile-us&fr=popup&ui=8D7CD80E74F63253ECFEED3E2DF4DD75405F7D72947928FED9EE3DAFE49D90951554463762282 Proxying: GET http://dena.ffrk.com/ Proxying: GET http://dena.ffrk.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 < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end 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 Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559020080 Proxying: GET http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js Proxying: GET http://dena.ffrk.com/?so=1 Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559020189 Proxying: GET http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js Proxying: GET http://dena.ffrk.com/?so=1 Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559020191 ERR (socket request): Error: read ECONNRESET < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end < ERR (proxy socket): Error: read ECONNRESET ERR (socket request): Error: read ECONNRESET Proxying: GET http://dena.ffrk.com/?so=1 < ERR (proxy socket): Error: read ECONNRESET Proxying: GET http://sgzenloginpay.bbgame.global/?youkiaid=2380055785&deviceid=351824091206423&pid=604&os_type=0&sid=&sign=fdcb5ec428e0c09671462c25cdaf7ec1 ERR (socket request): Error: read ECONNRESET 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 ERR (socket request): Error: read ECONNRESET < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: read ECONNRESET < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end Proxying: GET http://sgzenbztj.bbgame.global/?device_id=351824091206423&client_time=1559020338008&game_name=New+Romance+of+the+Three+Kingdoms&step=-1&platformId=604&youkiaid=0&versionName=1.5.1&phoneName=SM-N950U&memoryTotal=5340.4MB&osVersion=9&carrierType=unknown&networkType=wifi < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end < ERR (proxy socket): Error: This socket has been ended by the other party < ERR (proxy socket): Error: This socket has been ended by the other party ERR (socket request): Error: write after end ERR (socket request): Error: write after end < ERR (proxy socket): Error: This socket has been ended by the other party Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559020948 ERR (socket request): Error: write after end < ERR (proxy socket): Error: This socket has been ended by the other party Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559021023 Proxying: GET http://dena.ffrk.com/?so=1 Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559021078 Proxying: GET http://dena.ffrk.com/?so=1 Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559021080 Proxying: GET http://dena.ffrk.com/?so=1 Proxying: GET http://return.uk.uniregistry.com/return_js.php?d=ffrk.com&s=1559021108 Proxying: GET http://dena.ffrk.com/?so=1

niwastanley avatar May 28 '19 05:05 niwastanley

No need to download the pac file, this is for your proxy settings, so get the correct settings. See here: https://github.com/ThauEx/ffrk-proxy#device-configuration

ThauEx avatar May 28 '19 06:05 ThauEx

I read the Readme so many times to see if I'm forgetting something but seems like I'm not.

  1. Start.bat
  2. Allowed through firewall
  3. I set this up correctly in my 5ghz and 2.4ghz wifi and nothing worked. Still a ! on wifi symbol.

For Android (legacy): Proxy: Manual
Server Ip: 192.168.1.19 Server Port: 5050
Exclude for: 127.0.0.1

I know this is for iPhones. "Enter this url in your automatic proxy settings http://XXX.XXX.XXX.XXX:5051/proxy.pac"

I noticed my advanced wifi settings has username and password, then I tried inputting the router's credentials and the wifi symbol showed fully connected but no connection obviously.

niwastanley avatar May 29 '19 03:05 niwastanley

Oh yea, the terminal showed small different results this time.

"lib/filter/buddy.js -> public\lib\filter\buddy.js lib/filter/enemy.js -> public\lib\filter\enemy.js lib/filter/inject.js -> public\lib\filter\inject.js lib/filter/magicite.js -> public\lib\filter\magicite.js lib/filter/rounds.js -> public\lib\filter\rounds.js lib/filter/supporter.js -> public\lib\filter\supporter.js C:\FFRK\public\lib\filter\buddy.js C:\FFRK\public\lib\filter\enemy.js C:\FFRK\public\lib\filter\inject.js C:\FFRK\public\lib\filter\magicite.js C:\FFRK\public\lib\filter\rounds.js C:\FFRK\public\lib\filter\supporter.js 6 file(s) moved. ffrk-proxy 0.12.0 started listening on: 192.168.1.19:5050 static webserver started listening on: 192.168.1.19:5051 Enter this url as proxy configuration url http://192.168.1.19:5051/proxy.pac < ERR (proxy socket): Error: write after end

ERR (socket request): Error: write after end ERR (socket request): Error: write after end < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write ECONNABORTED ERR (socket request): Error: This socket is closed Proxying: GET http://192.168.1.1/ ERR (socket request): Error: read ECONNRESET Proxying: GET http://connectivitycheck.gstatic.com/generate_204 Proxying: GET http://www.google.com/gen_204 Proxying: GET http://connectivitycheck.gstatic.com/generate_204 Proxying: GET http://play.googleapis.com/generate_204 < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end Proxying: GET http://connectivitycheck.gstatic.com/generate_204 Proxying: GET http://play.googleapis.com/generate_204 Proxying: GET http://play.googleapis.com/generate_204 Proxying: GET http://connectivitycheck.gstatic.com/generate_204 < ERR (proxy socket): Error: write after end ERR (socket request): Error: write after end ERR (socket request): Error: write after end Proxying: GET http://connectivitycheck.gstatic.com/generate_204 Proxying: GET http://play.googleapis.com/generate_204

niwastanley avatar May 29 '19 03:05 niwastanley

The proxy.pac thing is for BOTH android and ios, it just simplifies the proxy configuration and makes sure, only specific ffrk routes are going throuh the proxy.

In your phones proxy settings, just set it to Proxy Auto Config instead of None or Manual. With that setting, you can enter the proxy.pac url.

ThauEx avatar May 29 '19 06:05 ThauEx

http://192.168.1.19:5051/proxy.pac Added to the wifi pac web address. Downloaded a proxy.pac file. Now what?

My wifi symbol shows full connection, booted FFRK but the game goes black after square enix shows up. Will try reinstall the game to see if it fix

niwastanley avatar May 29 '19 07:05 niwastanley

Why are you downloading this file? This file is required by your proxy settings, your system/browser will download and execute it.

ThauEx avatar May 29 '19 07:05 ThauEx

When I added the proxy.pac url and opened up a browser, it just asked me to download proxy.pac and I did.

Terminal is stating "[static] requesting /proxy.pac" after inputting the proxy url in "Proxy Auto Config"

It seems like it didn't do anything? It's just sitting in my download folder in my phone.

I apologize that this can be annoying :(

niwastanley avatar May 30 '19 06:05 niwastanley

Can you provide a screenshot of your proxy configuration?

ThauEx avatar May 30 '19 06:05 ThauEx

Yes, one moment.

niwastanley avatar May 30 '19 06:05 niwastanley

terminal Screenshot_20190529-230546_Settings Screenshot_20190529-230551_Settings

niwastanley avatar May 30 '19 06:05 niwastanley

I assume this is correctly inputted.

niwastanley avatar Jun 02 '19 09:06 niwastanley

Yes, this looks correct. the proxy should work.

ThauEx avatar Jun 03 '19 08:06 ThauEx

I have this same situation, only it seems something must be off because while I think I've followed all the right steps, I get the same thing as OP in my terminal, but no effects in the game.

XApproaches avatar Jun 23 '19 20:06 XApproaches

Nevermind I got it, I had to use the manual Android settings

XApproaches avatar Jun 23 '19 21:06 XApproaches