HelloZeroNet / HelloZeroNet/ZeroTalk

data.json with size > 10MB

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
65
Forks
48
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.