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

Login failed: Could not login: could not pre-login: Not Found: #274

Open
rawkode opened this issue Aug 10, 2024 · 7 comments
Open

Login failed: Could not login: could not pre-login: Not Found: #274

rawkode opened this issue Aug 10, 2024 · 7 comments

Comments

@rawkode
Copy link

rawkode commented Aug 10, 2024

version 0.3.3 / running on NixOS

$ goldwarden vault login --email NNN

Login failed: Could not login: could not pre-login: Not Found:

The config was set with goldwarden config set-server https://vault.bitwarden.eu && systemctl --user restart goldwarden

$ goldwarden config get-environment

{"api":"https://api.bitwarden.eu","identity":"https://identity.bitwarden.eu","notifications":"https://notifications.bitwarden.eu","vault":"https://vault.bitwarden.eu"}
@barolo
Copy link

barolo commented Aug 12, 2024

Having the same issue, just throws bunch of html at me:

Login failed: Could not login: could not pre-login: Not Found: <!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <meta name="robots" content="noindex,nofollow" />
    <link rel="icon" type="image/png" href="/vw_static/vaultwarden-favicon.png">
    <title>Page not found!</title>
    <link rel="stylesheet" href="/vw_static/bootstrap.css" />
    <link rel="stylesheet" href="/vw_static/404.css" />
</head>

<body class="bg-light">

    <nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4 shadow fixed-top">
        <div class="container">
            <a class="navbar-brand" href="/"><img class="vaultwarden-icon" src="/vw_static/vaultwarden-icon.png" alt="V">aultwarden</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"
                    aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarCollapse">
                <ul class="navbar-nav me-auto">
            </div>
        </div>
    </nav>

    <main class="container inner content text-center">
        <h2>Page not found!</h2>
        <p class="lead">Sorry, but the page you were looking for could not be found.</p>
        <p class="display-6">
            <a href="/"><img class="vw-404" src="/vw_static/404.png" alt="Return to the web vault?"></a></p>
        <p>You can <a href="/">return to the web-vault</a>, or <a href="https://github.com/dani-garcia/vaultwarden">contact us</a>.</p>
    </main>

    <div class="container footer text-muted content">Vaultwarden (unofficial Bitwarden&reg; server)</div>
</body>
</html>

@barolo
Copy link

barolo commented Aug 12, 2024

Fixed it, the API url should be https://aaaaa.bbbbb.cccc/api

@rawkode
Copy link
Author

rawkode commented Aug 12, 2024

@barolo Are you using vault.bitwarden.eu?

@barolo
Copy link

barolo commented Aug 12, 2024

@barolo Are you using vault.bitwarden.eu?

ah, no, I'm using self-hostef vault warden.

@RokeJulianLockhart

This comment was marked as resolved.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Aug 12, 2024

#274 (comment)

I fixed it by entering the optional values at #276 (comment).

@martininsulander
Copy link

I get the same issue but with the default setting
{"api":"https://vault.bitwarden.com/api","identity":"https://vault.bitwarden.com/identity","notifications":"https://notifications.bitwarden.com","vault":"https://vault.bitwarden.com"}
v0.3.3

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

No branches or pull requests

4 participants