Pushover and Gmail on two different Blue Iris machines, one stopped working!

tward392

Pulling my weight
Sep 9, 2019
255
145
US
I have two Blue Iris installations, one at home and one at my mother-in-laws.

The one at my mother-in-laws decided to stop sending alerts via Gmail and Pushover...

Error in the Blue Iris Log: Email: Error with Gmail Api: 500 Unknown exception (server no response). (12)

Pushover doesn't seem to get an error that I can see.

Both stopped working 6/7/2022 at 08:02 pm....

When they stopped working there were no updates done.. Since they stopped I updated to the latest version of Blue Iris, did a windows update and rebooted just to see if that would fix it. Removed the email server and the "On Alert" settings and re-did them, still doesn't want to work from that one.

Use the same Gmail setup with my home one and it works fine.
Use the same Pushover account with my home with just with a different pushover application and it works fine.

Gmail is setup on both via the OAUTH.
 
Are they both the same BI version? OAUTH wouldn't work for me.

On the problem one, go into gmail and assign it an app password and put that in for the gmail password in BI and it should start working again.
 
They are both the same BI version now... That was one of the things I tried to do to fix it. The one that stopped working was a version or two behind the one that is still working.
 
On the problem one, go into gmail and assign it an app password and put that in for the gmail password in BI and it should start working again.

Changing to App Password gets the following error:
Email: Error with sending data - data stream; ANSSL failed to encrypt and send data. (8)
 
Still not sure why both things stopped working on the one installation....

Does anyone know of a way to debug the pushover thing?
 
Using a DOS prompt and trying the curl command for pushover has a problem once I add:

-F "attachment=@D:\BlueIris\Alerts\&ALERT_PATH"

  • schannel: Curl_read_plain returned CURLE_RECV_ERROR
  • Closing connection 0
  • schannel: shutting down SSL/TLS connection with api.pushover.net port 443
  • Send failure: Connection was reset
  • schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)

so----here is the whole command that I ran from a batch file

c:\windows\system32\curl.exe ^
-s ^
--form-string "token=<<token>>" ^
--form-string "user=<<user>>" ^
--form-string "message=<b>&CAM</b> &MEMO <a href='&WAN/alerts/&ALERT_DB?fulljpeg'>Hi-Res</a> <a href='&WAN/ui3.htm?rec=&ALERT_DB'>UI3</a>" ^
--form-string "html=1" ^
--form-string "device=Phone1,Phone2" ^
--form-string "sound=bike" ^
-F "attachment=@D:\BlueIris\Alerts\Front1.20220313_180000.1949014.3.10055.9990.jpg" ^
--verbose
 
I'm beginning to think it's not a Blue Iris problem. If I run the curl.exe command from the command line with an Image that I know is there it fails:

  • Trying <ip address>:443...
  • Connected to api.pushover.net (<ip address>) port 443 (#0)
  • schannel: disabled automatic use of client certificate
  • schannel: ALPN, offering http/1.1
  • schannel: ALPN, server accepted to use http/1.1
POST /1/messages.json HTTP/1.1
Host: api.pushover.net
User-Agent: curl/7.79.1
Accept: /
Content-Length: 80465
Content-Type: multipart/form-data; boundary=------------------------c14a16104b6bac19
  • schannel: Curl_read_plain returned CURLE_RECV_ERROR
  • Closing connection 0
  • schannel: shutting down SSL/TLS connection with api.pushover.net port 443
  • Send failure: Connection was reset
  • schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)

Still get the following error via OAUTH in gmail:

Email: Error with Gmail Api; 500 Unknown exception (server no response). (12)

If I tell the Email Configuration in Blue Iris to not send any attachments, the email goes through.

It seems to be an issue sending attachments both through Curl and Gmail.... Not sure where to go from here.
 
I am running Blue Iris as a service using a windows user account that I setup as an admin account just for this.

No my alerts folder is not on a network share.

I just tried the curl command from the command prompt from two different windows accounts and I get the same error.. I'm stumped.
 
I'm stumped too.
I did find this link while googling; perhaps it contains a clue.


Btw, thanks for using the --verbose argument; I have overlooked it before. I just added to post #1 <here>.
 
  • Like
Reactions: sebastiantombs
I'm stumped too.
I did find this link while googling; perhaps it contains a clue.


Btw, thanks for using the --verbose argument; I have overlooked it before. I just added to post #1 <here>.

Thanks, I was looking over some of the things in the link.. I was wondering if it could be a firewall thing because Windows Defender is running, now I haven't changed it in anyway but I assume Windows could have changed something in there...
 
Do you think this could be an IPv6 thing? Not sure if that machine always used IPv6 or not, but looking at ipconfig, the working server is using IPv4 still.
 
For the hell of it, I just disabled IPv6 on the router and both gmail and pushover are working again. Not sure whey I didn't try this sooner, but... it is now fixed.