postman-docs icon indicating copy to clipboard operation
postman-docs copied to clipboard

Unable to install interceptor bridge from app - Missing NativeMessagingHosts

Open alne4294 opened this issue 4 years ago • 7 comments

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).

alne4294 avatar Apr 01 '20 21:04 alne4294

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

abhijitkane avatar Apr 02 '20 05:04 abhijitkane

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.

rufreakde avatar Jun 30 '20 09:06 rufreakde

Thanks @rufreakde. This worked for me!

bkingo avatar Jul 19 '20 22:07 bkingo

Same, @rufreakde suggestion resolved my issue, thank you!

nelsonestrada5 avatar Jul 21 '20 03:07 nelsonestrada5

Thanks @rufreakde resolved my issues

dananw avatar Nov 22 '20 09:11 dananw

Not sure when this was added, but the interceptor doc now covers the CHROME_NOT_INSTALLED error.

jkonrath-postman avatar Jun 11 '21 16:06 jkonrath-postman

On most Linux distributions Chromium is the default and not Chrome, quick fix :

ln -s ~/.config/chromium ~/.config/google-chrome

FiveBoroughs avatar Nov 18 '21 17:11 FiveBoroughs