Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all.js.zip/all.js 404 (Not Found) #1322

Closed
jaros1 opened this issue Mar 10, 2018 · 5 comments
Closed

all.js.zip/all.js 404 (Not Found) #1322

jaros1 opened this issue Mar 10, 2018 · 5 comments

Comments

@jaros1
Copy link

jaros1 commented Mar 10, 2018

Step 1: Please describe your environment

  • ZeroNet version: 0.6.2 (rev 3356)
  • Operating system: Ubuntu 16.04
  • Web browser: Opera
  • Tor status: disabled
  • Opened port: yes
  • Special configuration: ____

Step 2: Describe the problem:

New ZeroNet install from ZeroBundle-linux64.tar.gz.
Visit site moneynetwork.bit
127.0.0.1/:2571 GET http://127.0.0.1:43110/moneynetwork.bit/js/all.js.zip/all.js net::ERR_ABORTED
10:48:22.240 127.0.0.1/:2571 GET http://127.0.0.1:43110/moneynetwork.bit/js/all.js.zip/all.js 404 (Not Found)

Checked. all.js.zip was downloaded correct. Could be unzipped. Changed index.html to use all.js and site was working OK

Log starting with all.js.zip/all.js (ERROR) and page reload at 10:38:36.824 with unzipped all.js (OK)
127.0.0.1-1520674918554.log

Steps to reproduce:




Observed Results:

  • What happened? This could be a screenshot, a description, log output (you can send log/debug.log file to hello@zeronet.io if necessary), etc.

Expected Results:

  • What did you expect to happen?
@HelloZeroNet
Copy link
Owner

HelloZeroNet commented Mar 10, 2018

The all.js is a special filename (it tries to compile and merge the js files in the same directory when you request it), so please try to rename it to something else and try that way

@jaros1
Copy link
Author

jaros1 commented Mar 10, 2018

It is the first time I have seen problems with all.js.zip/all.js unzip in ZeroNet. Normally working OK.
Tested first contact from a win10 VM using google chrome ZeroNet 0.6.2 rev 3327. No problem here.
Will upgrade to rev 3356 and retest
Test in win10 with rev 3356 fails with same error. So unzip is working in rev 3327 but not in rev 3356.
Is also running ZeroNet 24/7 on an arch linux install rev 3340. No unzip problem here.

@jaros1
Copy link
Author

jaros1 commented Mar 14, 2018

Tried using all.js.tar.gz/all.js instead of all.js.zip/all.js. Same error. Checked UI-server log :
[18:05:13] Ui.UiServer Error opening archive file: local variable 'header_allow_ajax' referenced before assignment
[18:05:13] Ui.UiServer 127.0.0.1 - - [2018-03-14 18:05:13] "GET /moneynetwork.bit/js/all.js.tar.gz/all.js HTTP/1.1" 404 439 0.001977

@HelloZeroNet
Copy link
Owner

Thanks for reporting, it's fixed in Rev3367, please update and try again

@jaros1
Copy link
Author

jaros1 commented Mar 15, 2018

Thank you. Tested OK in Opera with rev 3367 and tar.gz / zip archives

@jaros1 jaros1 closed this as completed Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants