question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disconnected from native messaging host. Exceeding message byte limit.

See original GitHub issue

First 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. 2021-05-31-164250_1277x358_scrot

The debugging section on the addon page shows the following: 2021-05-31-204709_379x197_scrot

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:open
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Frewacomcommented, Jun 2, 2021

Perhaps you could try to install a previous version of the messaging host, e.g. 2.7.1 or 2.7.0, just to make sure? If you do, make sure to also run pywalfox uninstall and pywalfox install after installing the new version.

0reactions
Frewacomcommented, Jun 10, 2021

Okay, good to know. Thanks!

I will look at this later today 👍🏼

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found