Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"bw list items" does not list any items #8845

Open
1 task done
ajrosen opened this issue Apr 19, 2024 · 4 comments
Open
1 task done

"bw list items" does not list any items #8845

ajrosen opened this issue Apr 19, 2024 · 4 comments
Labels
bug cli CLI Application

Comments

@ajrosen
Copy link

ajrosen commented Apr 19, 2024

Steps To Reproduce

  1. Run bw list items

Expected Result

I should get a list of the 516 items in my vault.

Actual Result

Nothing is shown.

Screenshots or Videos

Similarly, using bw serve, fetching items hangs with no output.

$ curl -v localhost:8087/list/object/items

* Host localhost:8087 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:8087...
* connect to ::1 port 8087 from ::1 port 54107 failed: Connection refused
*   Trying 127.0.0.1:8087...
* Connected to localhost (127.0.0.1) port 8087
> GET /list/object/items HTTP/1.1
> Host: localhost:8087
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off

Additional Context

The same problem happens with bw list collections. bw list folders and bw list organizations work as expected.

Operating System

macOS

Operating System Version

Sonoma 14.5 Beta (23F5059e)

Shell

Bash

Build Version

2024.3.1

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@ajrosen ajrosen added bug cli CLI Application labels Apr 19, 2024
@ajrosen
Copy link
Author

ajrosen commented Apr 19, 2024

Rebooting did clear the issue (for now?).

@SergeantConfused
Copy link

Hi @ajrosen,

Thank you for following up on this. Did you encounter this again after rebooting the machine? If you did, please let me know; If not, please feel free to close this GitHub report as not planned.

Thank you in advance,

@ajrosen
Copy link
Author

ajrosen commented Apr 20, 2024

The problem did go away after rebooting, for a while, but it came back.

I can't reliably recreate the problem. It seems to happen after my laptop has been sleeping for some time, but not always.

I'm the author of Bitwarden Accelerator (an Alfred workflow). So I have bw serve always running in the background.

bw serve --hostname localhost --port 8087 &>/dev/null & disown

Sometimes I can resolve the issue by stopping the server and logging out. I opened this issue when that wasn't enough to fix it.

Thanks!

@morph027
Copy link

morph027 commented May 5, 2024

Same here, for a similar project (ulauncher-bitwarden). Works on my workstation, but not on my notebook. Restarting/Rebooting does not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli CLI Application
Projects
None yet
Development

No branches or pull requests

3 participants