Hi,
Device:
Xiaomi Mi A3
Android 10 (all updates installed)
Version 2.6.1
When I try to click on Log In or use the Button on the Keyboard i see following in logcat:
2020-10-20 18:58:36.920 32433-32433/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.x8bit.bitwarden, PID: 32433
android.runtime.JavaProxyThrowable: System.InvalidOperationException: The character set provided in ContentType is invalid. Cannot read content as string using an invalid character set. ---> System.ArgumentException: '"UTF-8"' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Parameter name: name
at System.Globalization.EncodingTable.internalGetCodePageFromName (System.String name) [0x00097] in <8f1a893b5ab6478299d5fb8196347666>:0
at System.Globalization.EncodingTable.GetCodePageFromName (System.String name) [0x00036] in <8f1a893b5ab6478299d5fb8196347666>:0
at System.Text.Encoding.GetEncoding (System.String name) [0x0000c] in <8f1a893b5ab6478299d5fb8196347666>:0
at System.Net.Http.HttpContent.ReadBufferAsString (System.ArraySegment`1[T] buffer, System.Net.Http.Headers.HttpContentHeaders headers) [0x00024] in <a2ae59b2c6064ca894b95b94571efabb>:0
--- End of inner exception stack trace ---
at System.Net.Http.HttpContent.ReadBufferAsString (System.ArraySegment`1[T] buffer, System.Net.Http.Headers.HttpContentHeaders headers) [0x00040] in <a2ae59b2c6064ca894b95b94571efabb>:0
at System.Net.Http.HttpContent.ReadBufferedContentAsString () [0x00036] in <a2ae59b2c6064ca894b95b94571efabb>:0
at System.Net.Http.HttpContent+<>c.<ReadAsStringAsync>b__36_0 (System.Net.Http.HttpContent s) [0x00000] in <a2ae59b2c6064ca894b95b94571efabb>:0
at System.Net.Http.HttpContent.WaitAndReturnAsync[TState,TResult] (System.Threading.Tasks.Task waitTask, TState state, System.Func`2[T,TResult] returnFunc) [0x0006b] in <a2ae59b2c6064ca894b95b94571efabb>:0
at Bit.Core.Services.ApiService.SendAsync[TRequest,TResponse] (System.Net.Http.HttpMethod method, System.String path, TRequest body, System.Boolean authed, System.Boolean hasResponse) [0x002cc] in <6dfd726fecb34ba79c31a035ec98a215>:0
at Bit.Core.Services.AuthService.MakePreloginKeyAsync (System.String masterPassword, System.String email) [0x000b7] in <6dfd726fecb34ba79c31a035ec98a215>:0
at Bit.Core.Services.AuthService.LogInAsync (System.String email, System.String masterPassword) [0x00093] in <6dfd726fecb34ba79c31a035ec98a215>:0
at Bit.App.Pages.LoginPageViewModel.LogInAsync () [0x0036e] in <0c3398d4c9ce4e56ba576728f942d695>:0
at Bit.App.Pages.LoginPageViewModel.<.ctor>b__12_0 () [0x00062] in <0c3398d4c9ce4e56ba576728f942d695>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <8f1a893b5ab6478299d5fb8196347666>:0
at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <3b6b09cca6ad40039584e80046fcd050>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <3b6b09cca6ad40039584e80046fcd050>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <3b6b09cca6ad40039584e80046fcd050>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.59(intptr,intptr)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7397)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
On Another Phone (Mi Mix 2, Android 10, Lineage Os it's working)
Current Solution for Enduser:
when you have a custom server set "https://url.domain.de"
You need to add the Port and the error is gone like "https://url.domain.de:6266"
Edit
After 1 successful Login the App keeps crashing when trying to login ...
Hi,
Device:
Xiaomi Mi A3
Android 10 (all updates installed)
Version 2.6.1
When I try to click on Log In or use the Button on the Keyboard i see following in logcat:
On Another Phone (Mi Mix 2, Android 10, Lineage Os it's working)
Current Solution for Enduser:
when you have a custom server set "https://url.domain.de"
You need to add the Port and the error is gone like "https://url.domain.de:6266"
Edit
After 1 successful Login the App keeps crashing when trying to login ...