Comments (7)
Please send me log/debug.log file, so maybe I can find out whats wrong. [email protected]
Thanks!
from zeronet.
These appear a lot (scrubbed IP address of peer):
[2015-01-13 01:54:02,377] DEBUG Site:1NpWNp..i5qU Need content.json first
[2015-01-13 01:54:02,582] ERROR Peer:x.x.x.x:15441 getFile {'inner_path': 'content.json', 'site': '1NpWNp4qo5DGVeC59GNW2bBKxHu2jyi5qU', 'location': 0} error: File read error: [Errno 2] No such file or directory: 'data/1NpWNp4qo5DGVeC59GNW2bBKxHu2jyi5qU/content.json'
[2015-01-13 01:54:02,582] ERROR WorkerManager:1NpWNp..i5qU x.x.x.x:15441: Hash failed: content.json
[2015-01-13 01:54:02,671] ERROR Site:1NpWNp..i5qU WebSocket error: string indices must be integers
[2015-01-13 01:54:02,671] DEBUG lib.geventwebsocket.handler Closed WebSocket
[2015-01-13 01:54:02,671] DEBUG lib.geventwebsocket.handler Failed to write closing frame -> closing socket
[2015-01-13 01:54:02,671] DEBUG lib.geventwebsocket.handler Closed WebSocket
from zeronet.
same here
from zeronet.
Just added more detailed error logging, please try with it if problem still exits
from zeronet.
I've had these issues when the server is running before some new files are published.
Do the errors change after restarting the server?
from zeronet.
I just cloned the repo and started using this and I've been receiving the same error. I'll be looking into it, so please let me know if there's any new information on it.
from zeronet.
WebSocket error: KeyError: 'cmd' in UiWebsocket.py line 34 > UiWebsocket.py line 80
https://github.com/HelloZeroNet/ZeroNet/blob/master/src/Ui/UiWebsocket.py#L80
cmd = req["cmd"]
It's probably trying to set that key that isn't there yet.
EDIT: Looking into it further it looks like there's a point where the key does not exist in the request data and that's when it errors out.
[u'cmd', u'params', u'id']
[u'cmd', u'params', u'id']
[u'cmd', u'params', u'id']
[u'cmd', u'params', u'id']
[u'cmd', u'params', u'id']
[u'cmd', u'params', u'id']
[u'opt', u'id']
[22:39:39] Site:1EU1tb..E4Vr WebSocket error: KeyError: 'cmd' in UiWebsocket.py line 34 > UiWebsocket.py line 81
from zeronet.
Related Issues (20)
- Describe all ZeroNet problems
- Freenet/locutus will be the successor to ZeroNet HOT 2
- -
- All the ZeroNet forks and releases should be signed
- 错误 HOT 1
- Potential SQL Injection HOT 4
- How to use ZeroNet on Android? HOT 10
- zeroid not working for create id HOT 4
- Spammers attack ZeroNet with hostile forks in order to defraud ZeroNet users. HOT 41
- UnboundLocalError: local variable 'err' referenced before assignment
- Unhandled exception: AttributeError: 'Site' object has no attribute 'greenlet_manager'
- ZeroNet version
- Unhandled exception: ModuleNotFoundError: No module named 'socks'
- tracker connection error detected and content.json downloading failed even using tor with bridge HOT 1
- ZeroNet's successor: The Peer-to-Peer Network HOT 4
- Security problem on ZeroMail (and all zeromail clones) need to be allowed [email protected]: (the auth address), malicious user can read, delete, send messages have full access to your mailbox! HOT 3
- ReDoS in built-in file editor (UiFileManager) due to outdated codemirror lib
- Hello Dev . Command not work
- Unhandled exception: RuntimeError: dictionary changed size during iteration HOT 2
- Unhandled exception: AttributeError: 'ConfigPlugin' object has no attribute 'getCmdlineValue'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeronet.