Ticket #613 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

trackback problems

Reported by: russ Assigned to: jsuttor
Priority: high Milestone:
Component: ambra Version: 0.8
Keywords: trackback Cc:
Blocking: Blocked By:

Description

howdy.

trackbacks don't seem to be working for us.

when we send a trackback, we get a whole lot of errors in the plosone log like:

2007-08-24 18:03:33,262 WARN  UnhandledException(PLoSONE)> org.plos.article.util.NoSuchArticleIdException: (id = 'info:doi/10.1371/journal.pone')(representation=XML) [TP-Processor5 org.plos.UnhandledException]

followed by:

2007-08-24 18:03:36,460 DEBUG TrackbackAction(PLoSONE)> No previous trackback found for: http://trackback-dev.plos.org/?q=node/10 [TP-Processor3 org.plos.action.TrackbackAction]
2007-08-24 18:03:36,866 DEBUG TrackbackAction(PLoSONE)> Trackback failed verification: http://trackback-dev.plos.org/?q=node/10 [TP-Processor3 org.plos.action.TrackbackAction

is there any way we can get some more info about what the verification is looking for, and why it's failing?

Dependency Graph

Change History

08/24/07 18:08:51 changed by russ

  • keywords set to trackback.
  • owner changed from pradeep to jsuttor.
  • version set to 0.8.
  • component changed from topaz to publishing-app.
  • priority changed from unassigned to high.

note, the correct trackback URL is being called according to httpd logs:

10.135.0.104 - - [24/Aug/2007:18:00:06 -0700] "POST /article/info%3Adoi%2F10.1371%2Fjournal.pone.0000263/trackback;jsessionid=8581630E102BD2C9FEAF15AD6256514C HTTP/1.0" 200 124

08/24/07 18:23:34 changed by russ

and i can see the plosone server grabbing the blog entry (192.168.1.12 is the plosone server

192.168.1.12 - - [24/Aug/2007:18:16:33 -0700] "GET /?q=node/12 HTTP/1.1" 200 4897
10.135.0.104 - - [24/Aug/2007:18:16:33 -0700] "POST /article/info%3Adoi%2F10.1371%2Fjournal.pone.0000263/trackback;jsessionid=8AC96A147BF48F6DC8ECA07C5047B7BF HTTP/1.0" 200 124
10.135.4.28 - - [24/Aug/2007:18:16:27 -0700] "POST /?q=node/add/blog HTTP/1.1" 302 -
10.135.4.28 - - [24/Aug/2007:18:16:34 -0700] "GET /?q=node/12 HTTP/1.1" 200 4680

and i confirm that the blog entry contains the correct URL:

<p><a href="http://plosone-dev.plos.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0000263" title="http://plosone-dev.plos.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0000263">http://plosone-dev.plos.org/article/info%3Adoi%2F10.1371%2Fjournal.pone....</a></p>

08/24/07 18:30:58 changed by russ

finally, i was worried that maybe the problem was that my blog was sending the trackback at the same time as the entry was posted (even though i can see plosone getting a nice 200 return code when i tries to verify)

so i reconfigured by blog to send trackbacks later. i posted a new blog entry, then sent the trackback, and we still got verification failed.

my remaining suspicions

  • the blog software truncates long urls. perhaps your verification is only looking at text and not at the href attribute which does contain the full URL? i note that the validator plugin you modeled this on looks at hrefs and not just text
  • something's wrong with having escaped characters in the URL? (i tried posting both ways though and i got the same results)

08/24/07 21:56:54 changed by stevec

  • status changed from new to closed.
  • resolution set to fixed.

(In [3574]) fixes #613 At least it should. Can't tell for sure till it is tested with the blog software plos is testing with. But this works with MovableType?.

08/28/07 15:17:16 changed by russ

got a trackback. still have those odd errors like:

2007-08-28 15:15:25,619 ERROR UnhandledException(PLoSONE)> org.plos.article.util.NoSuchArticleIdException: (id = 'info:doi/10.1371/journal.pone')(representation=XML) [TP-Processor3 org.plos.UnhandledException]

will open separate, lower priority, ticket.