# plexWatch SSL error

**URL:** <https://forums.plex.tv/t/plexwatch-ssl-error/122571>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [November 9, 2015, 3:56am UTC](https://forums.plex.tv/t/plexwatch-ssl-error/122571 "2015-11-09T03:56:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![radiocolin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/radiocolin/32/4303_2.png) [@radiocolin](https://forums.plex.tv/u/radiocolin)\
**Post date:** [November 9, 2015, 3:56am UTC](https://forums.plex.tv/t/plexwatch-ssl-error/122571/1 "2015-11-09T03:56:37Z")

</div>

I’m getting the following error (in bold) with Pushover in plexWatch:

```
$ /opt/plexWatch/plexWatch.pl --test_notify=start
Sun Nov 8 22:51:33 2015: DEBUG test_notify: user: title [T or D - for Transcoded or Direct] [year of video] [rating of video - TV-MA, R, PG-13, etc] on client platform [progress of video [only available/correct on --watching and stop events] in] Client IP Address
Failed to post Pushover notification -- title [T or D - for Transcoded or Direct] [year of video] [rating of video - TV-MA, R, PG-13, etc] on client platform [progress of video [only available/correct on --watching and stop events] in] Client IP Address result:SSL_verify_mode must be a number and not a string at /usr/share/perl5/IO/Socket/SSL.pm line 2130.

```

Specific error, broken out for ease of reading:  
`result:SSL_verify_mode must be a number and not a string at /usr/share/perl5/IO/Socket/SSL.pm line 2130.`

I suspect something changed in the Net::Socket::SSL library. I have a fresh Ubuntu 15.10 server install with the following version of IO::Socket::SSL

```
 $cpan -D IO::Socket::SSL
Reading '/home/computername/.cpan/Metadata'
  Database was generated on Mon, 09 Nov 2015 02:41:02 GMT
IO::Socket::SSL
-------------------------------------------------------------------------
	(no description)
	S/SU/SULLR/IO-Socket-SSL-2.020.tar.gz
	/usr/local/share/perl/5.20.2/IO/Socket/SSL.pm
	Installed: 2.020
	CPAN: 2.020 up to date
	Steffen Ullrich (SULLR)
	Steffen_Ullrich@genua.de
```

---

<div class="post-metadata">

**Author:** ![radiocolin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/radiocolin/32/4303_2.png) [@radiocolin](https://forums.plex.tv/u/radiocolin)\
**Post date:** [November 15, 2015, 5:24pm UTC](https://forums.plex.tv/t/plexwatch-ssl-error/122571/2 "2015-11-15T17:24:05Z")

</div>

From the [main PlexWatch thread](https://forums.plex.tv/discussion/comment/1060395/#Comment_1060395 "main Plexwatch thread"):

> I solved this by deleting this line from plexWatch.pl:  
> SSL\_verify\_mode =\> “SSL\_VERIFY\_NONE”,

Probably not the most secure way to do it, so do so at your own risk.

---

<div class="post-metadata">

**Author:** ![tpsailer](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@tpsailer](https://forums.plex.tv/u/tpsailer)\
**Post date:** [January 7, 2016, 7:50pm UTC](https://forums.plex.tv/t/plexwatch-ssl-error/122571/3 "2016-01-07T19:50:01Z")

</div>

SSL\_verify\_mode =\> “SSL\_VERIFY\_NONE”,

should actually be

SSL\_verify\_mode =\> SSL\_VERIFY\_NONE,

as this is a constant, not a string.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:52pm UTC](https://forums.plex.tv/t/plexwatch-ssl-error/122571/4 "2020-01-08T19:52:43Z")

</div>

Closed on January 8, 2020, 7:52pm UTC


