You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds macOS Chrome recovery instructions for the “Specified native messaging host not found” error. The instructions refresh the native messaging manifest and explain the default application path.
Docs: add Chrome native messaging “host not found” troubleshooting (macOS)
📝 Documentation🕐 Less than 5 minutes
AI Description
• Add macOS Chrome recovery steps for “Specified native messaging host not found.”
• Document how to refresh the Chrome native messaging manifest from the bundled JabRef copy.
• Clarify the default /Applications install-path assumption and when to adjust paths.
Diagram
graph TD
U([User]) --> D["Docs: jabref-browser-extension.md"] --> S["Troubleshooting: Chrome host not found"] --> A["Action: copy manifest"] --> C["Restart Chrome"]
subgraph Legend
direction LR
_user([User]) ~~~ _doc["Documentation"] ~~~ _step["Troubleshooting step"]
end
Loading
High-Level Assessment
The chosen approach (copying the bundled manifest into Chrome’s system NativeMessagingHosts directory and restarting Chrome) is the most direct recovery path for a stale manifest pointing at an old jabrefHost.py location. No materially better alternative is warranted for a troubleshooting doc addition.
• Adds a new troubleshooting subsection for the Chrome error 'Specified native messaging host not found.' on macOS. Provides a 'sudo cp' command to refresh the Chrome native messaging host manifest from the currently installed JabRef app bundle, and notes the default '/Applications' install path assumption plus the need to restart Chrome.
The new Chrome troubleshooting step always reinstalls the manifest to the system-wide
"/Library/Google/Chrome/NativeMessagingHosts" location via sudo, but this page also documents a
per-user manifest location ("~/Library/Application Support/Google/Chrome/NativeMessagingHosts");
users may update the wrong place and remain broken. The command also assumes the destination
directory exists, so it can fail with "No such file or directory".
The newly added troubleshooting command only targets the system-wide Chrome NativeMessagingHosts
directory, while earlier in the same macOS section the document explicitly lists both the
system-wide and per-user Chrome manifest locations; therefore the new instructions are incomplete
for users using the per-user location.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The new macOS Chrome troubleshooting instructions copy the native messaging manifest only into the system-wide Chrome directory using `sudo`. However, the same document also describes a per-user Chrome manifest location; if the user is using that install scope, the troubleshooting step may not update the manifest they actually need to fix.
Additionally, the command assumes the destination directory already exists; if it does not, `cp` will fail.
## Issue Context
This is documentation for recovering from Chrome’s “Specified native messaging host not found” error.
## Fix Focus Areas
- en/collect/jabref-browser-extension.md[175-184]
## Suggested fix
- Mention both possible Chrome manifest locations on macOS (system-wide and per-user) and instruct the user to copy to the one they use.
- Add a `mkdir -p` step for the chosen destination directory.
- Avoid requiring `sudo` for the per-user install path (and keep `sudo` only for the system-wide path).
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Tip of the day
💡 Did you know, you can enable the Remediation agent and Qodo fixes findings in a dedicated fix PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds macOS Chrome recovery instructions for the “Specified native messaging host not found” error. The instructions refresh the native messaging manifest and explain the default application path.