sync-over-the-wall
sync-over-the-wall copied to clipboard
按 method 1 ,并没有成功
作者可以重新理一次步骤顺序吗?
按照method1,结果是可行的,你试着再试一次,如果还没有成功的话,可以把截图贴上来,你这么问有些笼统了,另外作者写得已经很清楚了,他把所有细节再捋一遍,也不一定能解决你的问题。
Error
It seems Resilio Sync is not able to get sync.conf from fake server.
ENV
MacOS 10.13.4 Resilio Sync: 2.5.6 (1043)
(venv) ➜ sync-over-the-wall git:(master) ✗ pip freeze
PySocks==1.6.8
(venv) ➜ sync-over-the-wall git:(master) ✗
(venv) ➜ sync-over-the-wall git:(master) ✗ ls
LICENSE.md config_server.py patch_hosts.py resilio.crt sync.conf tcptee_proxy.py venv
README.md do_not_trust.crt patch_hosts.pyc resilio.key sync.method2.conf tcptee_proxy.pyc
bin doc proxy.conf setup.py sync.original.conf tracker_proxy.py
(venv) ➜ sync-over-the-wall git:(master) ✗ cat sync.conf
{
"trackers" :
[
{"addr" : "127.0.0.1:4000"},
{"addr" : "127.0.0.1:4001"}
],
"relays" :
[
{"addr" : "127.0.0.1:3000"},
{"addr" : "127.0.0.1:3001"}
],
"mobile_push_proxies" :
[
]
}
(venv) ➜ sync-over-the-wall git:(master) ✗ cat proxy.conf
{
"gfw_proxy": {
"type": "socks5",
"server": "127.0.0.1",
"port": 1080
}
}
Reproduction Steps
(venv) ➜ sync-over-the-wall git:(master) ✗ sudo python config_server.py
Password:
Please refer to README.md for detailed instructions.
Fake server started.
After Sync has requested the config file, this program should go on automatically.
If this program blocks here, please refer to README.md
*****************************
* Now, please restart Sync. *
*****************************
Now restart "Resilio Sync".
It did not see the script progressing.
Then I stopped the script. And import the do_not_trust.crt
into Keychain. Choose 'Always Trust'.
Re-run the script.
(venv) ➜ sync-over-the-wall git:(master) ✗ sudo python config_server.py
Password:
Please refer to README.md for detailed instructions.
Fake server started.
After Sync has requested the config file, this program should go on automatically.
If this program blocks here, please refer to README.md
*****************************
* Now, please restart Sync. *
*****************************
The script still did not progress.
'No tracker connection available' was shown in Resilio Sync.