Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Message: "Message wrapper_nonce error, please report!" #306

Closed
meriken opened this issue Mar 4, 2016 · 15 comments
Closed

Error Message: "Message wrapper_nonce error, please report!" #306

meriken opened this issue Mar 4, 2016 · 15 comments

Comments

@meriken
Copy link

meriken commented Mar 4, 2016

I cannot use ZeroNetwork at all now. What should I do?
untitled

@HelloZeroNet
Copy link
Owner

Can you please specify your os/browser version?

@war59312
Copy link

war59312 commented Mar 4, 2016

I get this all the time in both IE 11 and Chrome 50 dev. on Win 8.1 x64.

Refresh via F5 and it normally goes way. Though some times it takes a few tries.

@HelloZeroNet
Copy link
Owner

Do you have antivirus software installed? sometimes it can make strange things

@war59312
Copy link

war59312 commented Mar 4, 2016

I do not.

AntiVirus / AntiMalware / AntiStupid! = My Fingers ;)

I'll do further testing this weekend and see if something else could be causing issues.

@vicalejuri
Copy link
Contributor

I'm getting the same error, but only with my site.

It's address is 1P9jGD6MBCieqFCHU1777CgyzoZZcnoba2

I think it has to do with dbschema or data/.*/json being mal-formed or
sql database not in good shape , since i'm still learning how to code dynamic sites in zeronet.

I would love to dig deeper into this problem, but don't know where to look.
Any recommendation ?

@meriken
Copy link
Author

meriken commented Mar 4, 2016

F5 did not help. I got the same error after I restarted ZeroNetwork. I also deleted browser cache, but that had no effect either.

Windows 7 Professional 64bit
Google Chrome Version 48.0.2564.116 m

Z:\ZeroBundle>Python\python.exe -m zerobundle.run https://github.com/HelloZeroNe
t/ZeroNet start.py
Starting ZeroNet/start.py...
Starting ZeroNet...
[09:46:09] - OpenSSL loaded, version: 01000201F
[09:46:11] - Version: 0.3.6 r908, Python 2.7.9 (default, Dec 10 2014, 12:24:55)
[MSC v.1500 32 bit (Intel)], Gevent: 1.0.1
[09:46:15] - Creating FileServer....
[09:46:16] TorManager Tor controller connect error: [Errno 10061] No connection
could be made because the target machine actively refused it.
[09:46:16] TorManager Starting Tor client tools/tor/tor.exe...
[09:46:18] TorManager Tor controller connect error: [Errno 10061] No connection
could be made because the target machine actively refused it.
Mar 04 09:46:18.797 [notice] Tor v0.2.7.6 (git-7a489a6389110120) running on Wind
ows 7 with Libevent 2.0.22-stable, OpenSSL 1.0.1q and Zlib 1.2.8.
Mar 04 09:46:18.798 [notice] Tor can't help you if you use it wrong! Learn how t
o be safe at https://www.torproject.org/download/download#warning
Mar 04 09:46:18.808 [notice] Read configuration file "Z:\ZeroBundle\ZeroNet\tool
s\tor\torrc".
Mar 04 09:46:18.811 [warn] Path for GeoIPFile (geoip\geoip) is relative and will
resolve to Z:\ZeroBundle\ZeroNet\tools\tor\geoip\geoip. Is this what you wanted
?
Mar 04 09:46:18.811 [warn] Path for GeoIPv6File (geoip\geoip6) is relative and w
ill resolve to Z:\ZeroBundle\ZeroNet\tools\tor\geoip\geoip6. Is this what you wa
nted?
Mar 04 09:46:18.811 [warn] Path for DataDirectory (data) is relative and will re
solve to Z:\ZeroBundle\ZeroNet\tools\tor\data. Is this what you wanted?
Mar 04 09:46:18.812 [notice] Opening Socks listener on 127.0.0.1:49050
Mar 04 09:46:18.812 [notice] Opening Control listener on 127.0.0.1:49051
Mar 04 09:46:18.000 [notice] Bootstrapped 0%: Starting
Mar 04 09:46:20.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Mar 04 09:46:20.000 [notice] New control connection opened from 127.0.0.1.
[09:46:20] - Creating UiServer....
Mar 04 09:46:21.000 [notice] Bootstrapped 85%: Finishing handshake with first ho
p
Mar 04 09:46:22.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Mar 04 09:46:22.000 [notice] Tor has successfully opened a circuit. Looks like c
lient functionality is working.
Mar 04 09:46:22.000 [notice] Bootstrapped 100%: Done
[09:48:08] - Removing old SSL certs...
[09:48:08] - Starting servers....
[09:48:08] Ui.UiServer --------------------------------------
[09:48:08] Ui.UiServer Web interface: http://127.0.0.1:43110/
[09:48:08] Ui.UiServer --------------------------------------
[09:48:08] - Opening browser: default_browser...

@meriken
Copy link
Author

meriken commented Mar 4, 2016

The error disappeared when I switched to a different user account on Chrome. How strange...

@war59312
Copy link

war59312 commented Mar 4, 2016

Sounds indeed like a cache of some kind then.

Perhaps Click & Clean:

https://chrome.google.com/webstore/detail/clickclean/ghgabhipcejejjmhhchfonmamedcbeod

May fix it if it happens again.

@vlad20012
Copy link

I receive it always in google chrome, ZeroNet totally not useable. (But FireFox is OK)

I placed brakepoint at onMessageInner and found that first message looks like
image
Note: data field is not ZeroNet message at all. WTF is it?

OK, the problem is FriGate extension - popular in Russia anti-censor tool.
Can I expect a fix? We can't force all to disable this extension.

@HelloZeroNet
Copy link
Owner

Nice find, please try to report it to the plugin owner to allow to setup whitelist or allow it on 127.0.0.1.

Update: I have downloaded the extensions and looks like the blocking is not intentionally, it uses postMessage to communicate between the browser and the plugin and this is overwrites ZeroNet messages. So probably only the plugin owner able to fix it. (disable it on 127.0.0.1 probably would work)

@vlad20012
Copy link

I talked with friGate developer. He sayed that it's common practice to use message bus in chrome extensions, and application must filter messages. I have also heard complaints against other extensions, not only friGate, so it seems to be true.

@HelloZeroNet
Copy link
Owner

Ok, thanks. so it's not filtering just sending extra messages, this can be solved and will add it in the next version

@HelloZeroNet
Copy link
Owner

I think it's fixed in latest revision e891a10#diff-25ec8dd4ba66e508e805a317bc38fa5fR82
Please update & check

@vlad20012
Copy link

Yep, it's fixed now.

@HelloZeroNet
Copy link
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@vicalejuri @war59312 @vlad20012 @meriken @HelloZeroNet and others