User unable to register due to 422 error
Summary
From http://www.gnuvola.org/u/2017/04/03h12.html
Steps to reproduce
- Disable all cookies in your browser.
- Visit https://gitlab.com/users/sign_in
- Fill in the required fields
- Submit
What is the current bug behavior?
Page with 422
error and account was not created.
What is the expected correct behavior?
Account is created and user is redirected to their profile page.
Relevant logs and/or screenshots
Apr 3 10:21:23 worker-web02 production.log: Completed 422 Unprocessable Entity in 2ms (ActiveRecord: 0.0ms)
Apr 3 10:21:23 worker-web02 production.log: ** [Raven] User excluded error: #<ActionController::InvalidAuthenticityToken: ActionController::InvalidAuthenticityToken>
Apr 3 10:21:23 localhost 2017-04-03_10: 21:23.30518 worker-web02 gitlab-workhorse: 2017/04/03 10:21:23 ErrorPage: serving predefined error page: 422
Apr 3 10:21:23 worker-web02 production.log:
Apr 3 10:21:23 worker-web02 production.log: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/middleware/multipart.rb:93:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/request_profiler/middleware.rb:14:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/database/load_balancing/rack_middleware.rb:25:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/middleware/go.rb:16:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/etag_caching/middleware.rb:14:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/middleware/rails_queue_duration.rb:20:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/metrics/rack_middleware.rb:29:in `block in call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/metrics/transaction.rb:49:in `run'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/metrics/rack_middleware.rb:29:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/middleware/readonly_geo.rb:30:in `call'
Apr 3 10:21:23 worker-web02 production.log: lib/gitlab/request_context.rb:18:in `call'