openhab-addons: [pushover] Sending messages randomly fails with java.io.EOFException
Expected Behavior
Pushover messages should be reliable. Every attempt of sending a message from a rule should bring the same result.
Current Behavior
Very randomly and for no good reason the following error message appears in the logs and no pushover message is sent:
Script execution of rule with UID 'hm-sonstige-5' failed: java.io.EOFException: HttpConnectionOverHTTP@d761b68::DecryptedEndPoint@3b78ddb9{api.pushover.net/104.20.125.71:443<->/192.168.178.2:47218,OPEN,fill=-,flush=F,to=82112373/0} in hm-sonstige
Seconds later the exact same rule works like a charm for multiple times.
Steps to Reproduce (for Bugs)
Send a pushover message from the same rule multiple times.
Your Environment
- Version used: openHAB 3.1.0.M2
- Operating System and version: Synology Docker Container
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 28 (9 by maintainers)
Hi! I ran into the same Problem! Some messages went out and some not. What i saw is that after a fresh reboot every message went out. But after some time when no message was sent the next message generates an EOF Exception. I observed this after i got a new Cable Modem from my Internet Provider. So i started to dig deeper. What i found out:
Workaround: Triggering a “Sent Message” with Empty Content every couple of Minutes will generate some “Keepalive” Traffic on the established Connection and my Cable Modem is not Dropping the Connection!
Is it possible to implement some sort of Keepalive in the Binding or a check if an established TCP Session is “healthy”?