Skip to content

data.json with size > 10MB  #92

Description

@madyel
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": {
   "bad@zeroid.bit": false,
   "nofish@zeroid.bit": {"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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions