Error: Native application tried to send a message of 1634038339 bytes, which exceeds the limit of 1048576 bytes
See original GitHub issueOverview
I’m getting this error in the debug output of the Firefox plug-in itself and a couple of related errors, but I think they are caused by the original error, but I’ll include them anyway. I have gone through the troubleshooting section in the README.md and everything there seems to be correct on my system.
Errors
- Firefox plugin:
Disconnected from native app: Error: Native application tried to send a message of 1634038339 bytes, which exceeds the limit of 1048576 bytes.
- Firefox console:
Error: Attempt to postMessage on disconnected port
- pywalfox.py:
Traceback (most recent call last): File "./pywalfox.py", line 21, in <module> client = uds.UDSClient() File "/mnt/data/Downloads/Pywalfox/daemon/uds.py", line 43, in __init__ self.s.connect(HOST) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 111] Connection refused
- If run with python3:
Traceback (most recent call last): File "pywalfox.py", line 21, in <module> client = uds.UDSClient() File "/mnt/data/Downloads/Pywalfox/daemon/uds.py", line 43, in __init__ self.s.connect(HOST) ConnectionRefusedError: [Errno 111] Connection refused
Specs
Firefox 74 OS: Pop!_OS 19.10 python --version: 2.7.17 python3 --version: 3.7.5
Issue Analytics
- State:
- Created 3 years ago
- Comments:30 (15 by maintainers)
Top Results From Across the Web
Error: Native application tried to send a message of ... - GitHub
Error : Native application tried to send a message of 1634038339 bytes, which exceeds the limit of 1048576 bytes #8.
Read more >Native extension exceed message limit - Mozilla Discourse
Disconnected due to an error: Native application tried to send a message of 1394626127 bytes, which exceeds the limit of 1048576 bytes. NodeJS ......
Read more >java - Native Messaging host tried sending a message that is ...
When an error occurs. Native Messaging host tried sending a message that is 977472013 bytes long. First of all, try to start the...
Read more >Having trouble sending native message | Topicbox
Native application tried to send a message of 1701596997 bytes, which exceeds the limit of 1048576 bytes. Any ideas of what I am...
Read more >Native Messaging - Chrome Developers
How to exchange messages with native applications from your Chrome App. ... and is preceded with 32-bit message length in native byte order....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe I have fixed this issue. Apparently, the issue was a
print()
used for debugging when setting up the UNIX-socket server.4 hours well spent…
Quick and dirty workaround if you have python3 on your machine: Change the shebang (first line of script Pywalfox/daemon/pywalfox.py) from #!/usr/bin/env python to #!/usr/bin/env python3
Oh almost forgot, thanks Frewacom for your great work and thanks for posting it on unixporn.