OH 4.0.4 - Several Bindings stop working after a few days - Many errors "org.eclipse.jetty.io.IdleTimeout"

  • Platform information:
    • Hardware: Rapberry Pi 4B 4 GB memory
    • OS: openhabian 6.1.21-v8
    • Java Runtime Environment:
      • openjdk version “17.0.9” 2023-10-17
      • OpenJDK Runtime Environment (build 17.0.9+9-Raspbian-1deb11u1rpt1)
      • OpenJDK Client VM (build 17.0.9+9-Raspbian-1deb11u1rpt1, mixed mode, emulated-client)
    • openHAB version: 4.04

Since several months (even with 4.0.3 before) I face the issue that several Bindings stop working after a few days. I recognize this situation, when may regular notfication are not sent anymore.
I started debugging with setting the root log to DEBUG and found, that many eceptions “org.eclipse.jetty.io.IdleTimeout” appear in the openhab.log. They are mostly related to a sitemap named “zuhause” (means “Home” in English). This is a sample log entry:

2024-01-14 19:53:46.590 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@13d1c4e{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]

My first change was to make the sitemap somewhat smaller and to remove several entries from the sitemap to see if that would influence th situation. But this did not lead to success.

Today I tried to rename and to deactivate the sitemap, but the same errors appeared again:

2024-01-14 20:17:24.233 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30005/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=169681984}
2024-01-14 20:17:35.518 [DEBUG] [io.methvin.watcher.DirectoryWatcher ] - ENTRY_DELETE [/etc/openhab/sitemaps/zuhause_renamed.sitemap]
2024-01-14 20:17:35.519 [DEBUG] [io.methvin.watcher.DirectoryWatcher ] - -> DELETE [/etc/openhab/sitemaps/zuhause_renamed.sitemap] (isDirectory: false)
2024-01-14 20:17:35.520 [DEBUG] [io.methvin.watcher.DirectoryWatcher ] - ENTRY_CREATE [/etc/openhab/sitemaps/zuhause_renamed.inact]
2024-01-14 20:17:35.522 [DEBUG] [io.methvin.watcher.DirectoryWatcher ] - -> CREATE [/etc/openhab/sitemaps/zuhause_renamed.inact] (isDirectory: false)
2024-01-14 20:17:35.525 [DEBUG] [io.methvin.watcher.DirectoryWatcher ] - ENTRY_MODIFY [/etc/openhab/sitemaps/zuhause_renamed.inact]
2024-01-14 20:17:35.562 [DEBUG] [io.methvin.watcher.DirectoryWatcher ] - ENTRY_MODIFY [/etc/openhab/sitemaps/zuhause_renamed.inact]
2024-01-14 20:17:41.160 [INFO ] [enhab.core.model.script.energy.rules] - Energieverbrauch Zuhause: 131,32 kWh
2024-01-14 20:17:46.967 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1a50cbb{l=/192.168.0.49:8080,r=/192.168.0.36:57992,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1724e6b[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@da7316{s=START}]=>HttpChannelOverHttp@18b9af3{s=HttpChannelState@d919a8{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=4,c=false/false,a=WAITING,uri=//192.168.0.49:8080/rest/sitemaps/events/ce3e2cb4-4ac1-449f-a171-565b6d1113df?sitemap=zuhause&pageid=zuhause,age=30240739} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2024-01-14 20:17:46.968 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1a50cbb{l=/192.168.0.49:8080,r=/192.168.0.36:57992,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1724e6b[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@da7316{s=START}]=>HttpChannelOverHttp@18b9af3{s=HttpChannelState@d919a8{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=4,c=false/false,a=WAITING,uri=//192.168.0.49:8080/rest/sitemaps/events/ce3e2cb4-4ac1-449f-a171-565b6d1113df?sitemap=zuhause&pageid=zuhause,age=30240740} idle timeout expired
2024-01-14 20:17:46.973 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@1a50cbb{l=/192.168.0.49:8080,r=/192.168.0.36:57992,OPEN,fill=-,flush=-,to=30005/30000}{io=0/0,kio=0,kro=1}->HttpConnection@1724e6b[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@da7316{s=START}]=>HttpChannelOverHttp@18b9af3{s=HttpChannelState@d919a8{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=4,c=false/false,a=WAITING,uri=//192.168.0.49:8080/rest/sitemaps/events/ce3e2cb4-4ac1-449f-a171-565b6d1113df?sitemap=zuhause&pageid=zuhause,age=30240744}
2024-01-14 20:17:52.163 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=172622170} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2024-01-14 20:17:52.164 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=172622171} idle timeout expired
2024-01-14 20:17:52.168 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30005/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=172622176}
2024-01-14 20:17:54.235 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=169711985} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2024-01-14 20:17:54.236 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=169711987} idle timeout expired
2024-01-14 20:17:54.243 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30008/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=169711994}

Then I checked the IP addresses and it looks, that jetty tried to communicate with a computer that is in sleep mode or even shutted down like my notebook with address yaml 192.168.0.60:

… and jetty used the no longer existing sitemap:

2024-01-14 20:39:22.452 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=173912460} idle timeout expired
2024-01-14 20:39:22.456 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30005/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=173912464}
2024-01-14 20:39:24.550 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=171002301} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2024-01-14 20:39:24.551 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=171002301} idle timeout expired
2024-01-14 20:39:24.554 [DEBUG] [rg.eclipse.jetty.io.AbstractEndPoint] - Ignored idle endpoint SocketChannelEndPoint@1e2d0c{l=/192.168.0.49:8080,r=/192.168.0.60:63553,OPEN,fill=-,flush=-,to=30004/30000}{io=0/0,kio=0,kro=1}->HttpConnection@f293bc[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@163d2d3{s=START}]=>HttpChannelOverHttp@12b990e{s=HttpChannelState@6d2789{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=40,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/11b820fe-d1f8-4507-af81-a672f2f8b239?sitemap=zuhause&pageid=zuhause,age=171002305}
  • Please post configurations (if applicable):
    • Sitemap configuration related to the issue
sitemap zuhause label="Zuhause"  {

	Frame label="‼Aktuelles!!" {
		Group	item=Sensors_BatteryLevel			label="Sensorbatt. schwach? [%.0f %unit%]"	visibility=[Sensors_BatteryLevel < 80] valuecolor=[>80="green", <=60="orange", <30="red"]
		Group	item=monitor_mySystems				label="IT-Systeme [%s]"		visibility=[monitor_mySystems != ON] valuecolor=[==ON="green", ==NULL="orange", ==OFF="red"]
		Group	item=WindowDoor_contact_group		label="Fenster/Türen [%s]"	visibility=[WindowDoor_contact_group != CLOSED]	valuecolor=[==CLOSED="green", ==NULL="orange", ==OPEN="red"]
		Default	item=Wassermelder_TurFensterZustand	label="Keller [%s]"	visibility=[Wassermelder_TurFensterZustand != CLOSED]	valuecolor=[CLOSED="green", NULL="orange", OPEN="red"]
		//Switch 	item=DUEWI							label="Fensterlampe" 	icon="light"	visibility=[DUEWI != OFF]
		//Switch 	item=COMAG_1						label="Keiler-Lampe" 	icon="light"	visibility=[COMAG_1 != OFF]
		//Switch 	item=COMAG_2						label="Tannenbaum 🎄" 	icon="light"	visibility=[COMAG_2 != OFF]
		Group	item=WZ_lights						label="Wohnz. Lampen [%s]" icon="light"	visibility=[WZ_lights != OFF]	valuecolor=[OFF="green", NULL="orange", ON="red"]
	}

	Frame label="Müllabfuhr" {
		Default item=ahaAbfuhrkalender_AbholtagRestabfall			icon=aha_logo	label="Restabfall [%1$td.%1$tm.%1$tY]"
		Default item=ahaAbfuhrkalender_AbholtagPapier				icon=aha_logo	label="Papier [%1$td.%1$tm.%1$tY]"
		Default item=ahaAbfuhrkalender_AbholtagLeichtverpackungen	icon=rmg_logo	label="Gelber Sack [%1$td.%1$tm.%1$tY]"
	}
/*
	Frame label="Stromverbrauch" {
		Default item=NM_PVA_Prod_live												label="Live Produktion [%.3f kW]"
		//Default	item=SolarEdgeSE5KRWS48BNN4_DCPowerValue							label="DC Power Value [%.3f kW]"
		
		Default	item=SolarEdgeSE5KRWS48BNN4_ACPowerValue		icon=energy			label="Leistung Wechselstrom [%.3f kW]"
		//Default	item=SolarEdgeSEMTR3Y400VA_TotalRealPowerValue	icon=returnpipe		label="Einspeisung [%.3f kW]"		visibility=[SolarEdgeSEMTR3Y400VA_TotalRealPowerValue > 0]
		//Default	item=SolarEdgeSEMTR3Y400VA_TotalRealPowerValue	icon=flowpipe		label="Bezug [%.3f kW]"				visibility=[SolarEdgeSEMTR3Y400VA_TotalRealPowerValue < 0]
		Default	item=SolarEdgeSEMTR3Y400VA_TotalRealPowerValue	icon=flowpipe		label="Einspeisung/Bezug [%.3f kW]"
		Default	item=SolarEdge_ModBus_BattPower					icon=battery		label="Batterieleistung [%.3f kW]"	visibility=[SolarEdge_ModBus_BattPower != 0]	
		Default item=SolarEdge_ModBus_BattLevel					label="Batterieladung [%.0f %%]"
		//Default item=SolarEdge_ModBus_BattStatus				icon=text			label="Batteriestatus [MAP(solaredge_modbus.map):%s]"		
		Default	item=SolarEdge_ModBus_TotalPowerConsumption		icon=house			label="Gesamtverbrauch [%.3f kW]"
		//Chart 	item=SolarEdge_ModBus_TotalPowerConsumption		period=D refresh=60000
		//Default	item=SolarEdge_ModBus_PowerSelfConsumption		icon=house			label="Eigenverbrauch [%.3f kW]"
	
		//Default	item=SolarEdgePVA_Import
		//Chart	item=SensorsPower				period=12h refresh=180000
		Group	item=SensorsPower				visibility=[SensorsPower > 0]			label="Stromverbraucher [%.2f %unit%]"	icon=energy
		Text	item=HZ_Brenner_onOff			visibility=[HZ_Brenner_onOff == ON]		label="Brenner läuft!"				icon=fire
		Text	item=KitchenRadio_Power			visibility=[KitchenRadio_Power == ON]	label="Küchenradio ist an!"			icon=receiver
		Text	item=Philips_TV_NetOnline		visibility=[Philips_TV_NetOnline == ON]	label="Philips TV ist an!"			icon=screen
		Text	item=BlueRay_Player_online		visibility=[BlueRay_Player_online == ON]	label="BlueRay Player ist an!"	
		//Default	item=PO_ShellyPlug_1_power		visibility=[PO_ShellyPlug_1_outlet==ON]	label="Multimedia Wohnzimmer [%.3f %unit%]"
	}
*/
	Frame label="Gasverbrauch" {
		Default	item=Gas_Energie_Tag
		Chart 	item=Gas_Energie_Tag		period=W refresh=3600000
		Default	item=Gas_Energie_Heute
		//Chart 	item=Gas_Energie_Heute		period=D refresh=180000
		Default	item=Home_TotalEnergyConsumption_day
	}
    Frame label="Außenklima"  {
        
		Default item=Ga_temp				icon=temperature
		Chart 	item=Ga_temp				period=D refresh=180000
		Default	item=GA_hum 
		//Chart 	item=GA_hum					period=D refresh=180000
    }
    Frame label="Zimmerklima" {
		
		Group	item=Zimmer_temp			label="Zimmer Temp. [%.1f %unit%]"
		Chart	item=Zimmer_temp			period=D refresh=180000
		Group	item=Zimmer_hygro			label="Zimmer Hygro. [%.1f %%]"
		//Chart	item=Zimmer_hygro			period=D refresh=180000
	}
	Frame label="Wohnzimmer" {
		Group	item=WZ_temp		label="Wohnzimmer Temp. [%.1f %unit%]"
		Group	item=WZ_hygro		label="Wohnzimmer Hygro. [%.0f %unit%]"
		
		Text 	item=KlimaloggPro30984_batteryOK	visibility=[KlimaloggPro30984_batteryOK != OFF]	valuecolor=[OFF="green", ON="red"] 
		Text 	item=KlimaloggPro31081_batteryLow	visibility=[KlimaloggPro31081_batteryLow  != OFF]	valuecolor=[OFF="green", ON="red"] 
		Switch 	item=DUEWI					label="Fensterlampe" 	icon="light"
	}

	Frame label="Küche" {
		Switch 	item=KitchenRadio_Power 			label="Küchenradio"		icon="receiver"
		Switch 	item=KitchenRadio_Mute				visibility=[KitchenRadio_Power==ON] 
		Default item=KitchenRadio_Volumepercent	 	visibility=[KitchenRadio_Power==ON] 
		
		Selection item=KitchenRadio_Mode mappings=[0="Internet Radio", 1="Spotify", 3="Musik Player", 4="DAB", 5="UKW", 6="AUX In"] visibility=[KitchenRadio_Power==ON]	
		Selection item=KitchenRadio_Preset mappings=[0="DLF Kultur", 1="NDR 2", 2="Radio Hannover", 3="Radio 21"]  visibility=[KitchenRadio_Power==ON] 
		Text 	item=KitchenRadio_CurrentTitle	visibility=[KitchenRadio_Power==ON]	
		Text 	item=KitchenRadio_InfoText	visibility=[KitchenRadio_Power==ON]
	}

/*	
	Frame label="Multimedia" { 
		Text	item=BlueRay_Player_online	label="Blue Ray Player [%s]"		visibility=[BlueRay_Player_online==ON]		valuecolor=[ON="green", OFF="red"] 	
		Text	item=Philips_TV_NetOnline	label="Philips TV (Ping) [MAP(online_offline.map):%s]"	visibility=[Philips_TV_NetOnline==ON] valuecolor=[ON="green", OFF="red"] icon=screen			
		Text	item=PO_Fritz_Dect200_1_outlet 	label="Fritz DECT [%s]"			visibility=[PO_Fritz_Dect200_1_outlet==ON]	valuecolor=[ON="green", OFF="red"] 	
		Text	item=DIGIBIT_SATIP_online	label="SAT>IP [MAP(online_offline.map):%s]"	visibility=[DIGIBIT_SATIP_online==ON] valuecolor=[ON="green", OFF="red"] 	icon=satip
		
		Text	item=MM_VDR_online			label="Linux VDR [MAP(online_offline.map):%s]" 	visibility=[MM_VDR_online==ON]		valuecolor=[ON="green", OFF="red"]	icon=vdr
		Text 	item=MM_VDR_recording														visibility=[MM_VDR_recording==ON]	valuecolor=[ON="green", OFF="red"]	icon=vdr
		Default item=MM_VDR_nextRec_timer													visibility=[MM_VDR_nextRec_timer!="NULL"]
		Group	item=MM_VDR					label="VDR (Equipment)"				icon=vdr
	}
*/
    Frame label="Arbeitszimmer" {
		//Default item=dcp375cw_msg1					label="Druckermeldung 1 [%s]"	icon=brother
		//Default	item=dcp375cw_msg2					label="Druckerstatus [%s]"

		Default	item=openhabian_SNMP_CPU_temp			valuecolor=[< 65000="green", < 80000="orange", > 79999 ="red"] 
		Default	item=Openhabian_Mem_Used_Percent		label="Openhabian Memory used [%.0f %%]"				valuecolor=[< 80="green", < 90="orange", > 89 ="red"] icon=raspberry
		Default	item=Openhabian_Storage_Used_Percent 	label="Openhabian Storage used [%.0f %%]"	valuecolor=[< 80="green", < 90="orange", > 89 ="red"] icon=raspberry
		Group	item=gOpenhabian
		Default item=Synology_System_Temperature	 label="NAS System Temp. [%.1f °C]"		valuecolor=[< 65="green", < 80="orange", > 79 ="red"] 
		Default item=Synology_CPU_MemRealUsedPercent label="NAS Memory used [%.1f %%]"		valuecolor=[< 80="green", < 90="orange", > 89 ="red"] icon=synology
		Default item=Synology_RAID_RaidUsedPercent 	 label="NAS Storage used [%.1f %%]" 	valuecolor=[< 80="green", < 90="orange", > 89 ="red"] icon=synology
		//Group	item=gSynology

		Group	item=nxpanel_group					label="NXPanel"
	}
	Frame label="Badezimmer" {
		//Default	item=Waschmaschine_current
		//Chart	item=Waschmaschine_current			period=D refresh=60000
		//Default	item=Waschmaschine_power
		Group 	item=Waschmaschine
	}
	Frame label="Schlafzimmer" {
		Text item=AqaraFensterkontaktSchlafzimmer_contact	label="Fenster [%s]"	visibility=[AqaraFensterkontaktSchlafzimmer_contact!=CLOSED] icon="window" valuecolor=[==CLOSED="green", ==NULL="orange", ==OPEN="red"]
		Default	item=Schlafzimmerfenster_openTimeRemaining							visibility=[Schlafzimmerfenster_openTimeRemaining!=0]	
	}
	
	Frame label="Neu Mexiko" {
		Text	item=NeuMexiko_Turkontakt_contact	label="Gartentür (Aqara)[%s]"	visibility=[NeuMexiko_Turkontakt_contact!=CLOSED] 		valuecolor=[==CLOSED="green", ==NULL="orange", ==OPEN="red"]
		Switch	item=NM_Lampe_Kuechenzeile
		Default item=shelly11192168026_Betrieb		label="Licht an?" 				icon="light" 	valuecolor=[==OFF="green", ==NULL="orange", ==ON="red"]
		
		Default	item=AqaraMultiSensor_temp			label="Temperatur Multi [%.1f °C]"
		Default	item=AqaraMultiSensor_hygro			label="Hygro Multi [%.1f %%]"
		//Text 	item=Fritz7362SL_Online				label="FRITZ!Box 7362SL [MAP(online_offline.map):%s]"  		icon="fbox7362" 	valuecolor=[ON="green", OFF="red"]
	}
	
	Frame label="Dachboden"  {
		Text	item=DIGIBIT_SATIP_online			label="DIGIBIT SAT>IP [%s]"	visibility=[DIGIBIT_SATIP_online == ON]	valuecolor=[ON="green", OFF="red"] 
		Default	item=PO_Fritz_Dect200_1_Power 		label="DIGIBIT Stromverbrauch"	visibility=[DIGIBIT_SATIP_online == ON]	valuecolor=[ON="green", OFF="red"] 
		Default item=DIGIBIT_SATIP_lastseen			label="DIGIBIT Last seen [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]" 
		Default item=PO_Fritz_Dect200_1_Temp		label="Temperatur [%.1f °C]"
    }
	Frame label="Keller"  {
        Default	item=Wassermelder_TurFensterZustand	icon="water"	valuecolor=[CLOSED="green", NULL="orange", OPEN="red"]
		Default	item=Keller_Lenzpumpe_Betrieb
		Default	item=Keller_Lenzpumpe_onTimeRemaining
		
		Default	item=Keller_TempHygroSensor_temp
		Default item=KlimaloggPro30507_temp			label="Temp. [%.1f %unit%]"
		Default	item=Keller_TempHygroSensor_hygro
		Default item=KlimaloggPro30507_hum			label="Hygro. [%.1f %%]"
		Group	item=Keller_TempHygroSensor
		Text 	item=Heizung_vcontrold_Online		label="Heizung vcontrold online? [MAP(online_offline.map):%s]" valuecolor=[==ON="green", ==NULL="orange", ==OFF="red"]
		
		Default	item=Atlantis_SNMP_CPU_temp					valuecolor=[< 65000="green", < 80000="orange", > 79999 ="red"] 
		//Default	item=Atlantis_CPULoad5				icon=raspberry
		//Default	item=Atlantis_Mem_Used_Percent		label="Atlantis Memory used [%.0f %%]"				valuecolor=[< 80="green", < 90="orange", > 89 ="red"] icon=raspberry
		Default	item=Atlantis_Storage_Used_Percent 	label="Atlantis Storage used [%.0f %%]"	valuecolor=[< 80="green", < 90="orange", > 89 ="red"] icon=raspberry
		Group	item=gAtlantis						icon=raspberry
    }

    Frame label="PVA SolarEdge"  {
		Text	item=SolarEdge_Online				label="SolarEdge Ping online? [MAP(online_offline.map):%s]" 		valuecolor=[UNDEF="orange", ON="green", OFF="red"] 
		Default	item=SolarEdge_lastSeen				label="SolarEdge lastseen [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]"	visibility=[SolarEdge_Online != ON]	
		//Text	item=SolarEdge_ModBus_online	  	label="SolarEdge MODBUS online? [MAP(online_offline.map):%s]" 		valuecolor=[UNDEF="orange", ON="green", OFF="red"] 
		//Default	item=SolarEdge_ModBus_lastseen		label="SolarEdge MODBUS lastseen [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]"	visibility=[SolarEdge_ModBus_online != ON]	
		Text 	item=NM_PVA_Prod_liveStatus icon="solarplant"
		Default item=NM_PVA_Prod_live
		//Default	item=NM_PVA_Prod_liveImport		icon=flowpipe		visibility=[NM_PVA_Prod_liveImport > 0]
		//Default item=SolarEdgePVA_Export 		icon=returnpipe		visibility=[SolarEdgePVA_Export > 0]
		Default item=NM_PVA_Prod_liveBattChargeDischarge 
		Default item=NM_PVA_Prod_liveBattLevel
		Default	item=Solar_Forecast
		Default item=NM_PVA_Prod_Day
		Default item=NM_PVA_Prod_Month
		Default item=NM_PVA_Prod_Year
	}

	Frame label="Diverses" {
		//Group	item=Astro
		Group	item=Tankerkoenig
		Group	item=gSensors	icon="temperature"	label="Sensoren"
		Group	item=PowerOutlets	icon="poweroutlet"
		Group	item=Shelly		icon="shelly"
		//Group	item=Aqara_group
		//Group	item=Blitzwolf_group
		//Group	item=Nous_group
		//Group	item=Luminea_sensors_group		icon="sensors"
		//Group	item=Zigbee_Switch_Module
	} 

}

Is this a known and wanted mechanism? Might this be a reason for my issue?

Any hints are appreciated!

Regards, Christoph

I’m guessing that the jetty logs are irrelevant to your problem (bindings stopping after a few days).

The jetty logs seem to me to be normal, i.e. clients that used to access the sitemap had shut down without gracefully closing their connection, hence the timeout. This seem perfectly fine and expected.

First, I’d set the root logging back to default so you don’t get flooded with possibly irrelevant information. Next list the bindings that stopped. Did all your bindings stop or just specific ones?

When it stopped there might be some ERROR logs or informational log telling you the reason. I’d start from there.

I assume openhab itself was still working, e.g. the main UI and karaf console?

Hi,
thank you for the response.
But let me ask, what would be a graceful close of a client? On windows I can only close the browser (Firefox) and shutdown the notebook. On Android I closed the openHAB app, swiped the application from the list and finally shutted down the phone totally.
I can’t believe, that it’s normal that jetty is still trying to reach the notebook with IP 192.168.0.60:

2024-01-15 10:53:03.903 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=225133911} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2024-01-15 10:53:03.904 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@5456eb{l=/192.168.0.49:8080,r=/192.168.0.60:61790,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15ff495[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1106f65{s=START}]=>HttpChannelOverHttp@da47db{s=HttpChannelState@2280d3{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=8,c=false/false,a=WAITING,uri=//openhabian:8080/rest/sitemaps/events/f7262112-c26d-4048-82f2-09d298579a97?sitemap=zuhause&pageid=zuhause,age=225133912} idle timeout expired
2024-01-15 10:53:03.905 [DEBUG] [org.eclipse.jetty.io.FillInterest   ] - onFail FillInterest@15e454c{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]
2024-01-15 10:53:03.906 [DEBUG] [org.eclipse.jetty.io.WriteFlusher   ] - ignored: WriteFlusher@15d6dc2{IDLE}->null
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]

In addition, these timeouts appear also for my phone 192.168.0.36 when it’s on, lying on my desk and the openHAB app is in foreground:

2024-01-15 11:02:52.860 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@3e5713{l=/192.168.0.49:8080,r=/192.168.0.30:50319,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@3c51e5[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@1f761c8{s=COMMITTED}]=>HttpChannelOverHttp@4623c0{s=HttpChannelState@1e3d9ea{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=2,c=false/false,a=WAITING,uri=//openhabian:8080/rest/events/states,age=1037760} idle timeout check, elapsed: 0 ms, remaining: 30000 ms
2024-01-15 11:02:53.978 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@e09ea7{l=/192.168.0.49:8080,r=/192.168.0.36:58986,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=0}-><null> idle timeout check, elapsed: 0 ms, remaining: 30000 ms
2024-01-15 11:02:55.373 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@1b9fbfb{l=/192.168.0.49:8080,r=/192.168.0.36:58962,OPEN,fill=-,flush=-,to=938/30000}{io=0/0,kio=0,kro=1}->HttpConnection@15cf966[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@d45806{s=COMMITTED}]=>HttpChannelOverHttp@60f1bd{s=HttpChannelState@1f5fe2a{s=WAITING rs=ASYNC os=COMMITTED is=IDLE awp=false se=false i=false al=2},r=4,c=false/false,a=WAITING,uri=//192.168.0.49:8080/rest/sitemaps/events/13490158-9ff9-4bdf-a632-bdb343916499?sitemap=zuhause&pageid=zuhause,age=41023} idle timeout check, elapsed: 938 ms, remaining: 29062 ms
2024-01-15 11:02:56.636 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@4c4a3a{l=/192.168.0.49:8080,r=/192.168.0.36:58960,OPEN,fill=-,flush=-,to=30000/30000}{io=0/0,kio=0,kro=1}->HttpConnection@fc0cfb[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@3a7ca1{s=START}]=>HttpChannelOverHttp@8500cd{s=HttpChannelState@18e10d2{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=2,c=false/false,a=WAITING,uri=//192.168.0.49:8080/rest/sitemaps/events/ddd6e6de-eb0a-4d76-8882-ac57b6791931?sitemap=zuhause&pageid=zuhause,age=59991} idle timeout check, elapsed: 30000 ms, remaining: 0 ms
2024-01-15 11:02:56.637 [DEBUG] [org.eclipse.jetty.io.IdleTimeout    ] - SocketChannelEndPoint@4c4a3a{l=/192.168.0.49:8080,r=/192.168.0.36:58960,OPEN,fill=-,flush=-,to=30001/30000}{io=0/0,kio=0,kro=1}->HttpConnection@fc0cfb[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@3a7ca1{s=START}]=>HttpChannelOverHttp@8500cd{s=HttpChannelState@18e10d2{s=WAITING rs=ASYNC os=OPEN is=IDLE awp=false se=false i=false al=2},r=2,c=false/false,a=WAITING,uri=//192.168.0.49:8080/rest/sitemaps/events/ddd6e6de-eb0a-4d76-8882-ac57b6791931?sitemap=zuhause&pageid=zuhause,age=59992} idle timeout expired
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]

That looks strange for me. Sure, I am not (no longer) a programmer, but was for more than 40 years in the IT business and I am not up-to-date with modern programming patterns…

Nevertheless I understand and will dive deeper into the bindings themselves.

Regards, Christoph

TBH, I am not intimately familiar with how REST works / is implemented. I am just guessing that these jetty timeouts had nothing to do with your binding errors, but I could be wrong.

Hopefully someone else more knowledgeable can jump in and help.

Hi, i changed from 3.4.3 to 4.1.1 a few days ago but i have to restart my openhab server one or two times a day. I get error logs like above, timeout and so on…

Connection with openhab android app gets broken after some time, sometimes browser basic ui works still, but very sluggish and slow. Sometimes even vbrowser basic ui is not accessible any more. My knx commands are not as fast as usually - some seconds wait time. Some things don´t work at all…

I have seen java heap space out of memory error in “journalctl -u openhab”. I get some log messages in my openhab log few times a day, i only get this messages on “system started” , so i think some service/binsing/… is restarting when i get the log message.

Is there a way to check, which binding or whatever could cause this? I have installed my openhab server on esxi vm, i made a snapshot from my old installation, so go back is no problem. But i want to use oh4 and not stay on old oh3…

Any old openHAB 3 bindings running in your new installation?
Java 17 installed ?

Of course, jave 17 is installed, it would not work with older jave version?!?!

I have updatet all my old bindings, i had 2 marketplace bindings version oh3, but even with updated the bindings to oh4 version still the same problems. (unifi and speedtest)

Could you please check again with bundle:list if there is an old leftover.
Just to make sure…

Please don’t enter a thread with total different symptoms and a different environment, especially a newer OH version!

During the last days I tried several things to get more information. It looks as if the situation ist a bit more complicated. The issues regarding some bindings seem to have different circumstances and obviously different reasons.

I had issues with these bindings:

  • The Astro binding stopped working, so my rule couldn’t switch on the light when daylight finished. No information was found in the OH log even with debug level. Restarting the binding did not help at first. Later I could reactivate the binding with a restart.

  • OpenWeathermap binding unexpectedly stopped updating the linked items. Again no entries in the logs. Later I faced problems with the account thing. Now it’s running again.

  • I use the Exec binding to send notifications to a Gotify server. A shell script is called, that fires a curl command. This did suddenly stop multiple times. The event log showed that the input item was filled correctly and autorun was switched on. The messages did not come up in the Gotify clients. I couldn’t find anything in the OH log even with debug level. A binding restart did not help. The only way to solve this was a complete OH restart. A few days ago I saw some messages coming through while others were missing. Later I learned, that it’s a good practice to set the curl timeout parameter. I set it to 3 (msecs). When a timeout occurs, this is logged. May be there is a bottleneck somewhere in the system. I think this is a special situation with my implementation of the script and not related to the exec binding.

As the OP I will flag this thread as solved. If needed I will raise a new more specific thread.

Regards
Christoph

I made a new thread for my problem with openhab 4, because this thread is for problems with oh3

Error since update to oh 4.1.1 (coming from 3.4.3)