Closed vitorio closed 6 years ago
Thanks for reporting, it's fixed in Rev3502: https://github.com/HelloZeroNet/ZeroNet/commit/ec05e6864ab918794df12ea140f1da7c48e1d1fe (file_server.start was changed from async to be sync command some weeks ago)
Seems to work now, thanks!
Step 1: Please describe your environment
Step 2: Describe the problem:
I'm trying to set up a permanent peer for my site, but the siteDownload CLI option does not appear to work, and a siteAdd command as suggested in IRC does not appear to exist.
Steps to reproduce:
Observed Results:
It just sits there at this point, until I eventually hit Ctrl-C.
Expected Results:
I expected it to start up properly and host my site.
When running
python ./zeronet.py
with no parameters, the startup looks like this:(As this is a remote server, I'm not interested in exposing the web interface just to host a site.)
The difference appears to be in part that in
src/main.py
, the "siteDownload" command hardcodes a local address and privileged port, and the "main" command does not:main():
file_server = FileServer()
siteDownload():
file_server = FileServer("127.0.0.1", 1234)
Removing the parameters from siteDownload makes the output look like this:
But it still never displays "Announcing", "Downloading" or "Downloaded" until I hit Ctrl-C:
So there's additional issues somewhere else.