byterover-cli icon indicating copy to clipboard operation
byterover-cli copied to clipboard

"Failed to load providers" and "Agent disconnected"

Open kcjavier21 opened this issue 7 months ago • 2 comments

Pre-flight checklist

  • [x] I have searched existing issues and this bug has not been reported yet

Bug description

Operating System: Ubuntu 24.04.3 (via WSL) Node version: 24.13.1 ByteRover CLI version: 3.10.0

  • Entering /providers command returns me a message saying "Failed to load providers. Check your connection and try again" even though I have no internet issues. I am using the ByteRover's default provider.
  • Using /query command via throws me an error saying "Agent disconnected".
  • Using brv query returns me a message saying "Connection lost. Restarting daemon..."

Please see screenshots below:

Image Image Image Image

Steps to reproduce

  • Entering /providers command returns me a message saying "Failed to load providers. Check your connection and try again" even though I have no internet issues. I am using the ByteRover's default provider.
  • Using /query command via throws me an error saying "Agent disconnected".
  • Using brv query returns me a message saying "Connection lost. Restarting daemon..."

Expected behavior

I should be able to curate and query information.

Actual behavior

I cannot curate and query information. I even cannot reselect a provider.

CLI version

3.10.0

Installation method

Shell script (curl)

Node.js version

v24.13.1

Operating system

Linux (x64)

LLM provider and model

ByteRovers default provider

Relevant logs

CLI Version: 3.10.0
Account: [email protected]
Project: /home/<my-user-name>/<some-directory>/dgb
Space: ken-javier-team/DGB
Context Tree: Managed by Byterover version control (use brv vc commands)

Tip: Version control is now available for your context tree.
Learn more: https://docs.byterover.dev/git-semantic/overview

kcjavier21 avatar Apr 29 '26 13:04 kcjavier21

Hi @kcjavier21 , thanks for the report.

To debug this we need the daemon log from your machine. brv keeps only the 10 most recent daemon logs, and a new one is created every time the daemon starts. Each brv command also auto-restarts the daemon when it sees a disconnect, so the file we need can be rotated out by your next attempt. Please grab the logs now, before running any other brv command.

1. Bundle the logs:

tar czf /tmp/brv-logs-583.tar.gz \
  ~/.local/share/brv/logs/server-*.log \
  ~/.local/state/brv/logs/brv-*.log 2>/dev/null
ls -lh /tmp/brv-logs-583.tar.gz

2. Email the tarball to [email protected] with subject Issue #583 logs.

We do not intentionally log API keys or tokens, but the logs do include your project paths, recent prompts, and provider error bodies, so please send by email rather than uploading them to this public issue.

3. After you've sent the email, run brv restart to recover. That will spawn a fresh daemon and let you keep working while we look at your logs.

brv restart

bao-byterover avatar Apr 29 '26 14:04 bao-byterover

Hi @bao-byterover . I sent you the email already, and restarting brv did resolved the issue. Thanks very much! :))

kcjavier21 avatar Apr 29 '26 15:04 kcjavier21