[SOLVED] Could not start Jetty HttpClient (Insufficient configured threads)

Hey Guys,

I know there are already a lot of topics regarding the dashboard issue, but noone mentioned my error message. When I try to open the Dashboard via myopenhab.org, I get the following:

openHAB connection error: HttpClient@72970e40{FAILED} is stopped

I hadn’t been on myopenhab.org for a while, I just found out something must be wrong because my Google Assistant wasn’t able anymore to sync devices with openHAB cloud. So I tried it a few times including removing and re-adding my openHAB account - which failed. I went into openHAB cloud, checked connection (I am ONLINE, yay!) and found out the dashboard didn’t work.

Funny thing is, that the response seems to come from my local openhab, according to the log:

2020-01-13 17:01:09.739 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 2584568 failed: HttpClient@786972d4{FAILED} is stopped
2020-01-13 17:01:09.740 [WARN ] [io.openhabcloud.internal.CloudClient] - Request Failure: HttpClient@786972d4{FAILED} is stopped
2020-01-13 17:01:09.740 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: HttpClient@786972d4{FAILED} is stopped

I tried the following things:

  • uninstall cloud connector with deletion of cache and UUID
  • removed all file based things, items, rules, etc. (only paper UI objects left)
  • as I run openHAB in docker, I tried other images with and without the existing config. Without the config, I got a “site could not be reached” http error.
  • I checked whether or not dashboard is installed (as seen in [SOLVED] After update to openhab 2.5 -> Stopped Dashboard?) - yes, it is:
openhab-ui-dashboard                              │ 2.5.1            │          │ Started     │ distro-2.5.1             │ Dashboard UI

What I did before:

  • upgrade from openhab 2.4.0 to 2.5.0 (docker debian image latest)
  • installed shelly bindung
  • endless restarts and reconfiguration of cloud connector
  • just a few minutes ago, I upgraded to 2.5.1

So if anyone has an idea, I’d be very glad.

Thanks
Holle

Post what is in:
/var/lib/openhab2 or, depending on how OH is set up /opt/openhab2/userdata

/config/org/openhab/openhabcloud.config?

Hi H,

thanks for quick response!

:org.apache.felix.configadmin.revision:=L"6"
baseURL="https://myopenhab.org/"
expose=( \
  "Navina_Lights_Ceiling", \
)
mode="remote"
service.pid="org.openhab.openhabcloud"

The exposed item was left from testing. Initially, I had no exposed items.

Stop OH, edit the first line and change L"6" to L"14"

I’m not sure about the expose part, first time I’ve seen that in this file?? If changing the L part does not work I would try commenting out the expose part and see what happens after cleaning cache and restart.

Both didn’t work. config file does now look like this:

:org.apache.felix.configadmin.revision:=L"14"
baseURL="https://myopenhab.org/"
mode="remote"
service.pid="org.openhab.openhabcloud"

I always deleted cache and tmp dirs manually before restarting OH.

Other than trying a different L number I do not know what else to recommend. BTW my L version is 35 if you wanna try that.

Thanks for your advice, but no success. I finally pulled the latest docker image and did the following things:

  • start docker image (cmd see below)
  • install “Expert” modules
  • installed OH cloud connector via PaperUI

Status is online - again - but same error. But OH log shows an interesting new error msg, it seems that the jetty http client could net be started at all. Unfortunately I’m zero into Java so I can’t interpret it very well. But as this happens on a completely new install (maybe only related to docker?!), I guess that’s worth a bugreport, isn’t it?

Logfile:

2020-01-14 08:21:50.858 [ERROR] [o.openhabcloud.internal.CloudService] - Could not start Jetty http client
java.lang.IllegalStateException: Insufficient configured threads: required=12 < max=10 for QueuedThreadPool[ESH-httpClient-openhabcloud]@5b8b90aa{STOPPED,5<=0<=10,i=0,r=-1,q=0}[NO_TRY]
        at org.eclipse.jetty.util.thread.ThreadPoolBudget.check(ThreadPoolBudget.java:156) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ThreadPoolBudget.leaseTo(ThreadPoolBudget.java:130) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ThreadPoolBudget.leaseFrom(ThreadPoolBudget.java:182) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.SelectorManager.doStart(SelectorManager.java:255) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:384) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:313) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.doStart(AbstractConnectorHttpClientTransport.java:63) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.client.HttpClient.doStart(HttpClient.java:244) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
        at org.openhab.io.openhabcloud.internal.CloudService.modified(CloudService.java:232) [bundleFile:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeModifiedMethod(SingleComponentManager.java:836) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.modify(SingleComponentManager.java:791) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:709) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:673) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.configurationUpdated(ConfigurableComponentHolder.java:435) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:316) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegionConfigurationSupport$2.configurationEvent(RegionConfigurationSupport.java:118) [bundleFile:?]
        at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:1709) [bundleFile:?]
        at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:1651) [bundleFile:?]
        at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) [bundleFile:?]
        at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [bundleFile:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
2020-01-14 08:21:51.053 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = xxx, base URL = http://localhost:18080)
2020-01-14 08:22:48.158 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3005146 failed: HttpClient@669843cf{FAILED} is stopped
2020-01-14 08:22:48.159 [WARN ] [io.openhabcloud.internal.CloudClient] - Request Failure: HttpClient@669843cf{FAILED} is stopped
2020-01-14 08:22:48.160 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: HttpClient@669843cf{FAILED} is stopped

Docker run:

docker run --name openhab --net=host -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v /srv/openhab/conf:/openhab/conf -v /srv/openhab/userdata:/openhab/userdata -v /srv/openhab/addons:/openhab/addons -d -e USER_ID=998 -e GROUP_ID=998 -e OPENHAB_HTTP_PORT=18080 -e OPENHAB_HTTPS_PORT=18443 --restart=always openhab/openhab:latest

With my friend googlen (“Jetty Insufficient configured threads”) I found some ways to increase the thread count, I only cannot figure out how to apply them. jetty.xml has a structure which doesn’t match the examples I found and changes in other config files (greped for “threadpool”) are overwritten immediately.

I usually run a custom update script and update OH frequently. For OH 2.5.1, I took the extra step to install from scratch and manually reconfigure everything. Everything seems to be working properly, including notifications from myopenhab.org, except the Alexa skill could not communicate with OH when asked to control something. Removing and readding the skill from Alexa did not help. After deleting and rediscovering the devices through the Alexa app, no devices were discovered. When OH started up, I was also getting the same error…

2020-01-16 08:18:21.805 [INFO ] [org.eclipse.jetty.util.thread.ThreadPoolBudget] - ClientSelectorManager@636e2f0d{STARTING} requires 16 threads from QueuedThreadPool[ESH-httpClient-openhabcloud]@6241c04e{STOPPED,5<=0<=10,i=0,r=-1,q=0}[NO_TRY]
2020-01-16 08:18:21.806 [ERROR] [org.openhab.io.openhabcloud.internal.CloudService] - Could not start Jetty http client
java.lang.IllegalStateException: Insufficient configured threads: required=16 < max=10 for QueuedThreadPool[ESH-httpClient-openhabcloud]@6241c04e{STOPPED,5<=0<=10,i=0,r=-1,q=0}[NO_TRY]
        at org.eclipse.jetty.util.thread.ThreadPoolBudget.check(ThreadPoolBudget.java:156) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ThreadPoolBudget.leaseTo(ThreadPoolBudget.java:130) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ThreadPoolBudget.leaseFrom(ThreadPoolBudget.java:182) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.SelectorManager.doStart(SelectorManager.java:255) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.doStart(AbstractConnectorHttpClientTransport.java:64) ~[?:?]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.client.HttpClient.doStart(HttpClient.java:244) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[?:?]
        at org.openhab.io.openhabcloud.internal.CloudService.modified(CloudService.java:232) [bundleFile:?]
        at org.openhab.io.openhabcloud.internal.CloudService.activate(CloudService.java:155) [bundleFile:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:340) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:982) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:955) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:900) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212) [org.eclipse.osgi-3.12.100.jar:?]
        at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_232]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:508) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:624) [org.eclipse.osgi-3.12.100.jar:?]
        at com.eclipsesource.jaxrs.publisher.internal.ResourceTracker.addingService(ResourceTracker.java:39) [bundleFile:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901) [osgi.core-6.0.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:920) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469) [org.eclipse.osgi-3.12.100.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:906) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:892) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:128) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:959) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:732) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:666) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:432) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:665) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:338) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:382) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:264) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-6.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) [osgi.core-6.0.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.Module.start(Module.java:467) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1614) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [org.eclipse.osgi-3.12.100.jar:?]

One of the things that my old configuration files had that I did not include after the upgrade was the following in $OPENHAB_CONF/services/runtime.cfg…

org.eclipse.smarthome.webclient:minThreadsShared=20
org.eclipse.smarthome.webclient:maxThreadsShared=60
org.eclipse.smarthome.webclient:minThreadsCustom=15
org.eclipse.smarthome.webclient:maxThreadsCustom=25

After restarting OH, the error no longer comes up, but the Alexa skill is still not working. I looks to me that there may be an issue with threadpool sizing in OHC.

1 Like

Thanks Mate, that’s exactly what I was looking for! Jetty stuff works again, I just have to check the Google Assistant thing which I hopefully will be able to do this weekend!

Again, thanks!
Holle

1 Like

Just dropping in to say thank you and add my experience if it helps anyone else find this post to solve their problem.

I moved my install from a centos VM to using Docker on my R710 host. Everything worked great except for the myopenhab.org integration. It would connect and show “Online” but I couldn’t open the web interface from it. I was going in circles thinking something was wrong with my docker config, but finally found the logs needed to get me to this thread. I just guessed randomly and increased the “maxThreadsShared” and “MaxThreadsCustom” above and got it working! The post mentions not having to restart but after changing the numbers a couple of times, I “restarted” my openhab docker (docker-compose down / docker-compose up -d) and it works again!

As mentioned below, the package names have changed in OH3. I stumbled upon this when trying to figure out why the runtime.cfg didn’t seem to be applied. :roll_eyes: