Forum / Remote Desktop Manager - AddOns

Bitwarden - unable to connect

  • Create an Issue
  • Cancel

I'm moving over from LastPass to Bitwarden but I cannot get RDM v14.0.8.0 to connect to my account:


[23/11/2018 14:47:28 - 14.0.8.0 - 64-bit] Error: Devolutions.BitwardenManagement.ClientException: Invalid JSON in response from 'https://vault.bitwarden.com/api/accounts/prelogin' ---> Newtonsoft.Json.JsonSerializationException: Required property 'c22ac3933b44a3a846b9e8f0e30789aa4' not found in JSON. Path '', line 1, position 32.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EndProcessProperty(Object newObject, JsonReader reader, JsonObjectContract contract, Int32 initialDepth, JsonProperty property, PropertyPresence presence, Boolean setDefaultValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at A.c35d393723cfe31f3f808596f6f7ecae8.ca51ed2a14eb15e276dd7b06431fc9b88[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2ad4aaec0ff471d6c859511e38ba8050, String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 c223084616c882f0595ad4fe678f119d2, Func`3 c4da66d4e934a12695b4a89ff6089eaa6, Func`2 c535082350bb62fbfdf7fe7397df45fdb)
--- End of inner exception stack trace ---
at A.c35d393723cfe31f3f808596f6f7ecae8.ca51ed2a14eb15e276dd7b06431fc9b88[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2ad4aaec0ff471d6c859511e38ba8050, String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 c223084616c882f0595ad4fe678f119d2, Func`3 c4da66d4e934a12695b4a89ff6089eaa6, Func`2 c535082350bb62fbfdf7fe7397df45fdb)
at A.c35d393723cfe31f3f808596f6f7ecae8.ca51ed2a14eb15e276dd7b06431fc9b88[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2ad4aaec0ff471d6c859511e38ba8050, String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 c223084616c882f0595ad4fe678f119d2, Func`3 c4da66d4e934a12695b4a89ff6089eaa6)
at A.c35d393723cfe31f3f808596f6f7ecae8.c9e75369d8d0083fc5f56896a897e2a62[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 cd859b08da59abe612143bd1559182965, String cb8465c85abec9e74db08b6fcb02138b8, Func`2 cd3ac9772090df77043f920c30744b665, Func`5 c4da66d4e934a12695b4a89ff6089eaa6)
at A.c35d393723cfe31f3f808596f6f7ecae8.c9e75369d8d0083fc5f56896a897e2a62[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 cd859b08da59abe612143bd1559182965)
at A.c0c9b4376a95c83cda5c8aaa674f0a770.cfb84b3ad2de99583727eb2671a0eef7f(String c4c707ece3170514f8504b161d5b38c17, c35d393723cfe31f3f808596f6f7ecae8 cdbbf219ea292a848b5c568e2833a47f0)
at A.c0c9b4376a95c83cda5c8aaa674f0a770.c77435cee3d84f42b6bcb99578b7887e2(String c4c707ece3170514f8504b161d5b38c17, String ceb81d1ee93f91e0bc57f34876c263863, IHttpClient c7db9ccbcc9e363b4afa5482d2e2b187a)
at Devolutions.BitwardenManagement.Vault.Open(String username, String password)
at Devolutions.RemoteDesktopManager.Managers.BitwardenManager.Initialize(String username, String password)


In case it helps, my Bitwarden email address is in "plus address format" e.g. myaddress+suffix@mydomain.com (I know this sometimes causes problems, but it's valid) and also the account is protected with Duo so it requires 2FA with my phone.

Clock18 days

Hello,
Sorry about that. We have found an issue with the release and the code obfuscation. The update should be release really soon.

Regards

David Hervieux

signaturesignature

Clock18 days

Great news, thank-you for prompt response - I still have LastPass active so it's not a problem for the moment.

Clock18 days

I just updated to 14.0.9.0 and it still doesn't work:


Devolutions.BitwardenManagement.ClientException: POST request to 'https://vault.bitwarden.com/identity/connect/token' failed with HTTP status code BadRequest (400) ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
at System.Net.WebClient.UploadString(Uri address, String method, String data)
at A.c47dc43029cb6c2e740ea95895c2f57ca.Post(String url, String content, Dictionary`2 headers)
at A.c35d393723cfe31f3f808596f6f7ecae8.ca51ed2a14eb15e276dd7b06431fc9b88[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2ad4aaec0ff471d6c859511e38ba8050, String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 c223084616c882f0595ad4fe678f119d2, Func`3 c4da66d4e934a12695b4a89ff6089eaa6, Func`2 c535082350bb62fbfdf7fe7397df45fdb)
--- End of inner exception stack trace ---
at A.c0c9b4376a95c83cda5c8aaa674f0a770.cd02f912d8fa446ef9da69b701293d6d8(String c4c707ece3170514f8504b161d5b38c17, Byte[] ccf269a0f4d2eb455fcab6fb74eb13c53, c35d393723cfe31f3f808596f6f7ecae8 cdbbf219ea292a848b5c568e2833a47f0)
at A.c0c9b4376a95c83cda5c8aaa674f0a770.c77435cee3d84f42b6bcb99578b7887e2(String c4c707ece3170514f8504b161d5b38c17, String ceb81d1ee93f91e0bc57f34876c263863, IHttpClient c7db9ccbcc9e363b4afa5482d2e2b187a)
at Devolutions.BitwardenManagement.Vault.Open(String username, String password)
at Devolutions.RemoteDesktopManager.Managers.BitwardenManager.Initialize(String username, String password)

Clock15 days

Hi @Taomyn,

What type of account do you have, I've personally tested on the Free version of the bitwarden app.

Is it possible that you are using the premium, team or enterprise version ?

And for test purpose, could you try the free version of bitwarden.

From those info we should be able to pinpoint the issue real quick.

Regards,

Alexandre Roy

signaturesignature

Clock15 days

For Bitwarden I am on the premium membership, and it's protected by Duo which I probably intend to keep on free, but is currently in the trial period so some paid services are currently enabled though I don't think I am using any.

Clock15 days

Hello again,

We've got some news!

We haven't integrated the code to support the 2 factor yet, that is why you are getting this issue. We've added a feature request to make this work. As for now the only way to make the entry work is without the 2fa activated, sorry for that.

We sadly do not have an ETA but we are currently working on it.

Best regards,

Alexandre Roy

signaturesignature

Clock15 days

Ok, no worries - for now I still have a few months of LastPass subscription remaining so I hope you can get it done before that expires.

Clock14 days

I see for 14.0.11.0 a note about Duo 2FA but I can only assume it's still not usable with Bitwarden? I enabled the option then tried to add a Bitwarden credential and all I get is this:


Devolutions.BitwardenManagement.ClientException: POST request to 'https://vault.bitwarden.com/identity/connect/token' failed with HTTP status code BadRequest (400) ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request) at System.Net.WebClient.UploadString(Uri address, String method, String data) at A.c47dc43029cb6c2e740ea95895c2f57ca.Post(String url, String content, Dictionary`2 headers) at A.c35d393723cfe31f3f808596f6f7ecae8.c95687b8a94e164588924532ccb7f25fa`1.c4285f9ff32596722d5346715b76e3f55(String ce3fdffbfdaf778b0b6e1bed746c5e5f0, Dictionary`2 c223084616c882f0595ad4fe678f119d2) at A.c35d393723cfe31f3f808596f6f7ecae8.ca51ed2a14eb15e276dd7b06431fc9b88[cb75a0a5d15a1ad8b8a8a5e57cca214a3](String c2ad4aaec0ff471d6c859511e38ba8050, String c2819ee8f388b5c32ac62d939dae428c0, Dictionary`2 c223084616c882f0595ad4fe678f119d2, Func`3 c4da66d4e934a12695b4a89ff6089eaa6, Func`2 c535082350bb62fbfdf7fe7397df45fdb) --- End of inner exception stack trace --- at A.c0c9b4376a95c83cda5c8aaa674f0a770.cd02f912d8fa446ef9da69b701293d6d8(String c4c707ece3170514f8504b161d5b38c17, Byte[] ccf269a0f4d2eb455fcab6fb74eb13c53, c35d393723cfe31f3f808596f6f7ecae8 cdbbf219ea292a848b5c568e2833a47f0) at A.c0c9b4376a95c83cda5c8aaa674f0a770.c77435cee3d84f42b6bcb99578b7887e2(String c4c707ece3170514f8504b161d5b38c17, String ceb81d1ee93f91e0bc57f34876c263863, IHttpClient c7db9ccbcc9e363b4afa5482d2e2b187a) at Devolutions.BitwardenManagement.Vault.Open(String username, String password) at Devolutions.RemoteDesktopManager.Managers.BitwardenManager.Initialize(String username, String password)

Perhaps I'm missing something.

Clock5 days

Hi,

No this feature added in 14.0.11.0 is to set a default options between Push/SMS/Phone authentications method whenever you recieve a DUO 2fa prompt.

Your feature request is currently being analysed.

Regards,

Alexandre Roy

signaturesignature

Clock5 days