By Dave Parker on Tuesday, 13 May 2014
Posted in Technical Issues
Replies 8
Likes 0
Views 601
Votes 0
Hi.
Since upgrading to V 1.2.10, Activity emails seems to have stopped working. I have three today sitting in the queue.
I am receiving emails when someone signs up, and I can send/receive emails from my email account. I've not changed the cron job either.
Could someone please advise?
Dave
Hello Dave,

The firs thing you want to actually check is your cronjob in your control panel. But here's what you can do, try to access http://yoursite.com/index.php?option=com_easysocial&cron=true and see if you are getting any emails or if the emails are marked as sent?
·
Tuesday, 13 May 2014 21:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark.
OK, think I understand why this is happening, but don't know why. I'm using an SSL redirect plugin. If I use the http protocol it doesn't work when using CRON jobs in CPanel it doesn't work. However, if I prefix it with https in the CRON job, it still doesn't work... any ideas why?
·
Wednesday, 14 May 2014 02:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dave,

Hm, not really sure if I understand you here. Does the cronjob send you an email notifications about the result of cron execution?
·
Wednesday, 14 May 2014 03:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi.
I ran the command line in the browser as you suggested and it reported it sent the emails and they were registered as sent in the back end.
I'm beginning to think that wget can't handle https requests.
Dave
·
Wednesday, 14 May 2014 04:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dave,

Is your ssl certificate valid? wget would have issues connecting the site on https if your ssl certificate is self signed or if it is not valid.
·
Wednesday, 14 May 2014 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Morning Mark.
Yup, SSL valid and not self-signed. I've checked with the hosting company, and they say their version of WGET is compiled to run with SSL. It's odd that running the URL in a browser as you suggested runs the script but not with WGET in the CRON job.
·
Wednesday, 14 May 2014 14:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark.
Quick update... issue resolved. It call comes down to your favourite service provider (from previous difficulties you've had with the way they cache sites!), CloudFlare.
This is what the ISP had to say...
It looks that due to the environment the Cron is running, it is unable to retrieve the correct details for verifying the validity of the SSL certificate (the SSL cert supplied by CloudFlare).

You can bypass this by adding the "--no-check-certificate" option to your wget command if you wish, which doesn't affect the encryption but may allow for an expired, revoked or spoofed SSL
certificate.


So if anyone else is using CloudFlare with SSL, they might need to add the --no-check-certificate option to WGET if they are running their site entirely on SSL with any form of SSL redirect plugin.

Dave
·
Wednesday, 14 May 2014 17:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the heads up on this Dave! Good to know and thanks for sharing!
·
Wednesday, 14 May 2014 23:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post