I have been getting a lot of validation errors on drupal.org in the last week or two, maybe three weeks.
Typically, I am submitting a comment to an issue, including changing its status fields. I make the changes and type in my comment, click Submit, and I get a red box at the top saying there's a validation error, please contact the sysadmin if it persists. (Well it has, and I am :) ).
I have seen this when submitting updates to Book Page nodes as well, though, so I don't think it's specific to Project Issue or Comment.
Not sure what else I can tell you... My workaround has been to visit the URL again (first copying what I was trying to save to my computer's clipboard), and then usually I can submit it successfully.
I've seen this both on my Windows/Firefox 3 browser and my Ubuntu/Firefox 3 browser, so it's not specific to one platform (though of course both are Firefox). It may have to do with visiting a URL and waiting for several minutes before I submit an update.
Anyway... that's about all I can think of to tell you.
Comments
Comment #1
dave reidI've actually seen this a couple times recently. Very random and frustrating. :/
Comment #2
gerhard killesreiter commentedI am not aware of any recent changes that would explain this.
Comment #3
gerhard killesreiter commentedI also can't find any of your accounts with a form-related watchdog entry. If you encounter this again, please make sure to report this soon since our log only goes back a rather short time.
Comment #4
avpadernoI had the same problem while committing a bug report for the documentation in api.drupal.org.
The issue has been created automatically; I changed the title and the body, and when I submitted the issue I got a validation error. I had to re-create the issue to be able to submit the issue.
Comment #5
jhodgdonI will keep my eye out, and report here immediately if I have an incident.
Comment #6
avpadernoJust a thought: could not it be caused from some problems with Bakery?
Comment #7
jhodgdonPossibly, but I am having the problems on d.o (as opposed to g.d.o etc.) and it's at random times and not when I just logged in.
Comment #8
dave reid** Just got a validation error on http://drupal.org/comment/reply/719906.
Comment #9
avpadernoLooking at the watchdog log, I found some validation errors reported for authenticated users (the user is not the same), but the associated location is something like http://drupal.org/project/issues/rss?projects=5917&states=1,16,8,13,14,1... (the referrer URL is empty).
I could not find the error message reported for Dave.
I find worrying that there are 9 pages of error messages, and most of them are about the fields , and .
Comment #10
gerhard killesreiter commentedthat's from the old style RSS feeds we've had before the update to D6.
Comment #11
avpadernoIsn't possible to return an error 404 for that page?
Looking at the watchdog log, there are 501 pages for validation errors, and most of the errors are caused by that page. Returning that error would avoid more users try to access those RSS feeds, which actually are empty; if users would stop to access it, then there would be 501 pages of log messages that would be used to track other error messages.
Comment #12
gerhard killesreiter commentedif somebody comes up with a suitable .htaccess rewrite rule, I'll happily deploy it.
Comment #13
avpadernoIs the following rule suitable for the purpose? It would return an error 410 to the user, and no error message would be logged.
It should be placed before the rewrite rules that Drupal uses.
Comment #14
jhodgdonHah! I *just now* got one of the validation errors. The error message is:
"Validation error, please try again. If this error persists, please contact the site administrator."
I was on URL:
http://drupal.org/comment/reply/533236
I was adding a new comment, after just having added a previous comment successfully. I didn't change anything in the issue status, just entered some new text in the comment field and clicked Sumbit.
By the time I get this submitted, the error will be about 3-5 minutes ago, I would think.
Comment #15
jhodgdonOne other note. I probably started from http://drupal.org/node/533236#comment-2625464 (the URL I got after submitting the first comment), and then when I saw the error, I was on URL http://drupal.org/comment/reply/533236. After that, I went back to http://drupal.org/node/533236, pasted in the text I had put in before, and submitted the comment successfully (http://drupal.org/node/533236#comment-2625486).
Hope this helps you debug it...
Comment #16
avpaderno@jhodgdon: I cannot find any log entry about the validation error you see. This seems really strange, as other validation errors are logged.
Did you notice if it happens when you are logged in from much time, or when you have logged in the previous X minutes?
Could not it be caused by some cache (including Vanish)?
Comment #17
gerhard killesreiter commentedYeah, Kiam is right, there are no such messages.
This probably means that you were not logged in at that time. Possibly bakery kicked you out and somebody logged you in again. Did you do anything on the other subsites at that time?
Comment #18
avpadernoI got another validation error. This time I opened a new tab in Safari, and used the search form on the top right side; as soon as I clicked on search, I got the validation error, which is then re-appeared again when I clicked on a link present in a block (I chose one random).
I was not working on any sub domain, and in another tab I was already logged in with the same account.
Comment #19
jhodgdonNo, I had not logged in recently, and I have definitely seen this error after being logged in to drupal.org for hours on end.
Ah... but #17: "Possibly bakery kicked you out and somebody logged you in again. Did you do anything on the other subsites at that time?"
That could be it. I have definitely noticed occasionally problems with bakery on groups.drupal.org. For instance, I might log in on drupal.org, then visit g.d.o, and g.d.o thinks that I am not logged in. Then I click on a login link and it says "access denied" (because d.o knows I am already logged in and won't give me access to the login page). Then I go back to g.d.o and it recognizes I am logged in.
However, in general I don't visit g.d.o very often, and I do not think that this has been the cause of the validation errors I have been seeing. In this particular case, I had been logged in for hours on drupal.org at the time, I believe.
Hmmm... It's quite likely I had been visiting api.drupal.org off and on throughout the day, and I might not have noticed if bakery thought I wasn't logged in though one of the times, so maybe that is it?
Comment #20
avpadernoI got validation errors when I search something on g.d.o; in all the occasions I got such validation errors, I was already logged in to d.o. In fact, I usually find a synchronization request on d.o, and then I go to g.d.o to find the account that should be synchronized.
I am reporting this because I think that this validation errors are probably caused by Bakery, or something else that causes the session cookie to be discarded (and then cause a validation error).
Comment #21
jhodgdonThis is a test.
I did the following:
a) Closed browser / cleared cookies.
b) Came back to drupal.org and logged in.
c) Clicked on this issue link.
d) In another browser tab, went to api.drupal.org. It is showing no sign of me being logged in, although I think (from experience) that if I click around, it will wake up to the fact that I am logged in.
e) I'm going to attempt to submit this comment right now and see if I get a validation error.
EDIT: I didn't get a validation error. Well, it was worth a try. It also took me about 4 click-arounds on api.drupal.org before it started showing that I was logged in (via having my account sidebar block visible).
Comment #22
avpadernoI also noticed that.
Comment #23
gpk commentedMe too! Just commenting on an issue here (http://drupal.org/comment/reply/733054), not been anywhere near g.d.o recently.
Having had this 3 times now in the last 2 days I wondered if this was a caching issue (maybe cache_form is getting cleared out more frequently than typical) but on this occasion it was only about 15 minutes between loading the issue page/form and attempting to preview my comment. Reloading the issue and pasting the reply into the new form works first time.
Comment #24
jhodgdonHave you been near api.drupal.org, localize.drupal.org, or any of the other *.d.o sites? They all use the same login mechanism as g.d.o, and I personally have noticed this validation thing cropping up mostly when I had been visiting api.drupal.org.
Comment #25
gpk commentedAh yes definitely had been on api.drupal.org.
Comment #26
paskainos commentedMe too on http://drupal.org/node/752682 just now.
Comment #27
pablobm commentedI just got one of these when trying to create a new project. In my case, it's a Drupal module that I currently host on GitHub at http://github.com/newbamboo/panda_drupal
I fill out all required fields, plus "CVS directory" with "/modules/panda/". I get the "contact your sysadmin" error, and no clue as to what could be wrong.
Comment #28
stellarvisions commentedI just got validation errors about 10 times, just submitting a search.
Comment #29
avpaderno@stellarvisions: Did you have a page open on api.drupal.org? I noticed that most of the times when I get a validation error, I have a browser tab open on api.d.o, and I check the documentation of a function before to write a comment on d.o, or g.d.o.
Comment #30
tvn commentedCleaning up old issues, please re-open if this problem still exists.