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

failed to parse message from agent: EOF while parsing a value at line 1 column 0 #38

Closed
nkfilis opened this issue Feb 20, 2021 · 10 comments
Labels
bug Something isn't working can't reproduce question Further information is requested

Comments

@nkfilis
Copy link

nkfilis commented Feb 20, 2021

With any rbw command that seems to interact with the backend, I get the above error, for example rbw login:

rbw login: failed to parse message from agent: EOF while parsing a value at line 1 column 0

Is there a way to get more verbose output?
My rbw config show:

{
  "email": "myusername@bitwarden.com",
  "base_url": null,
  "identity_url": null,
  "lock_timeout": 3600
}

I'm running on 0.5.2

@doy
Copy link
Owner

doy commented Feb 21, 2021

you should be able to find agent logs at ~/.local/share/rbw/ - they may have more information?

@doy doy added bug Something isn't working question Further information is requested labels Feb 21, 2021
@doy
Copy link
Owner

doy commented Oct 29, 2021

i'm going to close this out now because i don't really have enough information to look into this any further, but feel free to reopen this with additional information if it continues to happen.

@doy doy closed this as completed Oct 29, 2021
@minego
Copy link

minego commented Feb 22, 2022

I am running into this issue as well. Unfortunately that directory doesn't appear to exist on my system. Is the path different on macs?

@minego
Copy link

minego commented Feb 22, 2022

I found the logs in ~/Library/Application Support/rbw and here is the relevant portion:

pinentry-curses: no LC_CTYPE known - assuming UTF-8
thread 'tokio-runtime-worker' panicked at 'Client::new(): reqwest::Error { kind: Builder, source: UnsupportedCriticalExtension }', /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/reqwest-0.11.9/src/async_impl/client.rs:1263:38

@minego
Copy link

minego commented Feb 22, 2022

As far as I can tell a library that rbw uses is unhappy with either my cert or something in the cert chain? I don't see why. My cert comes from Let's Encrypt.

@doy
Copy link
Owner

doy commented Feb 22, 2022

huh, fascinating. yeah, it is disliking something about your tls certificate. would it be possible for me to see the certificate you are using?

@minego
Copy link

minego commented Feb 22, 2022

Sure, it is on https://bitwarden.minego.net/

@minego
Copy link

minego commented Feb 22, 2022

I should point out that this cert is accepted by rbw on my Linux boxes, but fails on my macOS box. I've done a brew update, and am running the latest OS and all updates from Apple.

@minego
Copy link

minego commented Mar 1, 2022

Were you able to test with my cert?

@languitar
Copy link

This seems to be related to parsing the trusted certificates installed on the system with rustls-native-certs: rustls/rustls-native-certs#15 Some certificate in the local trust chain prevents building up the whole trust store. The linked issue contains a workaround/solution that would need to be implemented here -- if I understand it correctly -- to make this work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants