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

data.json with size > 10MB #92

Open
madyel opened this issue Nov 8, 2019 · 0 comments
Open

data.json with size > 10MB #92

madyel opened this issue Nov 8, 2019 · 0 comments

Comments

@madyel
Copy link

madyel commented Nov 8, 2019

ZeroNet version: 0.7.1 (rev4253)
Operating system: Linux
Web browser: Firefox
Tor status: available
Opened port: yes 

I create a new site from ZeroTalk, all is well, it loads nearly instantly.

I'm trying to publish content.json and index.html send over fine, but publishing the data/user/xxx/data.json with size>10MB file does not work. The following appears in the log:

[FAILED] x.x.x.x:16990: {'exception': 'Timeout'}

My file content.json user:

{
 "address": "xxxx",
 "files": {},
 "ignore": ".*",
 "inner_path": "data/users/content.json",
 "modified": 1573234081,
 "signs": {"xxxx": "xyz"},
 "user_contents": {
  "cert_signers": {
   "zeroid.bit": ["xxxxxxxxxxx"]
  },
  "content_inner_path": "data/users/content.json",
  "optional": null,
  "permission_rules": {
   ".*": {
    "files_allowed": "data.json",
    "max_size": 104857600
   },
   "bitmsg/.*@zeroid.bit": {"max_size": 100000}
  },
  "permissions": {
   "[email protected]": false,
   "[email protected]": {"max_size": 100000}
  },
  "relative_path": "content.json"
 }
}

PS
If the file data.json is < 10MB works well
what could be causing that?
Any ideas?
Thanks!

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

1 participant