Page MenuHomePhabricator

Increase maxRedirects to 10
Closed, ResolvedPublic0 Estimated Story Points

Description

http://dx.doi.org/10.1016/S1360-8592(98)80044-2 can't be cited as it causes a too many redirects error. We should possible increase the redirect limit, as this is resolvable with only one additional redirect.

Event Timeline

Mvolz raised the priority of this task from to Needs Triage.
Mvolz updated the task description. (Show Details)
Mvolz added a project: Citoid.
Mvolz moved this task to Site specific issues on the Citoid board.
Mvolz subscribed.

@mobrovac, error is "too many redirects" - do we want to increase the number of redirects?

Interestingly, this works if you just use the doi instead of using the full doi link. Not sure why that would be.

Mvolz renamed this task from http://dx.doi.org/10.1016/S1360-8592(98)80044-2 produces we couldn't make a citation for you to http://dx.doi.org/10.1016/S1360-8592(98)80044-2 causes a "too many redirects" error.Oct 10 2015, 7:03 AM
Mvolz updated the task description. (Show Details)
Mvolz set Security to None.

Hmm, weird, I tried this again and this time I got stuck in a redirect loop afterall. Will investigate more later.

Scratch that, yeah we just need to increase max redirects to get it.

Currently maxRedirects is set to 5. We can increase that to 10 without consequences.

mobrovac renamed this task from http://dx.doi.org/10.1016/S1360-8592(98)80044-2 causes a "too many redirects" error to Increase maxRedirects to 10.Oct 10 2015, 10:02 AM
mobrovac changed the task status from Open to Stalled.
mobrovac claimed this task.
mobrovac triaged this task as Medium priority.

Setting as stalled since we need an ops/puppet change for that and Opsens are away on an offsite this week. Will tackle that after that.

Sounds good; the reason the plain doi works and the link one doesn't is
because we resolve the former in requestFromDOI; it's a freebie that
doesn't count against the limit :).

Mvolz moved this task from IO Tasks to Production on the Citoid board.
mobrovac changed the task status from Stalled to Open.Aug 15 2016, 4:00 PM

Change 304845 had a related patch set uploaded (by Mobrovac):
Citoid: increase the number of redirects to 10

https://gerrit.wikimedia.org/r/304845

Change 304845 merged by Alexandros Kosiaris:
Citoid: increase the number of redirects to 10

https://gerrit.wikimedia.org/r/304845

mobrovac removed a project: Patch-For-Review.
mobrovac removed a subscriber: gerritbot.

Deployed, resolving.