Comments (5)
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.
$ 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.
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.
@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.
I'm closing this issue with the solution:
$ rbw config set base_url "https://vault.bitwarden.com/"
from rbw.
Related Issues (20)
- failed to decrypt: failed to decrypt encrypted secret: invalid mac HOT 3
- rbw ANYCOMMAND: failed to log in to bitwarden instance: failed to parse JSON: missing field `Kdf` at line 1 column 120 HOT 38
- Is there a way to use a PIN instead of the password? HOT 1
- git-credential-rbw is broken in 1.10.0 HOT 1
- HTTPS_PROXY being ignored
- `rbw code UUID` doesn't work with v1.10.0 HOT 2
- TOTP with different algorithm not supported
- `rbw unlock` not working. HOT 14
- Feature request: keep vault open indefinitely HOT 3
- How to debug failed logins? HOT 7
- Pinentry script not working with passwords containing spaces
- Pinentry script not working with 2fa codes
- Add Pinentry script auto setup
- Username or Password are incorrect. Try Again HOT 31
- Unable to `get` entries containing colons in the name HOT 1
- Decryption failed on long Ciphertexts HOT 2
- UUIDs for `edit`, `remove`, and `history` doesn't work
- API endpoint `/accounts/prelogin` to be removed from the official Bitwarden server HOT 3
- new version of 'rbw' struggles with lower case ([a-z]) TOTP secrets and ones with padding - trailing equal signs ('=') HOT 1
- Failed decrypt if only organizations used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbw.