bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Bruno cannot access LAN API endpoints when launched normally on macOS

Open jbjoret opened this issue 10 months ago • 8 comments

I have checked the following:

  • [x] I have searched existing issues and found nothing related to my issue.

This bug is:

  • [ ] making Bruno unusable for me
  • [x] slowing me down but I'm able to continue working
  • [ ] annoying
  • [ ] this feature was working in a previous version but is broken in the current release.

Bruno version

3.0.2

Operating System

macOS 26.2

Describe the bug

Symptoms: connect EHOSTUNREACH to 192.168.x.x only when launched via Finder. Workaround: Launch with --disable-features=NetworkServiceSandbox (works). Cause: Chromium NetworkService sandbox blocks LAN without proper entitlements. Request: Disable NetworkService sandbox on macOS or add correct entitlements.

Use "exec /Applications/Bruno.app/Contents/MacOS/Bruno
--disable-features=NetworkServiceSandbox" from Terminal to workaround

.bru file to reproduce the bug

Any Test with access to 192.168.x.x (local network) fails, localhost or other remote hosts are ok

Screenshots/Live demo link

Image

jbjoret avatar Jan 24 '26 12:01 jbjoret

Thanks a lot for the workaround! Spent a lot of time investigating what's going on, in my case it is connectivity to proxy but the root cause is the same

kaliy avatar Jan 28 '26 09:01 kaliy

+1 Bruno never asks for local network permissions on MacOS.

Hello-User avatar Feb 04 '26 22:02 Hello-User

I have found an even better workaround with "tccutil reset All com.usebruno.app". The original issie is probably due to 2 bugs, 1) Bruno does not ask for Local Network Permissions, 2) macOS set the permissions on a UUID and not on the applications. I was able to reset the permission then mnually re-activated the permission to access the Local Network. It did the trick

jbjoret avatar Feb 14 '26 09:02 jbjoret

Hi there. Really liked this project. I loved how I can sync my collections over the local network. For some reason I was able to execute requests to my local dev server (different machine within my local network) without this issue. But today I encountered the same EHOSTUNREACH to 192.168.x.x issue. I'm using an m1air and seems the exec workaround worked but is there a more permanent solution or toggle in settings that produce the same result as the work around? The tccutil didn't work for me though.

Really cool project and saw the launching of this product to version 1 in YT. Kuddos to the developers!

jamesclavel avatar Mar 13 '26 06:03 jamesclavel

It could be a temp method to solve it if reinstalling the application. And I am using the version 3.1.4.

reply2future avatar Mar 14 '26 04:03 reply2future

It could be a temp method to solve it if reinstalling the application. And I am using the version 3.1.4.

Honestly it was working on my first few days of use version 3.1.4 - the issue just came few days ago. The temporary workaround works fine though. Perhaps I'll just wait for the next iteration / updates. Still using it because of the simplicity, lightweight and I can sync my collections and requests via my code-server over my LAN. Appreciate the reply.

Image

jamesclavel avatar Mar 16 '26 01:03 jamesclavel

To fix network connection issues with Bruno on macOS, just go to System Settings > Privacy & Security > Local Network, toggle the app's access off and back on, and relaunch it. This worked for me.

kusakv avatar May 17 '26 09:05 kusakv

Same issue on Bruno 4.4.0 — connect EHOSTUNREACH 192.168.0.171:5000 - Local (192.168.0.220:60197) Also, Bruno is not listed in the app list that asked for Local Network access. Any thoughts on how to make Bruno usable again?

Thank you for Bruno! It is a wonderful project!

thetloffline avatar Dec 02 '26 15:12 thetloffline