usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
25.47k stars 1.16k forks source link

Could not see Bru file in collection #1877

Closed varshabandgar closed 1 month ago

varshabandgar commented 6 months ago

Even afetr adding new file, its not showing under collection in Bruno aap

KilFer commented 6 months ago

Same happened to me.

I'm on the last version (v1.12.2) on Kubuntu 22.04.4. I tried installing it by Snap and by .deb file.

I can create any collections, and the process of creating request works (as I can see the new requests on the folder); but Bruno cannot see any requests and doesn't open it, it just stays empty.

If I try to create a request with the same name as one already created it recognizes it, so I assume that's a problem on the front-end.

foliveiracamara commented 6 months ago

Same with me, cant import or open files with .bru extension

AngelaSYuan commented 5 months ago

Hi! I'm curious how I can replicate this issue?

KilFer commented 5 months ago

To be honest, I'm not sure how if it's not a common bug. Maybe it's easy to share some logs?

In a fresh instalation (both Snap & .deb installation on Kubuntu) create a new collection. After that, create a new request. The request won't be opened on the app and won't be shown on the collection list at the sidebar; but the file will be created on the folder on the device. Same for importing collections: the Requests won't be shown after importing even when they exists on the folder.

foliveiracamara commented 5 months ago

Guys, as I'm new to Bruno, my problem was very simple to solve with some knowledge of the tool. All i had to do was add the "bruno.json" file to be able to import the .bru files into bruno.

LeonardoDaLuz commented 5 months ago

same here image

LeonardoDaLuz commented 5 months ago

Solved using HTTPie: https://github.com/httpie/desktop#linux

KilFer commented 5 months ago

It's not a solution to use a rival app, you know. :P

Needless to say, the bug has fixed miraculously for me. I tried reinstalling, rebooting the system, anything... But today has started working without any change. That's strange, and this will be a bug pretty difficult to find if anything.

marcelopio commented 4 months ago

Just installed Bruno to try it and have the same problem.

I am also on Kubuntu 22.04

marcelopio commented 4 months ago

I may have found the problem, for me when I opened through terminal it was throwing a lot of: inotify_init failed: Too many open files

So I just did: echo 256 | sudo tee /proc/sys/fs/inotify/max_user_instances

koriit-kontakt commented 1 month ago

This was actually my first experience with Bruno. It saddened me beyond measure and almost made me drop Bruno.

Fortunately for me, I persevered, opened Bruno with the terminal, and found the same logs.

Ultimately, the problem lies in the system settings (Ubuntu here), but Bruno could communicate it better in UI.

As described here, adding this to /etc/sysctl.conf finally permanently fixed the problem for me:

fs.inotify.max_user_instances=8192
fs.inotify.max_user_watches=524288