postman-docs
postman-docs copied to clipboard
Unable to install interceptor bridge from app - Missing NativeMessagingHosts
Hi all,
This is just a note that I was unable to install the interceptor bridge directly from the Postman Desktop App "Capture Cookies and Requests" Dropdown.
I'm on MacOS and got the following errors: "Postman doesn't have the required permissions to install Node.js and other dependencies." and ERROR CODE: CHROME_NOT_INSTALLED
I checked the documentation and went through all of the troubleshooting steps in the Interceptor Docs. Everything checked out except that I realized I didn't have a NativeMessagingHosts file. Manually adding one and restarting the Chrome and Postman apps didn't help.
I found these outdated Readme steps in the history of this repo, which ended up working.
I'm unblocked, but someone else might run into this (found one similar post on Stack Overflow that was deleted 2 days ago).
Thanks @alne4294. The docs around manually downloading the bridge were removed since we added the installer in the app. We're working to re-add those instructions with a few tweaks.
Is there anything different about your setup (running within a VM / overridden permissions to certain directories etc.) that could have caused this?
cc @saialekhya-postman
I had the same issue using MacOS.
CHROME_NOT_INSTALLED: Check whether Chrome is installed and a NativeMessagingHosts folder exists at the following location:
MacOS: ~/Library/Application Support/Google/Chrome/NativeMessagingHosts
I created the folder and assigned rights:
mkdir NativeMessagingHosts
chmod +wx NativeMessagingHosts
Afterwords the installation via the app worked.
Thanks @rufreakde. This worked for me!
Same, @rufreakde suggestion resolved my issue, thank you!
Thanks @rufreakde resolved my issues
Not sure when this was added, but the interceptor doc now covers the CHROME_NOT_INSTALLED error.
On most Linux distributions Chromium is the default and not Chrome, quick fix :
ln -s ~/.config/chromium ~/.config/google-chrome