HelloZeroNet / ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.io
Other
18.37k stars 2.27k forks source link

Error accessing remote server on LAN #1829

Closed korsairtuga closed 5 years ago

korsairtuga commented 5 years ago

I get this unexpected error while using mobile browser to access a remote server on my LAN after login.

Serverrror: Extra data: line 65 column 2 - line 165 column 2 (char 2859 - 7532) in UiServer.py line 104 > UiPasswordPlugin.py line 41 > UiRequest.py line 145 > UiConfigPlugin.py line 21 > ContentFilterPlugin.py line 186 > UiRequest.py line 348 > UiRequest.py line 421 > UiRequest.py line 204 > UserManager.py line 64 > UserManager.py line 58 > UserManager.py line 27 > init.py line 291 > init.py line 339 > decoder.py line 367 Please report it if you think this an error. Details: { "GATEWAY_INTERFACE": "CGI/1.1", "HTTP_ACCEPT": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "pt-PT,pt;q=0.9,en-US;q=0.8,en;q=0.7", "HTTP_CACHE_CONTROL": "max-age=0", "HTTP_CONNECTION": "keep-alive", "HTTP_DNT": "1", "HTTP_HOST": "192.168.1.72:43110", "HTTP_REFERER": "http://192.168.1.72:43110/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D", "HTTP_UPGRADE_INSECURE_REQUESTS": "1", "HTTP_USER_AGENT": "Mozilla/5.0 (Linux; Android 8.1.0; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36", "PATH_INFO": "/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D", "QUERY_STRING": "", "REMOTE_ADDR": "192.168.1.3", "REMOTE_PORT": "39218", "REQUEST_METHOD": "GET", "SCRIPT_NAME": "", "SERVER_NAME": "media-center", "SERVER_PORT": "43110", "SERVER_PROTOCOL": "HTTP/1.1", "SERVER_SOFTWARE": "gevent/1.3 Python/2.7", "arguments": { "action": "main", "autodownload_bigfile_size_limit": 1, "batch": false, "bigfile_size_limit": false, "bind": null, "bit_resolver": "1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F", "broadcast_port": 1544, "coffeescript_compiler": null, "config_file": "./zeronet.conf", "connected_limit": 8, "data_dir": "./data", "db_mode": "speed", "debug": false, "debug_socket": false, "disable_db": false, "disable_encryption": false, "disable_sslcompression": true, "disable_udp": false, "download_optional": "manual", "end": true, "file_size_limit": 10, "fileserver_ip": "", "fileserver_port": 31733, "fileserver_port_range": "10000-40000", "fix_float_decimals": false, "force_encryption": false, "global_connected_limit": 512, "homepage": "1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D", "ip_external": null, "ip_local": [ "127.0.0.1" ], "keep_ssl_cert": false, "language": "pt", "log_dir": "./log", "log_level": "DEBUG", "log_rotate": "daily", "log_rotate_backup_count": 5, "max_files_opened": 2048, "msgpack_purepython": false, "open_browser": null, "optional_limit": "10%", "optional_limit_exclude_minsize": 20, "proxy": null, "silent": false, "size_limit": 10, "stack_size": null, "stream_downloads": false, "tor": "enable", "tor_controller": "127.0.0.1:9051", "tor_hs_limit": 10, "tor_hs_port": 15441, "tor_proxy": "127.0.0.1:9050", "tor_use_bridges": false, "trackers": [ "zero://boot3rdez4rzn36x.onion:15441", "zero://zero.booth.moe#f36ca555bee6ba216b14d10f38c16f7769ff064e0e37d887603548cc2e64191d:443", "udp://tracker.coppersurfer.tk:6969", "udp://tracker.port443.xyz:6969", "udp://104.238.198.186:8000", "http://tracker2.itzmx.com:6961/announce", "http://open.acgnxtracker.com:80/announce", "http://retracker.mgts.by:80/announce" ], "trackers_file": false, "trackers_proxy": "disable", "ui_host": null, "ui_ip": "", "ui_port": 43110, "ui_restrict": false, "ui_trans_proxy": false, "updatesite": "1UPDatEDxnvHDo7TXvq6AEBARfNkyfxsp", "use_openssl": true, "use_tempfiles": false, "verbose": false, "workers": 5, "working_shared_trackers_limit": 5 }, "plugins": [ "AnnounceLocal", "AnnounceShare", "AnnounceZero", "Bigfile", "Chart", "ContentFilter", "Cors", "CryptMessage", "FilePack", "MergerSite", "Newsfeed", "OptionalManager", "PeerDb", "Sidebar", "Stats", "TranslateSite", "Trayicon", "UiConfig", "UiPassword", "Zeroname" ], "version_gevent": "1.3.5", "version_python": "2.7.15+ (default, Oct 2 2018, 22:12:08) \n[GCC 8.2.0]", "version_zeronet": "0.6.4 r3741", "wsgi.url_scheme": "http" }

HelloZeroNet commented 5 years ago

Looks like there is some trouble with your data/users.json file at line 165.