Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Option "Honeypot time limit" has value 10 (seconds).
If I fill webform fast (in about 14 seconds), I have a error:
There was a problem with your form submission. Please wait 26 seconds and try again.
Comments
Comment #1
stewart.adam CreditAttribution: stewart.adam commentedI am seeing this as well. When commenting on a form with Mollom enabled (don't know if that has anything to do with it) and a 10 second Honeypot time limit, I see "please wait 40 seconds" when submitting my comments.
Comment #2
geerlingguy CreditAttribution: geerlingguy commentedIs it possible that you previously commented on another page or filled out some other form too quickly, and Honeypot is just reacting to the fact that you've failed one form submission so far?
I need to test myself to make sure, but I think Honeypot just uses global flood results, so if you break the time limit once, your time limit won't be reset until another cron run when the flood table is updated to remove old flood entries.
Also, is this happening as an anonymous user, or a logged-in user?
Comment #3
stewart.adam CreditAttribution: stewart.adam commentedI am testing this as an anonymous user and am able to reliably reproduce the issue. Here was my workflow, with actions performed as admin in square brackets:
There was a problem with your form submission. Please wait 22 seconds and try again.
So in addition to always blocking me even though I have respected the time limit, it blocks me for a seemingly arbitrary amount of time instead of enforcing the configured time limit. If I do wait the indicated time limit, the comment is posted successfully.
Perhaps this is related to Mollom? As after the first attempt (which always fails), Mollom knows I've entered the CAPTCHA correctly and does not make me enter one again.
Comment #4
stewart.adam CreditAttribution: stewart.adam commentedJust tested submitting a comment with the mollom module disabled, it worked right away with the same Honeypot time limit of 10.
Comment #5
geerlingguy CreditAttribution: geerlingguy commentedSo, to clarify, does this problem only occur when Mollom is enabled at the same time as Honeypot? If so, what version are you using? I'll try to test and figure out what's going wrong.
Comment #6
stewart.adam CreditAttribution: stewart.adam commentedThat is correct, in my case at least. I'm not sure if that's also the case for @bigMuzzy. I have not tested for similar behavior with other CAPTCHA modules such as reCAPTCHA.
Comment #7
geerlingguy CreditAttribution: geerlingguy commentedOkay, that helps; I'll investigate—I've been using the module alongside Mollom as well, but haven't run into this problem before... but both modules perform similar modifications on forms they run on, so I wouldn't be surprised if there was a conflict at some point!
Comment #8
kennyacock CreditAttribution: kennyacock commentedI'm experiencing this problem without Mollum.
Comment #9
geerlingguy CreditAttribution: geerlingguy commented@kennyacock et all - what version of Honeypot are you using? There was a bug with the time limit with older versions...
Comment #10
kennyacock CreditAttribution: kennyacock commentedI'm using version 7.x-1.17.
Comment #11
geerlingguy CreditAttribution: geerlingguy commentedI can't reproduce locally, and for those using Mollom, I'm wondering if this was related to a bug fixed a couple months ago, and not directly to Mollom being used in tandem with Honeypot: #2277089: Time limit is double what it's supposed to be. Please reopen if you can reproduce with Honeypot 7.x-1.17 (and to @kennyacock—if this is still an issue for you, without Mollom, can you please open a new issue and describe all your settings and exactly what's happening on your site?).
Thanks!