jekyll-webmention_io icon indicating copy to clipboard operation
jekyll-webmention_io copied to clipboard

Webmentions are not received

Open xplosionmind opened this issue 4 years ago • 10 comments

I believe to have correctly configured the plugin, still, at build time my website receives none.

Firstly, here is the proof that the test webmention was succesfully sent: Screenshot 2021-11-22 at 3 51 51 PM

Here you can find my code which should parse the Webmentions sent as the picture above shows, but instead I get this (see here): Screenshot 2021-11-22 at 3 57 38 PM

What am I doing wrong? Or is it a bug?

UPDATE: The Webmentions have been sent before the website deployment.

xplosionmind avatar Nov 22 '21 15:11 xplosionmind

Are they present in webmention_io_received.yml in the cache directory?

fancypantalons avatar Nov 22 '21 16:11 fancypantalons

Are they present in webmention_io_received.yml in the cache directory?

They are not for /cft, which is the article in question. Nevertheless, by looking at that file I discovered that I am retrieving them for this post, for instance. So it does not appear to be a global problem.

xplosionmind avatar Nov 22 '21 16:11 xplosionmind

I just thought about this: could it be a problem related to the webmention coming from the same domain of the destination?

Anyways, I am puzzled because I triggered the webmention from https://indiewebify.me, and I got a “success” message.

xplosionmind avatar Nov 22 '21 16:11 xplosionmind

So what does the webmentions configuration block look like? The plugin will by default only process posts (i.e. files in _posts) unless you enable processing of pages using the pages configuration directive.

fancypantalons avatar Nov 27 '21 15:11 fancypantalons

The plugin will by default only process posts

It is a post… Since in the in other pages I receive webmentions, I am starting to think that it is a problem of https://webmentions.io

xplosionmind avatar Nov 27 '21 20:11 xplosionmind

Can you set debug: true in your webmentions block, as follows:

webmentions:
  ...
  debug: true
  ...

Then:

  1. Delete .jekyll-cache/webmention_io_lookups.yml (this ensures lookup throttling isn't stopping the plugging from making a request to webmention.io)
  2. Run a jekyll build
  3. Run a jekyll webmention

Then post the output from steps 3 and 4?

This will allow us to determine if the plugin is attempting to retrieve webmentions for the affected URLs, and if so, might provide some telemetry to see what's going on.

fancypantalons avatar Nov 27 '21 22:11 fancypantalons

Can you set debug: true in your webmentions block, as follows:

webmentions:
  ...
  debug: true
  ...

Then:

  1. Delete .jekyll-cache/webmention_io_lookups.yml (this ensures lookup throttling isn't stopping the plugging from making a request to webmention.io)
  2. Run a jekyll build
  3. Run a jekyll webmention

Then post the output from steps 3 and 4?

This will allow us to determine if the plugin is attempting to retrieve webmentions for the affected URLs, and if so, might provide some telemetry to see what's going on.

fancypantalons avatar Nov 27 '21 22:11 fancypantalons

Then post the output from steps 3 and 4?

Sure. Outputs are quite long, though. Output of 3 is here and output of 4 is here.

xplosionmind avatar Nov 28 '21 20:11 xplosionmind

Honestly, I'm starting to think if this is an issue in webmention.io itself. Manually hitting just this URL:

https://webmention.io/api/mentions?target=https://tommi.space/cft

Should return webmentions, based on the screenshot of the dashboard you showed. And yet it returns no results.

By contrast, if I replace that URL with a page on my own blog that has webmentions, it works fine.

fancypantalons avatar Jan 23 '22 00:01 fancypantalons

I was gonna suggest reaching out to @aaronpk, so I'm glad you filed the issue. He's been quite responsive and helpful in resolving issues I've encountered in the past (which, frankly, usually ended up being my fault).

aarongustafson avatar Jan 23 '22 07:01 aarongustafson

Judging by #178 being closed, I'll close this as well.

fancypantalons avatar Nov 28 '22 02:11 fancypantalons