#5140: Wiki editing via API failing when captcha has to be solved
-------------------------+------------------------
Reporter: adamwill | Owner: webmaster
Type: bug | Status: new
Priority: major | Milestone: asap
Component: Web Content | Version:
Severity: High | Resolution:
Keywords: | Blocked By:
Blocking: | Sensitive: 0
-------------------------+------------------------
Comment (by adamwill):
so here's some weirdness: a similar test script works just fine *if I'm
logged in* - I made it save a random URL to trigger the captcha every
time, and checked it really was hitting a captcha, and the page save still
works just fine. So I suspect the reason the test script fails reliably is
that mwclient/wikitcms don't preserve the session across requests if
you're not logged in.
But! Event creation from my fedmsg consumer is still often failing due to
captcha errors, and I just cannot figure out why. The consumer *does* log
in to the wiki. I can run the test-script-with-login on the same box that
does the event creations and it works no trouble. I can create events
manually (which winds up on basically the same codepath as the consumer)
and it seems to work fine. So I just cannot figure out why the consumer
has issues.
Anyhow, if we can't figure out the problem, can we blunt force it? Could
you please captcha whitelist both my IP - 184.71.189.90 - and the IP range
for the QA network in phx2, so if we move event creation into infra it
will also be whitelisted? Thanks.
--
Ticket URL: <
https://fedorahosted.org/fedora-infrastructure/ticket/5140#comment:2>
Fedora Infrastructure <
http://fedoraproject.org/wiki/Infrastructure>
Fedora Infrastructure Project for Bugs, feature requests and access to our source code.