I’ve got my pushover services running for several months but couple of days ago they stopped working.
I’m getting message:
Received an empty response from our Pushover API call. This can mean either we are having trouble connecting to the Pushover API or the Pushover API is actively enforcing rate limits with a connection time-out.
What can it be?
I’ve checked API keys, settings and notification limits.
Where? In the app, in the openhab logs, …?
What I have noticed: the pushover notifications are working, but since a couple of days they are slightly delayed (sometimes up to 30 seconds).
yep, in the logs: 2016-02-27 22:29:32.626 [ERROR] [o.a.pushover.internal.Pushover] - Received an empty response from our Pushover API call. This can mean either we are having trouble connecting to the Pushover API or the Pushover API is actively enforcing rate limits with a connection time-out.
I just checked it and can receive pushover notifications without any problems (OH 1.8.1 and pushover action 1.8.1). No error logs at all.
So I can only recommend to double check again the api and token …
Did you update or upgrade since you have those problems?
rule "Home Alarm Pushover"
when
Item Home_Alarm received update
then
pushover("Home Alarm changed status", 1)
end
and here is what I get:
2016-03-01 21:25:52.841 [INFO ] [runtime.busevents ] - Home_Alarm received command OFF 2016-03-01 21:25:53.278 [ERROR] [g.openhab.io.net.http.HttpUtil] - Fatal transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2016-03-01 21:25:53.278 [ERROR] [o.a.pushover.internal.Pushover] - Received an empty response from our Pushover API call. This can mean either we are having trouble connecting to the Pushover API or the Pushover API is actively enforcing rate limits with a connection time-out.
You need your org.openhab.action.pushover-1.x.x.jar
in your addons folder,
you need your config in your openhab.cfg:
#################### Pushover Action configuration #####################
#
# The timeout for the communication with the Pushover service (optional, defaults
# to 10000 milliseconds)
#pushover:defaultTimeout=
# You need to provide a Pushover API token to send to devices. If not here, than during
# the action call itself.
pushover:defaultToken=yxzyxzyxzyxzyxzyxzyxzyxzyxz
# You need to provide a Pushover User Key to send to devices. If not here, than during
# the action call itself.
pushover:defaultUser=abcabcabcabcabcabcabcabcabcabc
# Name of the sending application (optional). Defaults to 'openHAB'.
pushover:defaultTitle=openHAB
# The priority to use for messages if not specified otherwise. Can range from
# -2 (lowest) to 2 (highest)
#pushover:defaultPriority=
# Url to attach to the message if not specified in the command (optional). Can be left empty.
#pushover:defaultUrl=
# Url Title to attach to the message if not specified in the command (optional). Can be left empty.
#pushover:defaultUrlTitle=
# When priority is high priority (2), how often in seconds should messages be resent. Defaults to 300 seconds.
#pushover:defaultRetry=
# When priority is high priority (2), how long to continue resending messages until acknowledged. Defaults to 3600 seconds.
#pushover:defaultExpire=
Really appriciate your willing to help! Thank you!
I’ve done the procedure again. The same error.
Can it be because of linux permission or something?
I just cannot find what’s wrong. I don’t remember when exactly I lost pushover. Maybe it happened when I was migrating from Windows to Ubuntu…
It depends: if all your other bindings are working well, I doubt a permission problem.
You should start openhab in debug mode and see what the output is.
20:06:12.432 [DEBUG] [m.r.internal.engine.RuleEngine:305 ] - Executing rule 'Arduino sends to Openhab'
20:06:12.458 [DEBUG] [m.r.internal.engine.RuleEngine:305 ] - Executing rule 'Motion alarm Living Room'
20:06:12.483 [DEBUG] [o.a.pushover.internal.Pushover:313 ] - Executing post to https://api.pushover.net/1/messages.xml with the following content: token=aW1SrqbVQXq*************vZsUAEi5&user=u8ytYoKwfz***********EiUHLXvTW&message=Motion+in+living+room+detected&title=OpenHAB&priority=1
20:06:13.160 [ERROR] [g.openhab.io.net.http.HttpUtil:233 ] - Fatal transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
20:06:13.162 [DEBUG] [o.a.pushover.internal.Pushover:315 ] - Raw response: null
20:06:13.163 [ERROR] [o.a.pushover.internal.Pushover:319 ] - Received an empty response from our Pushover API call. This can mean either we are having trouble connecting to the Pushover API or the Pushover API is actively enforcing rate limits with a connection time-out.