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

cannot connect over HTTPS: Socket creation failed #3629

Open
marcusb opened this issue Mar 21, 2024 · 4 comments
Open

cannot connect over HTTPS: Socket creation failed #3629

marcusb opened this issue Mar 21, 2024 · 4 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@marcusb
Copy link

marcusb commented Mar 21, 2024

Actual behaviour

App is configured with a local server only, at a HTTPS URL that works fine in the browser. But the app fails to connect to the server. At startup it only says Connnection to local server failed and you haven't configured a remote server.

I have also verified with tcpdump that it isn't even trying to connect to the server, there is no traffic at all. The server's DNS record resolves to both IPv4 and IPv6 addresses.

If I switch to a local http:// URL, it works.

Log contains some network connection errors:

03-20 21:37:07.107 20008 20071 D AbstractConnection: Socket creation failed (attempt  2)
03-20 21:37:07.310 20008 20071 D AbstractConnection: Socket creation failed (attempt  3)
03-20 21:37:07.510 20008 20068 D AbstractConnection: Socket creation failed (attempt  4)

Expected behaviour

Should connect to server and show the Main UI.

Can you reproduce the issue in demo mode?

No

Environment data

Client

  • Android version: 13
  • Device model: Samsung Galaxy S20 5G
  • App version: 3.11.0
  • Build flavor: Full
  • Device language: en

Server

  • Server version: 4.1.1
  • Reverse Proxy: nginx
  • Authentication method: none

openHAB Cloud

Not set, only local server configured.

Logs

App log

Click to expand


-----------------------
Device information
Model: SM-G981U
Manufacturer: samsung
Brand: samsung
Device: x1q
Product: x1qsqx
OS: 13
Display: 1080x2178, 3.0 density
Data usage policy: DataUsagePolicy(canDoLargeTransfers=true, loadIconsWithState=true, autoPlayVideos=true, canDoRefreshes=true), data saver: 1, battery saver: false
-----------------------

--------- beginning of main
03-20 21:37:05.346 20008 20008 D AbstractBaseActivity: No next snackbar to show
--------- beginning of system
03-20 21:37:06.631 20008 20008 D Activity: onBackPressed
--------- beginning of events
03-20 21:37:06.637 20008 20008 I wm_on_top_resumed_lost_called: [25720994,org.openhab.habdroid.ui.LogActivity,topStateChangedWhenResumed]
03-20 21:37:06.637 20008 20008 I wm_on_paused_called: [25720994,org.openhab.habdroid.ui.LogActivity,performPause]
03-20 21:37:06.646 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: handleAppVisibility mAppVisible = false visible = true
03-20 21:37:06.646 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: stopped(false) old = true
03-20 21:37:06.646 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: WindowStopped on org.openhab.habdroid/org.openhab.habdroid.ui.preference.PreferencesActivity set to false
03-20 21:37:06.649 20008 20008 I wm_on_restart_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,performRestartActivity]
03-20 21:37:06.651 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:06.652 20008 20008 I wm_on_start_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,handleStartActivity]
03-20 21:37:06.652 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@a5f9d4f[PreferencesActivity]
03-20 21:37:06.652 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: stopped(false) old = false
03-20 21:37:06.652 20008 20008 I wm_on_resume_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,RESUME_ACTIVITY]
03-20 21:37:06.653 20008 20008 I wm_on_top_resumed_gained_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,topWhenResuming]
03-20 21:37:06.653 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@a5f9d4f[PreferencesActivity]
03-20 21:37:06.654 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=true mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION wanim=0x1030309
03-20 21:37:06.654 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]:   fl=81810100
03-20 21:37:06.654 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]:   pfl=16020040
03-20 21:37:06.654 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]:   vsysui=500
03-20 21:37:06.654 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]:   bhv=DEFAULT
03-20 21:37:06.654 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]:   fitSides= naviIconColor=0}
03-20 21:37:06.661 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: updateBlastSurfaceIfNeeded mBlastBufferQueue=null isSameSurfaceControl=false
03-20 21:37:06.661 20008 20008 I BLASTBufferQueue: new BLASTBufferQueue, mName= ViewRootImpl@51ab10f[PreferencesActivity] mNativeObject= 0xb4000077cca4f6f0 sc.mNativeObject= 0xb40000775cadaef0 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2909 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 android.view.Choreographer.doCallbacks:923 android.view.Choreographer.doFrame:852 android.view.Choreographer$FrameDisplayEventReceiver.run:1283 
03-20 21:37:06.661 20008 20008 I BLASTBufferQueue: update, w= 1080 h= 2400 mName = ViewRootImpl@51ab10f[PreferencesActivity] mNativeObject= 0xb4000077cca4f6f0 sc.mNativeObject= 0xb40000775cadaef0 format= -1 caller= android.graphics.BLASTBufferQueue.<init>:84 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2909 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 
03-20 21:37:06.661 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=7 res=0x3 s={true 0xb40000785ca3adf0} ch=true seqId=0
03-20 21:37:06.662 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb40000785ca3adf0} hwInitialized=true
03-20 21:37:06.662 20008 20058 D OpenGLRenderer: eglCreateWindowSurface
03-20 21:37:06.662 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4438 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 
03-20 21:37:06.662 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: Setup new sync id=1
03-20 21:37:06.662 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: Setting syncFrameCallback
03-20 21:37:06.662 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: registerCallbacksForSync syncBuffer=false
03-20 21:37:06.677 20008 20064 I ViewRootImpl@51ab10f[PreferencesActivity]: Received frameDrawingCallback syncResult=0 frameNum=1.
03-20 21:37:06.677 20008 20064 I ViewRootImpl@51ab10f[PreferencesActivity]: Setting up sync and frameCommitCallback
03-20 21:37:06.678 20008 20058 I BLASTBufferQueue: [ViewRootImpl@51ab10f[PreferencesActivity]#5](f:0,a:0) onFrameAvailable the first frame is available
03-20 21:37:06.678 20008 20058 I ViewRootImpl@51ab10f[PreferencesActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
03-20 21:37:06.679 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: onSyncComplete
03-20 21:37:06.679 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: setupSync seqId=0 mSyncId=1 fn=1 caller=android.view.ViewRootImpl$$ExternalSyntheticLambda11.accept:6 android.window.SurfaceSyncer.lambda$setupSync$1$android-window-SurfaceSyncer:128 android.window.SurfaceSyncer$$ExternalSyntheticLambda1.accept:8 android.window.SurfaceSyncer$SyncSet.checkIfSyncIsComplete:382 android.window.SurfaceSyncer$SyncSet.markSyncReady:359 android.window.SurfaceSyncer.markSyncReady:151 android.view.ViewRootImpl.performTraversals:4503 
03-20 21:37:06.679 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: reportDrawFinished seqId=0 mSyncId=-1 fn=1 mSurfaceChangedTransaction=0xb40000778ca35ad0
03-20 21:37:06.681 20008 20071 D ConnectionFactory: checkAvailableConnection: found types [ConnectionType(type = Wifi, network=764), ConnectionType(type = Mobile, network=613)]
03-20 21:37:06.682 20008 20071 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:06.682 20008 20071 D ConnectionFactory: Server openHAB isn't restricted to Wi-Fis
03-20 21:37:06.682 20008 20071 D AbstractConnection: Checking reachability of https://<openhab-local-address-openHAB>/ (via 764)
03-20 21:37:06.687 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: MSG_WINDOW_FOCUS_CHANGED 0 0
03-20 21:37:06.691 20008 20071 D TrafficStats: tagSocket(123) with statsTag=0xffffffff, statsUid=-1
03-20 21:37:06.693 20008 20008 I wm_on_idle_called: {org.openhab.habdroid/org.openhab.habdroid.ui.preference.PreferencesActivity}
03-20 21:37:06.705 20008 20071 D AbstractConnection: Socket creation failed (attempt  0)
03-20 21:37:06.747 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: MSG_WINDOW_FOCUS_CHANGED 1 0
03-20 21:37:06.747 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb40000785ca3adf0}
03-20 21:37:06.748 20008 20008 D InputMethodManager: startInputInner - Id : 0
03-20 21:37:06.748 20008 20008 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-20 21:37:06.906 20008 20071 D AbstractConnection: Socket creation failed (attempt  1)
03-20 21:37:07.034 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: handleAppVisibility mAppVisible = true visible = false
03-20 21:37:07.045 20008 20058 D OpenGLRenderer: setSurface called with nullptr
03-20 21:37:07.045 20008 20058 D OpenGLRenderer: setSurface() destroyed EGLSurface
03-20 21:37:07.045 20008 20058 D OpenGLRenderer: destroyEglSurface
03-20 21:37:07.046 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=true mForceNextWindowRelayout=false params=null
03-20 21:37:07.049 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)8 dur=2 res=0x2 s={false 0x0} ch=true seqId=0
03-20 21:37:07.049 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: stopped(true) old = false
03-20 21:37:07.049 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: WindowStopped on org.openhab.habdroid/org.openhab.habdroid.ui.LogActivity set to true
03-20 21:37:07.050 20008 20008 I wm_on_stop_called: [25720994,org.openhab.habdroid.ui.LogActivity,LIFECYCLER_STOP_ACTIVITY]
03-20 21:37:07.050 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@998eaa0[LogActivity]
03-20 21:37:07.051 20008 20008 I wm_on_destroy_called: [25720994,org.openhab.habdroid.ui.LogActivity,performDestroy]
03-20 21:37:07.051 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@998eaa0[LogActivity]
03-20 21:37:07.051 20008 20058 D OpenGLRenderer: setSurface called with nullptr
03-20 21:37:07.051 20008 20008 I ViewRootImpl@a4a3890[LogActivity]: dispatchDetachedFromWindow
03-20 21:37:07.054 20008 20008 D InputTransport: Input channel destroyed: '213801c', fd=122
03-20 21:37:07.107 20008 20071 D AbstractConnection: Socket creation failed (attempt  2)
03-20 21:37:07.310 20008 20071 D AbstractConnection: Socket creation failed (attempt  3)
03-20 21:37:07.510 20008 20068 D AbstractConnection: Socket creation failed (attempt  4)
03-20 21:37:07.589 20008 20008 I wm_on_top_resumed_lost_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,topStateChangedWhenResumed]
03-20 21:37:07.590 20008 20008 I wm_on_paused_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,performPause]
03-20 21:37:07.598 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: handleAppVisibility mAppVisible = false visible = true
03-20 21:37:07.598 20008 20008 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10321; state: ENABLED
03-20 21:37:07.598 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: stopped(false) old = true
03-20 21:37:07.598 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: WindowStopped on org.openhab.habdroid/org.openhab.habdroid.ui.MainActivity set to false
03-20 21:37:07.599 20008 20008 I wm_on_restart_called: [55018023,org.openhab.habdroid.ui.MainActivity,performRestartActivity]
03-20 21:37:07.599 20008 20008 D MainActivity: onStart()
03-20 21:37:07.599 20008 20008 D PageConnectionHolderFragment: onStart(), started false
03-20 21:37:07.600 20008 20008 I DecorView: notifyKeepScreenOnChanged: keepScreenOn=false
03-20 21:37:07.601 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.601 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.602 20008 20008 D MainActivity: onActiveConnectionChanged()
03-20 21:37:07.603 20008 20008 D ContentController: Indicate missing configuration (resolveAttempted false)
03-20 21:37:07.603 20008 20008 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection null
03-20 21:37:07.605 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.606 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.606 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.607 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.610 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.610 20008 20008 D MainActivity: Cannot auto select server: No server with configured wifi
03-20 21:37:07.610 20008 20008 I wm_on_start_called: [55018023,org.openhab.habdroid.ui.MainActivity,handleStartActivity]
03-20 21:37:07.610 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@858b401[MainActivity]
03-20 21:37:07.610 20008 20008 D MainActivity: preferenceActivityCallback: ActivityResult{resultCode=RESULT_OK, data=Intent {  }}
03-20 21:37:07.610 20008 20008 I wm_on_activity_result_called: [55018023,org.openhab.habdroid.ui.MainActivity,ACTIVITY_RESULT]
03-20 21:37:07.610 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: stopped(false) old = false
03-20 21:37:07.610 20008 20008 D MainActivity: onResume()
03-20 21:37:07.611 20008 20008 D ScrollView: initGoToTop
03-20 21:37:07.618 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://<openhab-local-address-openHAB>/, userName=<redacted>, password=<redacted>), remotePath=null, sslClientCert=null, defaultSitemap=DefaultSitemap(name=home, label=Home), wifiSsids=[], restrictToWifiSsids=false, frontailUrl=null)
03-20 21:37:07.618 20008 20008 I wm_on_resume_called: [55018023,org.openhab.habdroid.ui.MainActivity,RESUME_ACTIVITY]
03-20 21:37:07.618 20008 20008 I wm_on_top_resumed_gained_called: [55018023,org.openhab.habdroid.ui.MainActivity,topWhenResuming]
03-20 21:37:07.618 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@858b401[MainActivity]
03-20 21:37:07.619 20008 20008 D MainActivity: onCreateOptionsMenu()
03-20 21:37:07.619 20008 20008 D MainActivity: onPrepareOptionsMenu()
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: performTraversals params={(0,0)(fillxfill) sim={adjust=pan} ty=BASE_APPLICATION wanim=0x1030309
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   fl=81810100
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   pfl=16020040
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   vsysui=500
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   bhv=DEFAULT
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   fitSides= naviIconColor=0}
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=true mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=pan} ty=BASE_APPLICATION wanim=0x1030309
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   fl=81810100
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   pfl=16020040
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   vsysui=500
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   bhv=DEFAULT
03-20 21:37:07.620 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]:   fitSides= naviIconColor=0}
03-20 21:37:07.628 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: updateBlastSurfaceIfNeeded mBlastBufferQueue=null isSameSurfaceControl=false
03-20 21:37:07.628 20008 20008 I BLASTBufferQueue: new BLASTBufferQueue, mName= ViewRootImpl@81c7fc0[MainActivity] mNativeObject= 0xb4000077cca9e250 sc.mNativeObject= 0xb40000775cc43a80 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2909 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 android.view.Choreographer.doCallbacks:923 android.view.Choreographer.doFrame:852 android.view.Choreographer$FrameDisplayEventReceiver.run:1283 
03-20 21:37:07.628 20008 20008 I BLASTBufferQueue: update, w= 1080 h= 2400 mName = ViewRootImpl@81c7fc0[MainActivity] mNativeObject= 0xb4000077cca9e250 sc.mNativeObject= 0xb40000775cc43a80 format= -1 caller= android.graphics.BLASTBufferQueue.<init>:84 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2909 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 
03-20 21:37:07.628 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=8 res=0x3 s={true 0xb40000785ca3f210} ch=true seqId=0
03-20 21:37:07.628 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb40000785ca3f210} hwInitialized=true
03-20 21:37:07.629 20008 20058 D OpenGLRenderer: eglCreateWindowSurface
03-20 21:37:07.629 20008 20008 D ScrollView:  onsize change changed 
03-20 21:37:07.633 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4438 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 android.view.Choreographer$CallbackRecord.run:1309 
03-20 21:37:07.633 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: Setup new sync id=1
03-20 21:37:07.633 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: Setting syncFrameCallback
03-20 21:37:07.633 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: registerCallbacksForSync syncBuffer=false
03-20 21:37:07.635 20008 20065 I ViewRootImpl@81c7fc0[MainActivity]: Received frameDrawingCallback syncResult=0 frameNum=1.
03-20 21:37:07.635 20008 20065 I ViewRootImpl@81c7fc0[MainActivity]: Setting up sync and frameCommitCallback
03-20 21:37:07.637 20008 20058 I BLASTBufferQueue: [ViewRootImpl@81c7fc0[MainActivity]#6](f:0,a:0) onFrameAvailable the first frame is available
03-20 21:37:07.637 20008 20058 I ViewRootImpl@81c7fc0[MainActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
03-20 21:37:07.637 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: onSyncComplete
03-20 21:37:07.638 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: setupSync seqId=0 mSyncId=1 fn=1 caller=android.view.ViewRootImpl$$ExternalSyntheticLambda11.accept:6 android.window.SurfaceSyncer.lambda$setupSync$1$android-window-SurfaceSyncer:128 android.window.SurfaceSyncer$$ExternalSyntheticLambda1.accept:8 android.window.SurfaceSyncer$SyncSet.checkIfSyncIsComplete:382 android.window.SurfaceSyncer$SyncSet.markSyncReady:359 android.window.SurfaceSyncer.markSyncReady:151 android.view.ViewRootImpl.performTraversals:4503 
03-20 21:37:07.638 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: reportDrawFinished seqId=0 mSyncId=-1 fn=1 mSurfaceChangedTransaction=0xb40000778ca27430
03-20 21:37:07.638 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: MSG_WINDOW_FOCUS_CHANGED 0 0
03-20 21:37:07.643 20008 20008 I wm_on_idle_called: {org.openhab.habdroid/org.openhab.habdroid.ui.MainActivity}
03-20 21:37:07.673 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 0
03-20 21:37:07.674 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb40000785ca3f210}
03-20 21:37:07.674 20008 20008 D InputMethodManager: startInputInner - Id : 0
03-20 21:37:07.674 20008 20008 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-20 21:37:07.711 20008 20068 D AbstractConnection: Socket creation failed (attempt  5)
03-20 21:37:07.911 20008 20068 D AbstractConnection: Socket creation failed (attempt  6)
03-20 21:37:07.964 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: handleAppVisibility mAppVisible = true visible = false
03-20 21:37:07.972 20008 20058 D OpenGLRenderer: setSurface called with nullptr
03-20 21:37:07.972 20008 20058 D OpenGLRenderer: setSurface() destroyed EGLSurface
03-20 21:37:07.972 20008 20058 D OpenGLRenderer: destroyEglSurface
03-20 21:37:07.973 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=true mForceNextWindowRelayout=false params=null
03-20 21:37:07.977 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)8 dur=4 res=0x2 s={false 0x0} ch=true seqId=0
03-20 21:37:07.977 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: stopped(true) old = false
03-20 21:37:07.977 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: WindowStopped on org.openhab.habdroid/org.openhab.habdroid.ui.preference.PreferencesActivity set to true
03-20 21:37:07.978 20008 20008 I wm_on_stop_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,LIFECYCLER_STOP_ACTIVITY]
03-20 21:37:07.978 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@a5f9d4f[PreferencesActivity]
03-20 21:37:07.981 20008 20008 I wm_on_destroy_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,performDestroy]
03-20 21:37:07.981 20008 20008 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@a5f9d4f[PreferencesActivity]
03-20 21:37:07.982 20008 20058 D OpenGLRenderer: setSurface called with nullptr
03-20 21:37:07.982 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: dispatchDetachedFromWindow
03-20 21:37:07.984 20008 20008 D InputTransport: Input channel destroyed: '21baeea', fd=126
03-20 21:37:08.112 20008 20068 D AbstractConnection: Socket creation failed (attempt  7)
03-20 21:37:08.315 20008 20068 D AbstractConnection: Socket creation failed (attempt  8)
03-20 21:37:08.400 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: ViewPostIme pointer 0
03-20 21:37:08.464 20008 20008 I ViewRootImpl@81c7fc0[MainActivity]: ViewPostIme pointer 1
03-20 21:37:08.471 20008 20008 I ActivityThread: Schedule relaunch activity: org.openhab.habdroid.ui.MainActivity
03-20 21:37:08.471 20008 20008 I wm_on_top_resumed_lost_called: [55018023,org.openhab.habdroid.ui.MainActivity,pausing]
03-20 21:37:08.471 20008 20008 D MainActivity: onPause()
03-20 21:37:08.473 20008 20008 I wm_on_paused_called: [55018023,org.openhab.habdroid.ui.MainActivity,performPause]
03-20 21:37:08.473 20008 20008 D MainActivity: onStop()
03-20 21:37:08.473 20008 20008 D PageConnectionHolderFragment: onStop()
03-20 21:37:08.474 20008 20008 I wm_on_stop_called: [55018023,org.openhab.habdroid.ui.MainActivity,handleRelaunchActivity]
03-20 21:37:08.474 20008 20008 D MainActivity: onSaveInstanceState()
03-20 21:37:08.474 20008 20008 D ContentController: onSaveInstanceState()
03-20 21:37:08.474 20008 20008 I wm_on_destroy_called: [55018023,org.openhab.habdroid.ui.MainActivity,performDestroy]
@marcusb marcusb added the bug Indicates an unexpected problem or unintended behavior label Mar 21, 2024
@mueller-ma
Copy link
Member

Does the app display Sitemaps over HTTPS or is the issue only related to Main UI?

@marcusb
Copy link
Author

marcusb commented Mar 31, 2024

It doesn't load sitemaps either, this error seems to happen before any data is loaded.

@mueller-ma
Copy link
Member

Just to be sure: the combination of scheme, url and port in the settings in correct?

@marcusb
Copy link
Author

marcusb commented Apr 4, 2024

Just to be sure: the combination of scheme, url and port in the settings in correct?

Yes, absolutely sure. Double-checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants