Forum
Troubleshooting webmentions: I can successfully receive but automated send is no...
Hi,
I’m trying to enable webmentions on my Perch Blog. I can receive webmentions and can manually add a response to a third party article page but I can’t get the automated, scheduled sending to work.
I started by following your tutorial: https://docs.grabaperch.com/addons/blog/webmentions/.
I then created a test blog article on my site - https://fuzzylogic.me/posts/testing-out-webmentions - and manually posted a webmention on https://aaronparecki.com/2018/06/30/11/your-first-webmention.
I’ve been able to receive a webmention by sending one from https://webmention.rocks/receive/1 and it then successfully arrived into my site, I approved it and can see it listed beside my post, https://fuzzylogic.me/posts/testing-out-webmentions.
But when I created a new blog post - https://fuzzylogic.me/posts/testing-webmention-endpoint-discovery-implementation - which references all the test suite links on https://webmention.rocks/, and waited until my scheduled task ran, I found that my comments aren’t showing up on any of those pages.
I’ve done the following troubleshooting based on your guidelines article: - checked my scheduled tasks are running fine. They're all showing green ticks and "OK" - The PHP extensions XML, mbstring and cURL are installed. - My error logs aren’t showing anything related to webmention - In the datebase the perch3_blog_webmention_queue table is empty
Here's my Diagnostic Report.
Summary information
Perch: 3.1.1, PHP: 7.2.7-0ubuntu0.18.04.2, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1), perch_blog (5.6.1)
App runtimes: <?php $apps_list = [ 'perch_blog' ];
PERCH_LOGINPATH: /console
PERCH_PATH: /var/www/html/fuzzylogic.me/public_html/console
PERCH_CORE: /var/www/html/fuzzylogic.me/public_html/console/core
PERCH_RESFILEPATH: /var/www/html/fuzzylogic.me/public_html/console/resources
Image manipulation: GD
PHP limits: Max upload 2M, Max POST 8M, Memory: 128M, Total max file upload: 2M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: fuzzylogic.me
DOCUMENT_ROOT: /var/www/html/fuzzylogic.me/public_html
REQUEST_URI: /console/core/settings/diagnostics/
SCRIPT_NAME: /console/core/settings/diagnostics/index.php
To sum up, I’m not sure whether the automated webmention sending is being sent and failing, or not sending at all.
I did try one last thing which was to manually cURL a webmention endpoint from the command line, just to see if cURL worked, and it did.
Any help very much appreciated!
Thanks, Laurence
Do you have
PERCH_PRODUCTION_MODE
set to something belowPERCH_PRODUCTION
?Hi, No, it’s set like this:
Can you post your extended diagnostics?
Here they are:
Try updating the Site URL setting to:
Thanks, I did that, then manually ran the scheduled task from the command line, and.... deep joy!
https://webmention.rocks/test/3
I just realised that you might not see what I see on that URL, but suffice to say my comment is now showing up! Thanks for your help.