Strange behavior of Mobile App on two different devices - one impossible to connect

Good evening,
after reading a lot of various post looking for solution or hints on my issue, I could not find anything working in my case.
Context : in my house, I have one Samsung tablet (on android 7) and one phone on Android 10, both connected to the home internal wifi network.
Also, for increased security, I have setup the two-factor authentification (using Micrsoft authenticator).

The issue I have is that for some reason, I can’t connect to the server via the app on my tablet only. It works fine with the phone.
Basically, I launch the app.
It proposes right away to use the http://xxxx.duckdns.org:8123
then I enter my login and password → fine
Then it asks for the authenticator code: and then the dreadful box “impossible to connect to Home Assistant…”. And back to square one.

With the mobile phone (and even another older phone I have that I use as dashboard), the exact same step and authenticator works fine and I can connect.

Also, on the tablet, in the past (before 2021.10 as I recall, it used to work fine. And if I connect to the server via the navigator (Chrome), I succeed to connect (internal IP or external duckdns)

I have looked at the webview stuff (nothing weird) and other points listing in the forum, but to no avail.

Anyone could help and give me other steps to try?

Thanks in advance

Vincent

The device logs will point to the actual issue.

Hello dshokouhi,
thanks for taking some time on my case.
Which device log are you referring to and where to access it?
As I can not even launch the app, I can’t access the parameters nor the log that is accessible there

Is it written in a file somewhere I can access outside from the app?

On the server itself, in the integration “Application Mobile”, the tablet does not appear.

yes you need to access the on device logcat, you can use either android studio or an app like Logcat Reader. Just keep in mind both of them require a computer with USB cable to grant permissions, if you decide to go with the app it will guide you through what needs to be done. From there you can do a global search for homeassistant and it will pull up the logs after you reproduce the issue.

Good morning,
I have done the adb connection and installed logcat. The access to device log seems ok.
Then, I do the home assistant connection attemps again and saved the log covering this time period.
I attach the log txt file
With a global search, I do not see anything showing “homeassistant”… weird.
All I see is a warning “inputeventreceiver” saying “Attepmt to finish an input event but the input event receiver has already been disposed.”

Do you see anthing that strikes you?

I can’t figure out why it work everywhere fine except on this tablet, on which it used to work fine. I event tried to re-install HA_app clean…

<<< log_count = 287 >>>
[11-25 08:10:16.087 12529:12529 D/InputTransport]
Input channel destroyed: fd=82

[11-25 08:10:22.389 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:10:22.462 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:10:22.477 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:22.488 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:22.492 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:22.499 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:22.500 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:22.502 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:24.522 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 0

[11-25 08:10:24.527 12529:12529 D/LogcatReader]
[Logcat] onActivityInBackground

[11-25 08:10:24.593 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.destroy()#1

[11-25 08:10:24.598 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
Relayout returned: oldFrame=[0,0][2048,1536] newFrame=[0,0][2048,1536] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true

[11-25 08:10:24.622 12529:12529 D/InputTransport]
Input channel destroyed: fd=80

[11-25 08:10:24.675 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.destroy()#1

[11-25 08:10:24.680 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
Relayout returned: oldFrame=[0,0][2048,1536] newFrame=[0,0][2048,1536] result=0x1 surface={isValid=false 0} surfaceGenerationChanged=false

[11-25 08:10:51.765 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.destroy()#1

[11-25 08:10:51.769 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
Relayout returned: oldFrame=[0,0][2048,1536] newFrame=[0,0][2048,1536] result=0x1 surface={isValid=false 0} surfaceGenerationChanged=false

[11-25 08:10:51.776 12529:12529 D/LogcatReader]
[Logcat] onActivityInForeground

[11-25 08:10:51.776 12529:12529 D/LogcatReader]
[Logcat] Posting pending logs

[11-25 08:10:51.789 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
Relayout returned: oldFrame=[0,0][2048,1536] newFrame=[0,0][2048,1536] result=0x3 surface={isValid=true -1932759040} surfaceGenerationChanged=true

[11-25 08:10:51.789 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.initialize() mSurface={isValid=true -1932759040} hwInitialized=true

[11-25 08:10:51.793 12529:12554 D/mali_winsys]
EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [2048x1536]-format:1

[11-25 08:10:51.795 12529:12529 D/LogcatReader]
[LogcatLiveFragment] onServiceConnected

[11-25 08:10:51.797 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 1

[11-25 08:10:51.798 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1932759040}

[11-25 08:10:51.799 12529:12529 V/InputMethodManager]
Starting input: tba=android.view.inputmethod.EditorInfo@75776c4 nm : com.dp.logcatapp ic=null

[11-25 08:10:51.799 12529:12529 I/InputMethodManager]
[IMM] startInputInner - mService.startInputOrWindowGainedFocus

[11-25 08:10:51.805 12529:12529 D/InputTransport]
Input channel constructed: fd=65

[11-25 08:10:51.923 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.924 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.925 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.925 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.926 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.926 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.927 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.930 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.931 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.931 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.932 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.933 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.934 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.934 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.938 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.938 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.939 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.939 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.940 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.941 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.941 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.945 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.945 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.946 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.947 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.947 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.948 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.948 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.952 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.953 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.953 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.954 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.954 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.955 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.955 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.958 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.959 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.959 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.960 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.960 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.961 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.961 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.965 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.966 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.967 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.967 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.968 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.969 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.969 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.972 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.973 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.973 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.974 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.974 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.975 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:51.975 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:52.628 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:10:52.736 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:10:54.139 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:10:54.227 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:10:55.296 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:10:55.392 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:10:55.413 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.415 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.416 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.417 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.418 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.419 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.420 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.425 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.426 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.428 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.429 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.430 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.431 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.432 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.437 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.438 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.439 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.440 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.442 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.443 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.444 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.449 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.450 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.451 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.453 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.454 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.454 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.455 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.460 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.462 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.463 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.464 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.465 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.466 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.467 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.472 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.473 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.474 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.475 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.476 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.477 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.478 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.483 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.485 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.485 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.486 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.487 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.488 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.489 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.494 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.495 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.496 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.497 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.498 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.499 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.500 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.505 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.506 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.507 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.508 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.509 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.509 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.510 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.514 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.515 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.516 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.517 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.517 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.518 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.519 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.523 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.524 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.525 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.526 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.527 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.527 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.528 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.532 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.533 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.534 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.535 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.535 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.536 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:55.537 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:10:56.352 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:10:56.481 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:10:57.510 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:10:57.665 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:00.059 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:00.179 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:01.033 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:01.098 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:02.092 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:02.234 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:04.091 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:04.219 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:15.976 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:16.128 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:16.445 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:16.675 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:17.378 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:17.456 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:18.442 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:18.518 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:19.503 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:19.600 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:20.787 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:20.905 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:21.081 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:21.157 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:21.167 12529:12529 D/AbsListView]
Get MotionRecognitionManager

[11-25 08:11:21.175 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.177 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.181 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.182 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.184 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.187 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
ThreadedRenderer.create() translucent=true

[11-25 08:11:21.190 12529:12529 D/InputTransport]
Input channel constructed: fd=69

[11-25 08:11:21.190 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
setView = DecorView@a9e26e8[MainActivity] touchMode=true

[11-25 08:11:21.192 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
dispatchAttachedToWindow

[11-25 08:11:21.194 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.214 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
Relayout returned: oldFrame=[0,0][0,0] newFrame=[512,457][1536,1121] result=0x27 surface={isValid=true -1931501568} surfaceGenerationChanged=true

[11-25 08:11:21.215 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
mHardwareRenderer.initialize() mSurface={isValid=true -1931501568} hwInitialized=true

[11-25 08:11:21.216 12529:12554 D/mali_winsys]
EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1136x776]-format:1

[11-25 08:11:21.219 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.220 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.222 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.223 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.224 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.225 12529:12529 D/AbsListView]
 onsize change 

[11-25 08:11:21.233 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 1

[11-25 08:11:21.233 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1931501568}

[11-25 08:11:21.236 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:21.253 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
MSG_RESIZED_REPORT: frame=Rect(512, 457 - 1536, 1121) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=2

[11-25 08:11:21.277 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 0

[11-25 08:11:21.278 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:21.290 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
mHardwareRenderer.destroy()#4

[11-25 08:11:21.290 12529:12529 D/ViewRootImpl@83bf80b[MainActivity]]
dispatchDetachedFromWindow

[11-25 08:11:21.312 12529:12529 W/InputEventReceiver]
Attempted to finish an input event but the input event receiver has already been disposed.

[11-25 08:11:21.312 12529:12529 W/ViewRootImpl@83bf80b[MainActivity]]
Dropping event due to root view being removed: 

[11-25 08:11:21.312 12529:12529 E/ViewRootImpl@83bf80b[MainActivity]]
mStopped=false mHasWindowFocus=true mPausedForTransition=false

[11-25 08:11:21.312 12529:12529 W/InputEventReceiver]
Attempted to finish an input event but the input event receiver has already been disposed.

[11-25 08:11:21.312 12529:12529 D/InputTransport]
Input channel destroyed: fd=69

[11-25 08:11:21.313 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 1

[11-25 08:11:21.313 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1932759040}

[11-25 08:11:21.315 12529:12529 E/ViewRootImpl]
sendUserActionEvent() returned.

[11-25 08:11:22.436 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:22.542 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:25.777 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:25.852 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:27.812 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:27.885 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:28.836 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:28.920 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:29.884 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:29.980 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:30.090 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:30.166 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1

[11-25 08:11:30.183 12529:12529 D/AbsListView]
Get MotionRecognitionManager

[11-25 08:11:30.192 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.195 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.198 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.199 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.200 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.204 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
ThreadedRenderer.create() translucent=true

[11-25 08:11:30.207 12529:12529 D/InputTransport]
Input channel constructed: fd=80

[11-25 08:11:30.207 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
setView = DecorView@f862a54[MainActivity] touchMode=true

[11-25 08:11:30.209 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
dispatchAttachedToWindow

[11-25 08:11:30.211 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.226 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
Relayout returned: oldFrame=[0,0][0,0] newFrame=[512,457][1536,1121] result=0x27 surface={isValid=true -1932582912} surfaceGenerationChanged=true

[11-25 08:11:30.226 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
mHardwareRenderer.initialize() mSurface={isValid=true -1932582912} hwInitialized=true

[11-25 08:11:30.230 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.231 12529:12554 D/mali_winsys]
EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1136x776]-format:1

[11-25 08:11:30.232 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.233 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.234 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.236 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.236 12529:12529 D/AbsListView]
 onsize change 

[11-25 08:11:30.248 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 1

[11-25 08:11:30.248 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1932582912}

[11-25 08:11:30.251 12529:12529 D/TextView]
setTypeface with style : 0

[11-25 08:11:30.269 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
MSG_RESIZED_REPORT: frame=Rect(512, 457 - 1536, 1121) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=2

[11-25 08:11:30.285 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 0

[11-25 08:11:31.184 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:31.192 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
mHardwareRenderer.destroy()#4

[11-25 08:11:31.192 12529:12529 D/ViewRootImpl@3f575a7[MainActivity]]
dispatchDetachedFromWindow

[11-25 08:11:31.205 12529:12529 W/InputEventReceiver]
Attempted to finish an input event but the input event receiver has already been disposed.

[11-25 08:11:31.205 12529:12529 W/ViewRootImpl@3f575a7[MainActivity]]
Dropping event due to root view being removed: 

[11-25 08:11:31.205 12529:12529 E/ViewRootImpl@3f575a7[MainActivity]]
mStopped=false mHasWindowFocus=true mPausedForTransition=false

[11-25 08:11:31.205 12529:12529 W/InputEventReceiver]
Attempted to finish an input event but the input event receiver has already been disposed.

[11-25 08:11:31.205 12529:12529 D/InputTransport]
Input channel destroyed: fd=80

[11-25 08:11:31.206 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
MSG_WINDOW_FOCUS_CHANGED 1

[11-25 08:11:31.206 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -1932759040}

[11-25 08:11:31.208 12529:12529 E/ViewRootImpl]
sendUserActionEvent() returned.

[11-25 08:11:31.913 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 0

[11-25 08:11:32.053 12529:12529 D/ViewRootImpl@f2d1c01[MainActivity]]
ViewPostImeInputStage processPointer 1


I don’t see any errors and that pop-up shows up when there is an error. Did you make sure to enter the adb commands to grant verbose logging?

I will check, and if necessary do it again, but yes, I have followed the indications and entered the ADB command as written,
so it should have been ok.

I will check again…

Hi again,
after a reboot of the tablet, the logcat was much more Verbose.
I did the steps again and it seem a big warning comes out : see below at 19:31:57.177
and also at 19:31:53.577

But now, I don’t really know what to do with it… :frowning:


[11-25 19:31:53.576 3493:3493 D/BatteryMeterDrawable]
isSomethingChanged - false

[11-25 19:31:53.576 3493:3493 D/BatteryController]
onReceive - ACTION_BATTERY_CHANGED : mLevel = 46

[11-25 19:31:53.577 29608:29608 E/AuthenticationPresenter]
unable to register code
javax.net.ssl.SSLHandshakeException: Connection closed by peer
	at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
	at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:364)
	at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)
	at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at io.homeassistant.companion.android.common.data.HomeAssistantRetrofit$special$$inlined$-addInterceptor$1.intercept(OkHttpClient.kt:1087)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:762)

[11-25 19:31:53.577 29608:29608 W/ResourceType]
For resource 0x7f1401fc, entry index(508) is beyond type entryCount(183)




[11-25 19:31:57.177 4049:22505 W/NetworkScheduler]
Error inserting service_kind=0 source=16 tag=Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG target_package=com.google.android.gms requires_charging=0 source_version=214218000 required_network_type=0 flex_time=3427000 persistence_level=1 target_class=com.google.android.gms.measurement.PackageMeasurementTaskService runtime=1637865117168 retry_strategy={"maximum_backoff_seconds":{"3600":0},"initial_backoff_seconds":{"30":0},"retry_policy":{"0":0}} preferred_network_type=1 required_idleness_state=0 preferred_charging_state=1 period=6856000 last_runtime=0 task_type=0 job_id=-1 user_id=0, error message: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067)
#################################################################
Error Code : 2067 (SQLITE_CONSTRAINT_UNIQUE)
Caused By : Abort due to constraint violation.
	(UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067))
#################################################################
[CONTEXT service_id=218 ]

[11-25 19:31:57.347 28861:28861 D/TextView]
setTypeface with style : 0


This means there is an error with your SSL certificate. You’ll will need to make sure it’s valid for the URL.

Ok,
I will look in that direction
But I am using the same duckdns address on many other devices (at least 5), with the app and how come they would not raise this error?
The certificate is linked and renewed by duckdns, isn’t it?

Anyway thanks so much for your time and help so far.
At least now,I have a better clue.

Vincent

try checking that android system webview is up to date?

Good evening dshokouhi
I have spent the last 3 weeks looking for a solution but still nothing. My app, on this device, refuses to work.
With my device, under Android 7 and with the latest chrome version, the Android WebView can not be updated on the Google play. But in the parameter it says it is ok.

Would have any indication of what I could do more?
Thanks
Vincent

same probleme same version to android,
My server is okay with 2 other mobil.
I have test to disable chrome to use webview, because in this version of android Chrome seems to disable vebview to replace it. But same bug.

Hello,

After struggling for some time, I decided to reset my tablet and flash a custom ROM on it (Lineoage OS 18.1).
Then in this case, the HA app installs properly and can connect.
I don’t know if the trouble I had was related to android 7, or to a setup in my device. A clean start did the trick anyway…

For info, on the French HA forum (HACF), @uowis solved his issue by changing the algo in the duckdns setup.
See post 31 in this link

aliases: []
domains:
  - xxxxxxxxx
lets_encrypt:
  accept_terms: true
  algo: rsa
  certfile: fullchain.pem
  keyfile: privkey.pem
seconds: 300
token: xxxxxxxxxxxxxxxxx

I case it helps…
Vincent