Code Monkey home page Code Monkey logo

Comments (5)

Pablo12345678901 avatar Pablo12345678901 commented on August 13, 2024 1

Dear [TheNilesh], I had the same issue.

I checked the base_url through wget and it returned ERROR 404. Same on a browser...
So I tried to connect through a browser and noticed that the base_url was changed to "https://vault.bitwarden.com/".

I guess you found this solution since then but in case it can help for other users, I have written it.

from rbw.

TheNilesh avatar TheNilesh commented on August 13, 2024
$ rbw config set base_url "https://vault.bitwarden.com"
$ rbw login      
rbw login: failed to log in to bitwarden instance: error making api request: error sending request for url (https://identity.bitwarden.com/connect/token): error trying to connect: dns error: failed to lookup address information: Try again: error trying to connect: dns error: failed to lookup address information: Try again: dns error: failed to lookup address information: Try again: failed to lookup address information: Try again

from rbw.

Pablo12345678901 avatar Pablo12345678901 commented on August 13, 2024

I am neither the project owner nor a developper of it but :

My configuration is the same as your except that as in the official documentation I have '/' at the end of each url :

{"email":"XXX@XXX", "base_url":"https://vault.bitwarden.com/", "identity_url":"https://identity.bitwarden.com/", "notifications_url":"https://notifications.bitwarden.com/", "lock_timeout":3600, "sync_interval":1800, "pinentry":"pinentry", "client_cert_path":null }

I tried to :
wget https://identity.bitwarden.com/connect/token -> ERROR 400: Bad Request
wget https://identity.bitwarden.com/connect/ -> ERROR 404: Not Found.
wget https://identity.bitwarden.com/ -> ERROR 404: Not Found.

I would advice you to :

  • retry adding a slash ('/') at end end of each url into the configuration file.
  • try to connect through Bitwarden website, note the base_url of the connection and test your login accesses to ensure.

Else I don't want to investigate the code that is not mine to help further.

from rbw.

TheNilesh avatar TheNilesh commented on August 13, 2024

@Pablo12345678901 Thanks! I retried rbw login without changing the config, today, and it worked. Maybe it was a temporary network/caching issue.

$ rbw config show
{
  "email": "[email protected]",
  "base_url": "https://vault.bitwarden.com",
  "identity_url": "https://identity.bitwarden.com",
  "notifications_url": "https://notifications.bitwarden.com",
  "lock_timeout": 3600,
  "sync_interval": 3600,
  "pinentry": "pinentry",
  "client_cert_path": null
}

from rbw.

TheNilesh avatar TheNilesh commented on August 13, 2024

I'm closing this issue with the solution:

 $ rbw config set base_url "https://vault.bitwarden.com/"

from rbw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.