HelloZeroNet / HelloZeroNet/ZeroID

cant connect to zeroid, so I cant register :( Id appreacite any help

Offen
#41 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
CoffeeScript
Sterne
43
Forks
26
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It gets stuck on loading users data (2/2)

console log below:

Content Security Policy: Ignoring “'unsafe-inline'” within script-src or style-src: nonce-source or hash-source specified 2
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 6 utils.js:35:9
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 3 content_script.js:119:34
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 3 content_script.js:119:34
Content Security Policy: Ignoring “'unsafe-inline'” within script-src or style-src: nonce-source or hash-source specified 10
[Wrapper] Created! all.js:1973:26
WrapperZeroFrame
Object { reloadIframe: bind(), setSizeLimit: bind(), updateModifiedPanel: bind(), sitePublish: bind(), siteSign: bind(), onWrapperLoad: bind(), onPageLoad: bind(), onCloseWebsocket: bind(), onOpenWebsocket: bind(), handleMessage: bind()
, … }
all.js:2015:15
[ZeroWebsocket] Not connected, adding message to queue all.js:148:26
Content Security Policy: Ignoring “'unsafe-inline'” within script-src or style-src: nonce-source or hash-source specified 2
Content Security Policy: The page’s settings blocked the loading of a resource at data:application/font-woff2;charset=utf-… (“default-src”). 3 Readerable.jsm:136:2
Content Security Policy: The page’s settings blocked the loading of a resource at data:application/font-woff;charset=utf-8… (“default-src”). 6 Readerable.jsm:136:2
[ZeroWebsocket] Open all.js:148:26
[Wrapper] onPageLoad all.js:1973:26
Pixi.js 3.0.3 - WebGL - http://www.pixijs.com/ all.js:21:24407
Start all.js:698:15
[ZeroFrame] Websocket callback not found:
Object { cmd: "response", to: 1000000, result: "ok", id: 2 }
all.js:472:26
[Wrapper] Setting title to ZeroID - ZeroNet all.js:1973:26
[ZeroFrame] Status: Loading users data (1/2)... all.js:472:26
[ZeroFrame] Status: Loading users data (2/2)... all.js:472:26
[ZeroFrame]
Array [ "file_started", true ]

Object { cmd: "setSiteInfo", params: {…}, id: 7 }
all.js:472:26
Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://b9bd5f6d-f726-4acb-85ef-de8926f62432/libs/lodash.min.js
Source Map URL: lodash.min.js.map

[Loading] hideProgress all.js:767:26
[ZeroFrame]
Array [ "file_failed", "data/users.json" ]

Object { cmd: "setSiteInfo", params: {…}, id: 8 }
all.js:472:26
[ZeroFrame] Unknown command
Object { cmd: "setServerInfo", params: {…}, id: 9 }
all.js:472:26
TypeError: JSON.parse(...) is null
all.js:1095:24
reloadUsers http://127.0.0.1:43110/zeroid.bit/js/all.js?lang=en:1095
onMessage http://127.0.0.1:43110/zeroid.bit/js/all.js?lang=en:415
bind http://127.0.0.1:43110/zeroid.bit/js/all.js?lang=en:379
[Loading] hideProgress all.js:767:26
[ZeroFrame]
Array [ "peers_added", 3 ]

Object { cmd: "setSiteInfo", params: {…}, id: 11 }

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit js/all.js, insbesondere reloadUsers und der WebSocket-Nachrichtenverarbeitung rund um den gemeldeten TypeError. Reproduziere den Registrierungsablauf und untersuche, warum data/users.json nicht geladen werden konnte; abgeschlossen ist die Aufgabe, wenn ZeroID das Laden der Benutzerdaten ohne den JSON.parse-Fehler abschließt und die Registrierung ermöglicht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
coffeescript
Bereich
authentication
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.