oppo1967p
(oppo1967p)
January 2, 2025, 4:31pm
1
Hi all,
since a day or so, suddenly, I am not able to access the UI page on http://IP:8080 .
OH is working fine, events are logged and rules are working.
But no access to UI from local network, both from desktop browser or iOS app.
It was perfectly working a couple of days ago when I last checked.
Probably the reason is that in netstat, there is no listen on port 8080.
Probably rebooting will solve it, but I want to understand what caused it.
What is the cause?
Here the output of netstat:
openhabian@openhabianrpi5:~ $ sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3493 0.0.0.0:* LISTEN 68964/upsd
tcp 0 0 0.0.0.0:10080 0.0.0.0:* LISTEN 771/inetd
tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 730/mosquitto
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN 3440334/perl
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1176/exim4
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 3440334/perl
tcp 0 0 192.168.88.5:3493 0.0.0.0:* LISTEN 68964/upsd
tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 3342858/node
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 3440334/perl
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1199/smbd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 731/sshd: /usr/sbin
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 1199/smbd
tcp6 0 0 ::1:25 :::* LISTEN 1176/exim4
tcp6 0 0 :::8101 :::* LISTEN 3342857/java
tcp6 0 0 :::8080 :::* LISTEN 3342857/java
tcp6 0 0 :::10080 :::* LISTEN 771/inetd
tcp6 0 0 :::1883 :::* LISTEN 730/mosquitto
tcp6 0 0 :::5007 :::* LISTEN 3342857/java
tcp6 0 0 :::8443 :::* LISTEN 3342857/java
tcp6 0 0 127.0.0.1:35625 :::* LISTEN 3342857/java
tcp6 0 0 :::139 :::* LISTEN 1199/smbd
tcp6 0 0 :::22 :::* LISTEN 731/sshd: /usr/sbin
tcp6 0 0 :::445 :::* LISTEN 1199/smbd
udp 0 0 0.0.0.0:52050 0.0.0.0:* 3440334/perl
udp 0 0 0.0.0.0:58263 0.0.0.0:* 538/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 538/avahi-daemon: r
udp 0 0 0.0.0.0:3483 0.0.0.0:* 3440334/perl
udp 0 0 192.168.88.255:137 0.0.0.0:* 1190/nmbd
udp 0 0 192.168.88.5:137 0.0.0.0:* 1190/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 1190/nmbd
udp 0 0 192.168.88.255:138 0.0.0.0:* 1190/nmbd
udp 0 0 192.168.88.5:138 0.0.0.0:* 1190/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 1190/nmbd
udp6 0 0 :::52385 :::* 538/avahi-daemon: r
udp6 0 0 :::5353 :::* 3342857/java
udp6 0 0 :::5353 :::* 538/avahi-daemon: r
udp6 0 0 :::9898 :::* 3342857/java
udp6 0 0 192.168.88.5:34623 :::* 3342857/java
udp6 0 0 :::1900 :::* 3342857/java
udp6 0 0 :::1902 :::* 3342857/java
udp6 0 0 :::67 :::* 3342857/java
java version:
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.9+9-Debian-1deb12u1, mixed mode)
OH version:
###############################################################################
############### openhabian ##################################################
###############################################################################
## Ip = 192.168.88.5
## Release = Debian GNU/Linux 12 (bookworm)
## Kernel = Linux 6.1.0-rpi4-rpi-2712
## Platform = BCM43455 37.4MHz Raspberry Pi 3+-0190
## Uptime = 118 day(s). 01:05:07
## CPU Usage = 0.72% avg over 4 cpu(s) ( core(s) x - socket(s))
## CPU Load = 1m: 0.08, 5m: 0.02, 15m: 0.01
## Memory = Free: 0.22GB (6%), Used: 3.76GB (94%), Total: 3.95GB
## Swap = Free: 0.06GB (71%), Used: 0.02GB (29%), Total: 0.09GB
## Root = Free: 5.38GB (45%), Used: 6.38GB (55%), Total: 12.41GB
## Updates = 122 apt updates available.
## Sessions = 1 session(s)
## Processes = 148 running processes of 4194304 maximum processes
###############################################################################
_ _ _ ____ _
___ ___ ___ ___ | | | | / \ | __ ) (_) ____ ___
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \ | | / _ \ / _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )| || (_) || | | |
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/ |_| \__|_||_| | |
|_| openHAB 4.2.0 - Release Build
rlkoshak
(Rich Koshak)
January 2, 2025, 5:10pm
2
Anything in openhab.log? Anything in the browserβs console when trying to access the url?
oppo1967p
(oppo1967p)
January 2, 2025, 5:24pm
3
Hi Rich,
when accessing IP:8080 there is nothing in browser console nor in openhab.log.
It simply remains waiting.
What is the process that starts the UI on port 8080? I could check in journalctl if there are any messages from it.
rlkoshak
(Rich Koshak)
January 2, 2025, 8:42pm
4
OH is all one process. Either it starts or it doesnβt.
If everything else in OH is running and there are no words in the logs when access or during startup the problem is most likely network related. Firewalls, host networking, misconfiguration, etc.
If the browser just spins until it times out that usually means it canβt even reach the address in the URL. Maybe the IP of the machine changed unexpectedly?
oppo1967p
(oppo1967p)
January 2, 2025, 10:23pm
5
No Rich, the IP didnβt change.
I can access the tail log with http://IP:9001
Only http://IP:8080 is not working. Everything else is working perfectly fine.
And since few days ago also UI was working.
So part of OH or a service stopped working and I need to identify it to troubleshoot.
What can I do?
hmerk
(Hans-JΓΆrg Merk)
January 2, 2025, 10:31pm
6
Please enter openHAB console with
openhab-cli console
and issue
bundle:list
check the output for non active bundles
oppo1967p
(oppo1967p)
January 3, 2025, 8:33am
7
Hi Hans-Jorg,
thanks for your reply.
Hereβs the output:
openhab> bundle:list
START LEVEL 100 , List Threshold: 50
ID β State β Lvl β Version β Name
βββββΌβββββββββββΌββββββΌββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
30 β Resolved β 80 β 2.17.1 β Jackson-annotations
31 β Resolved β 80 β 2.17.1 β Jackson-core
32 β Resolved β 80 β 2.17.1 β jackson-databind
33 β Resolved β 80 β 2.17.1 β Jackson-dataformat-XML
34 β Resolved β 80 β 2.17.1 β Jackson-dataformat-YAML
35 β Resolved β 80 β 2.17.1 β Jackson datatype: JSR310
36 β Resolved β 80 β 6.5.1 β Woodstox
37 β Active β 80 β 2.10.1.v20230109-0753 β Gson
38 β Resolved β 80 β 33.2.0.jre β Guava: Google Core Libraries for Java
39 β Resolved β 80 β 1.0.2 β Guava InternalFutureFailureAccess and InternalFutures
40 β Resolved β 80 β 7.0.0 β guice
41 β Active β 80 β 5.14.0 β jna
43 β Active β 80 β 0.28.1 β Jollyday Core
44 β Active β 80 β 0.28.1 β Jollyday with Jackson
45 β Resolved β 80 β 4.8.172 β ClassGraph
46 β Active β 80 β 0.18.0 β Directory-Watcher
47 β Resolved β 80 β 2.2.15 β swagger-annotations
48 β Resolved β 80 β 2.2.15 β swagger-core
49 β Resolved β 80 β 2.2.15 β swagger-integration
50 β Resolved β 80 β 2.2.15 β swagger-jaxrs2
51 β Resolved β 80 β 2.2.15 β swagger-models
52 β Resolved β 80 β 1.0.5 β Jakarta Dependency Injection
53 β Resolved β 80 β 2.0.1 β Jakarta Dependency Injection
55 β Resolved β 80 β 2.0.2 β Jakarta Bean Validation API
57 β Resolved β 80 β 2.3.3 β Jakarta XML Web Services API
58 β Active β 80 β 3.5.9 β JmDNS
59 β Resolved β 80 β 2.2.0 β Units of Measurement API
61 β Resolved β 80 β 3.2.0.v201101311130 β ANTLR Runtime
62 β Resolved β 80 β 1.0.0.v201105210816 β Aopalliance Plug-in
63 β Active β 80 β 1.2.2 β org.apache.aries.component-dsl.component-dsl
64 β Resolved β 80 β 1.0.4 β Apache Aries JAX-RS Specification API
65 β Active β 80 β 2.0.2 β Apache Aries JAX-RS Whiteboard
66 β Active β 80 β 1.3.7 β Apache Aries SPI Fly Dynamic Weaving Bundle
67 β Resolved β 80 β 3.14.0 β Apache Commons Lang
68 β Active β 80 β 3.6.2 β Apache CXF Core
69 β Active β 80 β 3.6.2 β Apache CXF Runtime JAX-RS Frontend
70 β Active β 80 β 3.6.2 β Apache CXF JAX-RS Client
71 β Active β 80 β 3.6.2 β Apache CXF JAX-RS Server-Side Events Support
72 β Active β 80 β 3.6.2 β Apache CXF Runtime Security functionality
73 β Active β 80 β 3.6.2 β Apache CXF Runtime HTTP Transport
80 β Active β 80 β 4.4.6 β Apache Karaf :: OSGi Services :: Event
96 β Resolved β 80 β 2.3.1 β XmlSchema Core
97 β Resolved β 80 β 1.1.2 β apiguardian-api
98 β Active β 80 β 0.9.5 β jose4j
99 β Active β 80 β 2.24.0.v20220123-0838 β EMF Common
100 β Active β 80 β 2.26.0.v20220123-0838 β EMF Ecore
101 β Starting β 80 β 2.14.0.v20190528-0725 β EMF Change Model
102 β Active β 80 β 2.16.0.v20190528-0725 β EMF XML/XMI Persistence
103 β Active β 80 β 3.18.0.v20230523-2142 β Common Eclipse Runtime
137 β Active β 80 β 0.23.1.v20240521-1815 β org.eclipse.lsp4j
138 β Active β 80 β 0.23.1.v20240521-1815 β org.eclipse.lsp4j.jsonrpc
139 β Resolved β 80 β 2.35.0.v20240528-1523 β Xtend Runtime Library
140 β Resolved β 80 β 2.35.0.v20240528-1523 β Xtend Macro Interfaces
141 β Active β 80 β 2.35.0.v20240528-1523 β Xtext
142 β Active β 80 β 2.35.0.v20240528-1523 β Xtext Common Types
143 β Active β 80 β 2.35.0.v20240528-1523 β Xtext IDE Core
144 β Resolved β 80 β 2.35.0.v20240528-1523 β Xtext Utility
145 β Active β 80 β 2.35.0.v20240528-1523 β Xbase Model
146 β Starting β 80 β 2.35.0.v20240528-1523 β Xbase Generic IDE Services
147 β Resolved β 80 β 2.35.0.v20240528-1523 β Xbase Runtime Library
155 β Active β 80 β 1.0.0 β Fixes for the java.base module
156 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Core
157 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Add-on XML
158 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Marketplace Add-on Services
159 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Community Marketplace Add-on Service :: Karaf
160 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Audio
161 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: JAAS Authentication
162 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: OAuth2Client
163 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Automation
164 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Automation Media Modules
165 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Automation Script Modules
166 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Automation Script RuleSupport
167 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Automation REST API
168 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration Core
169 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration Discovery
170 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Add-on Suggestion Service
171 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Process-based Suggested Add-on Finder
172 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration mDNS Discovery
173 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration Dispatcher
174 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Ephemeris
175 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: ID
176 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Console
177 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Console for OSGi runtime Karaf
178 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: HTTP Interface
179 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: HTTP Interface Authentication
181 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Monitor
182 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Network I/O
183 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: REST Interface
184 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Audio REST Interface
185 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Authentication Support for the REST Interface
186 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: REST Interface :: Core
187 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: REST mDNS Announcer
188 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Sitemap REST Interface
189 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: SSE Interface
190 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: REST Interface :: Swagger 1
191 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Transformation REST Interface
192 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: UI REST Interface
193 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Voice REST Interface
194 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: mDNS Service
195 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: WebSocket
196 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Karaf Integration
197 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Core
198 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Items
199 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Item IDE
200 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Items Runtime
201 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Language Server
202 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Persistence
203 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Persistence IDE
204 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Persistence Runtime
205 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Rules
206 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Rule IDE
207 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Rules Runtime
208 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Script
209 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Script IDE
210 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Script Runtime
211 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Sitemap
212 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Sitemap IDE
213 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Sitemap Runtime
214 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Thing
215 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Thing IDE
216 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model Thing Runtime
217 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Model YAML
218 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Persistence
219 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Semantics
220 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: JSON Storage
221 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Thing
222 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Transformation Service
223 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: UI
224 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: UI Icon Support
225 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Voice
226 β Active β 80 β 4.2.0 β openHAB UI :: Bundles :: Main UI
227 β Active β 80 β 4.2.0 β openHAB UI :: Bundles :: Icon Set :: Classic
237 β Resolved β 80 β 1.5.1.202212101352 β org.osgi:org.osgi.service.component.annotations
238 β Resolved β 80 β 1.0.1.202109301733 β org.osgi:org.osgi.service.jaxrs
239 β Active β 80 β 1.8.0 β ThreeTen-Extra
240 β Resolved β 80 β 2.2.0 β SnakeYAML
241 β Resolved β 80 β 2.1 β SI Units
242 β Resolved β 80 β 2.1.0 β SI Quantities
243 β Resolved β 80 β 4.2.2 β Stax2 API
244 β Resolved β 80 β 2.2.0 β Units of Measurement Reference Implementation
245 β Resolved β 80 β 2.2.0 β Units of Measurement Common Library for Java
246 β Resolved β 80 β 1.4.20 β XStream Core
247 β Active β 80 β 2.27 β Dagger
248 β Active β 80 β 1.3.3 β hivemq-mqtt-client
249 β Active β 80 β 5.14.0 β jna-platform
250 β Active β 80 β 1.6.2 β JavaMail API
251 β Active β 80 β 4.1.104.Final β Netty/Buffer
252 β Active β 80 β 4.1.104.Final β Netty/Codec
253 β Active β 80 β 4.1.104.Final β Netty/Codec/HTTP
254 β Active β 80 β 4.1.104.Final β Netty/Codec/Socks
255 β Active β 80 β 4.1.104.Final β Netty/Common
256 β Active β 80 β 4.1.104.Final β Netty/Handler
257 β Active β 80 β 4.1.104.Final β Netty/Handler/Proxy
258 β Active β 80 β 4.1.104.Final β Netty/Resolver
259 β Active β 80 β 2.0.62.Final β Netty/TomcatNative [OpenSSL - Classes]
260 β Active β 80 β 4.1.104.Final β Netty/Transport
261 β Active β 80 β 4.1.104.Final β Netty/Transport/Classes/Epoll
262 β Active β 80 β 4.1.104.Final β Netty/Transport/Native/Unix/Common
263 β Active β 80 β 2.2.21 β rxjava
264 β Active β 80 β 1.0.1 β IO.Socket Engine Client
265 β Active β 80 β 1.0.1 β IO.Socket Socket Client
266 β Active β 80 β 20231013.0.0 β JSON in Java
267 β Active β 80 β 5.2.1.OH1 β nrjavaserial
268 β Active β 80 β 3.9.0 β Apache Commons Net
269 β Active β 80 β 3.8.1.1 β Apache ServiceMix :: Bundles :: okhttp
270 β Active β 80 β 1.13.0.1 β Apache ServiceMix :: Bundles :: okio
271 β Active β 80 β 2.1.2 β Java Concurrency Tools Core Library
272 β Active β 80 β 3.0.1 β jUPnP Core Library
273 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Automation :: JavaScript Scripting
274 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Astro Binding
275 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Exec Binding
276 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: HTTP Binding
277 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: iCalendar Binding
278 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Mail Binding
279 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Xiaomi Mi Smart Home Binding
280 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Modbus Binding
281 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: E3DC Modbus Binding
282 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: HeliosEasyControls Binding
283 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Modbus SBC Binding
284 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: StiebelEltron Bundle
285 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Studer Binding
286 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Modbus Sungrow Binding
287 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: SunSpec Bundle
288 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: MQTT Broker Binding
289 β Active β 81 β 4.2.0 β openHAB Add-ons :: Bundles :: MQTT EspMilightHub
290 β Active β 81 β 4.2.0 β openHAB Add-ons :: Bundles :: MQTT Things and Channels
291 β Active β 82 β 4.2.0 β openHAB Add-ons :: Bundles :: MQTT HomeAssistant Convention
292 β Active β 82 β 4.2.0 β openHAB Add-ons :: Bundles :: MQTT Homie Convention
293 β Active β 82 β 4.2.0 β openHAB Add-ons :: Bundles :: MQTT Ruuvi Gateway
294 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Network Binding
295 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Network UPS Tools Binding
296 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: OpenWebNet (BTicino/Legrand) Binding
297 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: SystemInfo Binding
298 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Tado Binding
299 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: TapoControl Binding
300 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: UPnP Control Binding
301 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: ZWave Binding
302 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: IP-based Suggested Add-on Finder
303 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: mDNS Suggested Add-on Finder
304 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: uPnP Suggested Add-on Finder
305 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: USB Suggested Add-on Finder
306 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration UPnP Discovery
307 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration USB-Serial Discovery
308 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Linux using sysfs scanning
309 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration USB-Serial Discovery using ser2net mDNS scanning
310 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Windows
311 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration jUPnP
312 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration Serial
313 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Modbus Transport
314 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: MQTT Transport
315 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Serial Transport
316 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Serial Transport for RXTX
317 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Serial Transport for RFC2217
318 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: UPnP Transport
319 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: IO :: openHAB Cloud Connector
320 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Persistence Service :: MapDB
321 β Active β 80 β 4.2.0 β openHAB Add-ons :: Bundles :: Persistence Service :: RRD4j
322 β Active β 75 β 4.2.0 β openHAB Add-ons :: Bundles :: Transformation Service :: Exec
323 β Active β 75 β 4.2.0 β openHAB Add-ons :: Bundles :: Transformation Service :: JSonPath
324 β Active β 75 β 4.2.0 β openHAB Add-ons :: Bundles :: Transformation Service :: Map
325 β Active β 75 β 4.2.0 β openHAB Add-ons :: Bundles :: Transformation Service :: RegEx
326 β Active β 80 β 4.2.0 β openHAB UI :: Bundles :: Basic UI
327 β Active β 80 β 4.2.0 β openHAB UI :: Bundles :: HABPanel UI
328 β Active β 80 β 1.0.4 β reactive-streams-jvm
329 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: SDDP Suggested Add-on Finder
330 β Active β 80 β 4.2.0 β openHAB Core :: Bundles :: Configuration SDDP Discovery
331 β Active β 80 β 4.0.3 β com.qubular.openhab-binding-vicare-bundle
332 β Active β 80 β 4.0.3 β com.qubular.vicare-osgi
openhab>
^ It shows that the UI is running
What do you get back if you do a
curl localhost:8080
What port do you see behind this setting?
ps -ef | grep java | grep βDorg.osgi.service.http.portβ
It should say -Dorg.osgi.service.http.port=8080
Write down the process id β in my case 12313
what is
netstat -aon | grep β8080β
saying?
what is
sudo netstat -nlp | grep 12313
telling you?
1 Like
oppo1967p
(oppo1967p)
January 3, 2025, 11:48am
9
Hi Stefan
thanks for your reply.
226 β Active β 80 β 4.2.0 β openHAB UI :: Bundles :: Main UI
Probably is not the UI that is not responding, is the port 8080 that is not listening.
No good news. All your commands are dead.
This command just hangs. Need to press Ctrl+C.
openhabian@openhabianrpi5:~ $ curl localhost:8080
^C
openhabian@openhabianrpi5:~ $
This command doesnβt show anything:
openhabian@openhabianrpi5:~ $ ps -ef | grep java | grep βDorg.osgi.service.http.portβ
openhabian@openhabianrpi5:~ $
Also this command doesnβt show anything:
openhabian@openhabianrpi5:~ $ netstat -aon | grep β8080β
openhabian@openhabianrpi5:~ $
But, it was perfectly working until few days ago.
So something must have crashed in the system.
hmerk
(Hans-JΓΆrg Merk)
January 3, 2025, 11:56am
10
Did you try to stop openHAB, clean the cache (openhab-cli clean-cache) and restart openHAB ?
Please show
ps -ef | grep java
Can you do
sudo systemctl status openhab.service
What do you see in the logs?
oppo1967p
(oppo1967p)
January 3, 2025, 12:24pm
12
no, as I want to leave the system as is to identify the cause.
If I restart and all comes back working I will never understand the cause.
oppo1967p
(oppo1967p)
January 3, 2025, 12:26pm
13
Hi Stefan,
openhabian@openhabianrpi5:~ $ ps -ef | grep java
openhab+ 328893 324920 0 13:25 pts/0 00:00:00 grep --color=auto java
openhab 3342857 1 1 2024 ? 2-01:28:41 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.cm.dir=/var/lib/openhab/config -Djava.library.path=/var/lib/openhab/tmp/lib -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djetty.host=0.0.0.0 -Djetty.http.compliance=RFC2616 -Dorg.apache.cxf.osgi.http.transport.disable=true -Dorg.ops4j.pax.web.listening.addresses=0.0.0.0 -Dorg.osgi.service.http.port=8080 -Dorg.osgi.service.http.port.secure=8443 -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms192m -Xmx768m -XX:-TieredCompilation -XX:+ExitOnOutOfMemoryError -Dxtext.qn.interning=true --add-reads=java.xml=java.logging --add-exports=java.base/org.apache.karaf.specs.locator=java.xml,ALL-UNNAMED --patch-module java.base=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.locator-4.4.6.jar --patch-module java.xml=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.java.xml-4.4.6.jar --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=java.base/sun.net.www.content.text=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED --add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED --add-exports=java.security.sasl/com.sun.security.sasl=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED -Dkaraf.instances=/var/lib/openhab/tmp/instances -Dkaraf.home=/usr/share/openhab/runtime -Dkaraf.base=/var/lib/openhab -Dkaraf.data=/var/lib/openhab -Dkaraf.etc=/var/lib/openhab/etc -Dkaraf.log=/var/log/openhab -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir=/var/lib/openhab/tmp -Djava.util.logging.config.file=/var/lib/openhab/etc/java.util.logging.properties -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /usr/share/openhab/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.4.6.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.jaas.boot-4.4.6.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.main-4.4.6.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.specs.activator-4.4.6.jar:/usr/share/openhab/runtime/lib/boot/osgi.core-8.0.0.jar:/usr/share/openhab/runtime/lib/jdk9plus/istack-commons-runtime-3.0.12.jar:/usr/share/openhab/runtime/lib/jdk9plus/jakarta.xml.bind-api-2.3.3.jar:/usr/share/openhab/runtime/lib/jdk9plus/javax.annotation-api-1.3.2.jar:/usr/share/openhab/runtime/lib/jdk9plus/jaxb-runtime-2.3.8.jar:/usr/share/openhab/runtime/lib/jdk9plus/org.apache.servicemix.specs.activation-api-1.2.1-1.2.1_3.jar:/usr/share/openhab/runtime/lib/jdk9plus/txw2-2.3.8.jar org.apache.karaf.main.Main
openhabian@openhabianrpi5:~ $
and
openhabian@openhabianrpi5:~ $
sudo systemctl status openhab.service
[sudo] password for openhabian:
β openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
ββoverride.conf
Active: active (running) since Thu 2024-08-15 17:51:29 CEST; 4 months 19 days ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 3342855 ExecStartPre=/bin/rm -f /var/lock/LCK..ttyAMA0 /var/lock/LCK..ttyACM0 (code=exited, status=0/SUCCESS)
Main PID: 3342857 (java)
Tasks: 415 (limit: 4454)
CPU: 2d 11h 12min 60ms
CGroup: /system.slice/openhab.service
ββ1279475 /usr/bin/python3 /srv/openhab-conf/scripts/e2.py 2024 09 229.6 26655.06 746.000 229.6 365.000 19.0% 1.000 -0.381 21890.89 13.24 9498.54 1388.15 ON OFF "" 1998.2
ββ2250718 /usr/bin/python3 /srv/openhab-conf/scripts/e2.py 2024 09 223.3 26851.20 268.000 223.3 243.000 19.0% 168.000 -0.025 22189.66 1.87 9617.79 1404.77 ON OFF "" 2015.1
ββ2266112 /usr/bin/python3 /srv/openhab-conf/scripts/e2.py 2024 09 226.3 26854.41 1224.000 226.3 1227.000 19.0% 1280.00 0.003 22192.86 5.07 9617.79 1404.78 ON ON "" 2015.1
ββ2281817 /usr/bin/python3 /srv/openhab-conf/scripts/e2.py 2024 09 225.6 26859.36 1323.000 225.6 1321.000 15.0% 1326.000 -0.002 22197.8 10.01 9617.79 1404.79 ON ON "" 2015.2
ββ2297428 /usr/bin/python3 /srv/openhab-conf/scripts/e2.py 2024 09 236.1 26860.95 209.000 236.1 212.000 17.0% 0.0 0.003 22199.39 11.6 9617.79 1404.79 ON OFF "" 2015.2
ββ2312690 /usr/bin/python3 /srv/openhab-conf/scripts/e2.py 2024 09 223.0 26862.05 242.000 223.0 0.0 11.0% 0 -0.242 22200.14 0.0 9617.79 1405.14 ON OFF "" 2015.2
ββ3342857 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib>
Jan 02 00:00:01 openhabianrpi5 karaf[3342857]: at java.base/java.lang.Thread.run(Thread.java:840)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: Exception in thread "Thread-7614652" java.lang.IllegalArgumentException: WHERE address '20' is invalid: PL not in range [1-15]
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at org.openwebnet4j.message.WhereLightAutom.<init>(WhereLightAutom.java:111)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at org.openwebnet4j.message.Lighting.parseWhere(Lighting.java:299)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at org.openwebnet4j.message.BaseOpenMessage.getWhere(BaseOpenMessage.java:213)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at org.openhab.binding.openwebnet.internal.handler.OpenWebNetBridgeHandler.onEventMessage(OpenWebNetBridgeHandler.java:575)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at org.openwebnet4j.OpenGateway.lambda$onMessage$4(OpenGateway.java:189)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at org.openwebnet4j.OpenGateway$1.run(OpenGateway.java:271)
Jan 03 00:00:01 openhabianrpi5 karaf[3342857]: at java.base/java.lang.Thread.run(Thread.java:840)
openhabian@openhabianrpi5:~ $
hmerk
(Hans-JΓΆrg Merk)
January 3, 2025, 12:29pm
14
Sometimes we cannot find the root cause but a restart and clean-cache solves the issue.
AFAIK you are the first with such an issue so somerhing might have gone βbezerkβ on your system. Whithout any hints in the logs it might near to be impossible to find a root cause.
hmerk
(Hans-JΓΆrg Merk)
January 3, 2025, 12:34pm
15
So you seem to have an issue wirh the OpenWebNet Binding.
Any changed from your side on that behalf?
Try to disable (bundle:stop) that Binding and check if that solves your issue
oppo1967p
(oppo1967p)
January 3, 2025, 12:50pm
16
I notice that in the logs, even if it works fine.
Since last update in April/May it makes a lot of noise in the logs, but works fine.
The maintainer doesnβt seem active.
But should that affect the 8080 port?
hmerk
(Hans-JΓΆrg Merk)
January 3, 2025, 12:58pm
17
I donβt know.
Even you donβt want it, I really recommend restarting an cleaning the cache.
It could be a simple, not reproducable βhickupβ.
oppo1967p
(oppo1967p)
January 3, 2025, 1:29pm
18
Here is the full log.
Full of garbage, but maybe you can get some useful information from it.
openhab.log on wetransfer (too big to upload here):
https://we.tl/t-3St9kUgx2D
I am ok that I might not get the root cause, but at least I would like to recover the situation and be able without restarting to reactivate the listening on port 8080.
It seems strange that there is no way to restart the listening on port 8080.
Any idea?
oppo1967p
(oppo1967p)
January 3, 2025, 1:59pm
19
To be honest, itβs not the first time.
The issue randomly appears:
Hi all,
I am running OH 3.4 on PI3 using openhabian.
The problem is that every few weeks the GUI interface stops responding.
When it happens, OH3 works fine, receive commands and sends commands, send email and notifications, SSH works fine, Karaf is accessible, but the IP:8080 do not connect.
Also HTTP API do not work (HomeHabit & HabPanel do not connect) and sitemaps do not work (even if in the logs the cloud connector is connected)
2023-09-16 17:36:59.263 [INFO ] [io.openhabcloud.internalβ¦
Since my last post on the matter, I have rebuild the OH installation, moved to verson 4, changed the hardware and the routerβ¦
But the problem is still there.
hmerk
(Hans-JΓΆrg Merk)
January 3, 2025, 2:27pm
20
Ok, did not see that post. I will have a look at your logs later.