Skip to content

bitwarden.eu: Profile has no server_base or server_identity #1265

@d3ployment

Description

@d3ployment

Steps To Reproduce

  1. Set server_api value to https://vault.bitwarden.eu in bws config file
  2. Run a command like bws project list

Expected Result

An array of my projects

Actual Result

> RUST_BACKTRACE=full bws project list

Error:
   0: Received error message from server: [404 Not Found] <!doctype html><html lang="en" class="tw-h-full theme_light"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Page not found | Bitwarden Web vault</title><meta name="description" content="404 Page Not Found"/><link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png"/><link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#175DDC"/><link rel="manifest" href="/70501c97b33df95adb32.json"/><link href="/styles.10e103ebd09548eb66d2.css" rel="stylesheet"></head><body class="tw-min-h-screen !tw-min-w-0 tw-text-center tw-bg-background-alt tw-flex tw-flex-col"><img class="new-logo-themed tw-m-8" alt="Bitwarden"/><main class="tw-max-w-3xl tw-mx-auto tw-px-2 tw-my-4"><h1 class="tw-mb-0 tw-h1">Sorry, this page isn't available.</h1><p class="tw-py-9 tw-mb-0">The link you followed may be broken, or the page may have been removed. Try going back to the previous page or see our <a href="https://bitwarden.com/help/" target="_blank" rel="noreferrer">Help Center</a> for more information.</p><a href="/" class="tw-btn-secondary tw-inline-block">Go to your web vault</a></main><footer class="tw-mt-auto tw-h-40 tw-bg-primary-600 tw-flex tw-justify-center tw-items-center"><i class="bwi bwi-shield tw-text-contrast tw-text-4xl"></i></footer><script defer="defer" src="/styles.31d6cfe0d16ae931b73c.js"></script></body></html>

Location:
   crates/bws/src/command/project.rs:43

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_call_main<unknown>
      at <unknown source file>:<unknown line>
   2: __libc_start_main_impl<unknown>
      at <unknown source file>:<unknown line>                                                                                                                                                                                 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Screenshots or Videos

No response

Additional Context

When config file is empty and running with -u https://vault.bitwarden.eu option, everything is working
But when variable server_api is defined, I get the following error :

Profile has no `server_base` or `server_identity` 

and I don't know what values those should take

Operating System

Linux

Operating System Version

Fedora Linux 42

Shell

Zsh

Build Version

bws 1.0.0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions