Looking for LOG FILE
-
I have a Godaddy hosted account that has several website running under it. All of them but one gets an SSL auto assigned. One will not work. Is there a log file somewhere that I can get detailed information on what’s going on?
-
@geokscott There is no log file. Our plugin sends logs through cron job. So, please set up the corn job to receive an email every time the cron job runs.
Thanks for the quick reply. I have the CRON job setup to run nightly. When it updates a SSL I get an email like the following:
Hello,
‘Auto-Install Free SSL’ installed Let’s Encrypt SSL on ……….I have one website that is going to expire in a few days and I never get an email from the CRON job saying anything about this one problem website. I have both WordPress and non-WordPress sites all hosted under this one account. The plugin is installed on only one of the WP sites and it updates the SSL’s on all but this one non WP site. Other non-WP site get an SSL. How do I troubleshoot? Maybe the plugin is not supposed to be able to do this and I just got lucky?
Thanks!
@geokscott That is not a cron log. That email is sent by the plugin directly; not through cron job.
Could you please share a screenshot of your cron settings?
Sure, but I know the CRON ran because it updated the ssl for one of my non-WP sites last night at midnight, that’s when I got the email I mentioned above. Here is my CRON with the personal info x’ed out. Don’t see an option to insert a screen shot here, but if I really have to I will link to one:
php -q /home/xxxxxxx/xxxxxxx/wp-content/plugins/auto-install-free-ssl/cron.phpIt’s setup to run every day at midnight. Like I said my hosting is with Godaddy and the CRON is supposed to email me when it runs, but the only emails I get are the one’s about successful updates. I asked Godaddy why I don’t get a CRON email every night, but they were NO HELP at all… I’m pretty sure their system is broken and they don’t care.
This morning I ran it manually using Issue and install Free SSL certificate option. I didn’t know this but it produces the output of the execution in a window! So this is what I captured from it’s attempt to issue a SSL to the one site that always fails:
2021-05-25 16:00:20 [info] Generating SSL for autoview.com 2021-05-25 16:00:20 [info] Domains array Array ( [0] => autoview.com [1] => www.autoview.com ) 2021-05-25 16:00:20 [info] Starting SSL certificate generation process with ACME V2 2021-05-25 16:00:20 [info] Requesting challenges for the array of domains 2021-05-25 16:00:23 [info] Sending signed request to https://acme-v02.api.letsencrypt.org/acme/new-order 2021-05-25 16:00:24 [info] Domain 1 2021-05-25 16:00:25 [info] 'http-01' challenge found. So, using 'http-01' challenge. 2021-05-25 16:00:25 [info] Got challenge token for autoview.com 2021-05-25 16:00:25 [info] Document root is /home/xxxxxxxxx/autoview.com for the domain autoview.com 2021-05-25 16:00:25 [info] Token for autoview.com successfully saved at /home/xxxxxxxxx/autoview.com/.well-known/acme-challenge/7uivdwxr4obfLnBcmoGdZqV2XpyUy1KfPt3VIUDtO_Q and should be available at http://autoview.com/.well-known/acme-challenge/7uivdwxr4obfLnBcmoGdZqV2XpyUy1KfPt3VIUDtO_Q 2021-05-25 16:00:25 [info] Final Internal Validation: the Payload content (7uivdwxr4obfLnBcmoGdZqV2XpyUy1KfPt3VIUDtO_Q.t5DnTtmOai3lLtikC5sKQqAxUmAmloA7ebyS2UYyl6c) successfully matched with the content of http://autoview.com/.well-known/acme-challenge/7uivdwxr4obfLnBcmoGdZqV2XpyUy1KfPt3VIUDtO_Q. 2021-05-25 16:00:25 [info] Sending request to challenge 2021-05-25 16:00:27 [info] Sending signed request to https://acme-v02.api.letsencrypt.org/acme/chall-v3/13387863417/bNYm2A 2021-05-25 16:00:28 [info] Verification pending, sleeping 1 second 2021-05-25 16:00:29 [info] Sending signed request to https://acme-v02.api.letsencrypt.org/acme/chall-v3/13387863417/bNYm2A 2021-05-25 16:00:30 [info] Sorry, Let's Encrypt server response (400) is unexpected. Complete server response given below. Array ( [type] => urn:ietf:params:acme:error:malformed [detail] => Unable to update challenge :: authorization must be pending [status] => 400 ) 2021-05-25 16:00:30 [info] Verification pending, sleeping 1 second 2021-05-25 16:00:31 [error] Verification ended with error: {"type":"urn:ietf:params:acme:error:malformed","detail":"Unable to update challenge :: authorization must be pending","status":400} 2021-05-25 16:00:31 [error] #0 /home/xxxxxxxxx/k6gks.com/wp-content/plugins/auto-install-free-ssl/FreeSSLAuto/src/FreeSSLAuto.php(199): AutoInstallFreeSSL\FreeSSLAuto\Acme\AcmeV2->obtainSsl(Array, '/home/xxxxxxxxx...', false, 'US', 'California', 'Security') #1 /home/xxxxxxxxx/k6gks.com/wp-content/plugins/auto-install-free-ssl/cron.php(96): AutoInstallFreeSSL\FreeSSLAuto\FreeSSLAuto->run() #2 /home/xxxxxxxxx/k6gks.com/wp-content/plugins/auto-install-free-ssl/FreeSSLAuto/src/Admin/IssueFreeSSL.php(80): require_once('/home/xxxxxxxxx...') #3 /home/xxxxxxxxx/k6gks.com/wp-includes/class-wp-hook.php(292): AutoInstallFreeSSL\FreeSSLAuto\Admin\IssueFreeSSL->issue_free_ssl_admin_page('') #4 /home/xxxxxxxxx/k6gks.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #5 /home/xxxxxxxxx/k6gks.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #6 /home/xxxxxxxxx/k6gks.com/wp-admin/admin.php(259): do_action('auto-install-fr...') #7 {main}Does this help determine the cause?
@geokscott Looks like you haven’t set an email to receive the cron log. If you are using cPanel, please look at the first field on the corn job page.
When I am manually trying to fetch the challenge URL:
http://autoview.com/.well-known/acme-challenge/7uivdwxr4obfLnBcmoGdZqV2XpyUy1KfPt3VIUDtO_QI got 404 Not Found error. It’s a server-side issue. Please check your frontend web server error log.
Well Godaddy doesn’t want to deal with CRON because I DO have my email set in CRON but I never get an email. I had them look into it and they said we can’t help with your CRON jobs, but I said I don’t want help with a JOB, just want to get the emails like I’m supposed to!!!! They checked with second level support and they quoted an email I got from your plugin, proving that it was working. They just don’t get it, so I gave up…. Maybe I should have yelled louder!
Okay, back to the manual running of “Issue and install Free SSL certificate”
I see a bunch of files in .well-known from where it has tried every day. So I deleted the folder and ran the manual Issue command again. It created the file and you can access it via the link but it still throws the 400 error. Here is the link, you can see for yourself it’s a good file and working link.
http://www.autoview.com/.well-known/acme-challenge/R136qaculb9WtPQ3SoS2DEDpQIqGqnZHtvu3TTfjLCgSo there must be something off with that one website. Since all the other sites are working fine, I don’t think it’s the plugin, I think it’s my hosting, something is off with that folder or the hosting settings…
Thanks
Okay, I deleted my website folder and start over from scratch. The site only has 3 files. I ran the manual install again and got a new file in .well-known just fine, but the plugin still errors out trying to read it.
http://autoview.com/.well-known/acme-challenge/PyuixveNrBc1uVnlJ1datMKJoUvsIx3x2rqc4SyRzYsWhat else could be wrong with this site? This is a real head scratcher.
The topic ‘Looking for LOG FILE’ is closed to new replies.