Disconnected from native messaging host. Exceeding message byte limit.
See original GitHub issueFirst of all, thanks for this super cool project! Unfortunately at some point it just stopped working for me.
Pywalfox version: 2.7.2
Addon debugging in FF shows me this error in the console:
Disconnected from native messaging host: Error: Native application tried to send a message of 1734439797 bytes, which exceeds the limit of 1048576 bytes.
The debugging section on the addon page shows the following:
pywal start -p --verbose
gives:
pywalfox start -p --verbose
[05-31-2021 09:12:28] DEBUG:Using python 3.8.5
[05-31-2021 09:12:28] DEBUG:Firefox profile path is relative
[05-31-2021 09:12:28] DEBUG:Found chrome directory at path: /home/abc/.mozilla/firefox/vfo7c3jl.default-release/chrome
[05-31-2021 09:12:28] DEBUG:Setup socket server using AF_UNIX (linux/darwin)
[05-31-2021 09:12:28] DEBUG:Successfully bound socket to: /tmp/pywalfox_socket
Clicking the Fetch Pywal Colors
button seems to do nothing anymore.
I tried and check all of the suggestions in the troubleshooting section, and also reinstalled firefox and wiped the userprofiles but nothing seems to work. Any idea what could cause this?
Best regards!
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Native messaging host gets EOF on stdin prematurely?
There is no limit for browser -> host communication (beyond the 4GB limitation imposed by the 32-bit size of the "message length" field)....
Read more >Native Messaging - Chrome Developers
The maximum size of a single message from the native messaging host is 1 MB, mainly to protect Chrome from misbehaving native applications....
Read more >ServiceWorker-backed extensions shut down the Native ...
Steps to reproduce the problem: 1. Write an MV3 extension that uses Native Messaging API to communicate with a Native Messaging Host. 2....
Read more >java - Native Messaging host tried sending a message that is ...
I think you have to swap the order of the bytes defining your message length. Change your getBytes() method to this:
Read more >pywalfox - Bountysource
Disconnected from native messaging host. Exceeding message byte limit. $ 0. Created 1 year ago in Frewacom/pywalfox with 3 comments. First of all,...
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
Perhaps you could try to install a previous version of the messaging host, e.g.
2.7.1
or2.7.0
, just to make sure? If you do, make sure to also runpywalfox uninstall
andpywalfox install
after installing the new version.Okay, good to know. Thanks!
I will look at this later today 👍🏼