Created
April 19, 2015 04:09
-
-
Save prakashmurthy/0d84014b4ef9f5d702fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An ActionController::InvalidAuthenticityToken occurred in user_sessions#create: | |
ActionController::InvalidAuthenticityToken | |
------------------------------- | |
Stack Trace | |
------------------------------- | |
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): | |
actionpack (4.2.0) lib/action_controller/metal/request_forgery_protection.rb:181:in `handle_unverified_request' | |
actionpack (4.2.0) lib/action_controller/metal/request_forgery_protection.rb:209:in `handle_unverified_request' | |
actionpack (4.2.0) lib/action_controller/metal/request_forgery_protection.rb:204:in `verify_authenticity_token' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' | |
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' | |
... | |
------------------------------- | |
Request: | |
------------------------------- | |
* URL : http://www.myservername.com/user_session | |
* HTTP Method: POST | |
* IP address : xx.xx.xxx.216 | |
* Parameters : {"utf8"=>"✓", "authenticity_token"=>"QyFExDBFhxGNn71kLw0r9aIBgl+Aeg5eMbmBp4n72HjvIF8Wox494w779zJzJTrpn2GzbOncJsgLzOLqzjAA==", "user_session"=>{"email"=>"[email protected]", "password"=>"[FILTERED]"}, "commit"=>"Login", "controller"=>"user_sessions", "action"=>"create"} | |
* Timestamp : 2015-04-18 22:42:36 UTC | |
* Server : myservername.com | |
* Rails root : /u/apps/myservername/releases/20150418200516 | |
* Process: 26801 | |
------------------------------- | |
Session: | |
------------------------------- | |
* session id: "0304b74239da9b5d24986e7e0c4c60" | |
* data: {"session_id"=>"0304b74239da9b5d24986e7e0c4c60", | |
"_csrf_token"=>"D7CleTGmKdZWSEFqiECoNZn1lrJ++NtjDZLeSGJPU="} | |
------------------------------- | |
Environment: | |
------------------------------- | |
* CONTENT_LENGTH : 227 | |
* CONTENT_TYPE : application/x-www-form-urlencoded | |
* DOCUMENT_ROOT : /u/apps/myservername/current/public | |
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
* HTTP_ACCEPT_ENCODING : gzip, deflate | |
* HTTP_ACCEPT_LANGUAGE : en-us | |
* HTTP_CONNECTION : keep-alive | |
* HTTP_HOST : www.myservername.com | |
* HTTP_ORIGIN : http://www.myservername.com | |
* HTTP_REFERER : http://www.myservername.com/user_session/new | |
* HTTP_USER_AGENT : Mozilla/5.0 (iPad; CPU OS 8_0_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A405 Safari/600.1.4 | |
* ORIGINAL_FULLPATH : /user_session | |
* ORIGINAL_SCRIPT_NAME : | |
* PASSENGER_APP_ENV : production | |
* PASSENGER_APP_GROUP_NAME : /u/apps/myservername/current | |
* PASSENGER_APP_ROOT : /u/apps/myservername/current | |
* PASSENGER_APP_TYPE : rack | |
* PASSENGER_CONNECT_PASSWORD : [FILTERED] | |
* PASSENGER_DEBUGGER : false | |
* PASSENGER_FRIENDLY_ERROR_PAGES : true | |
* PASSENGER_MAX_PRELOADER_IDLE_TIME : -1 | |
* PASSENGER_RESTART_DIR : | |
* PASSENGER_RUBY : /usr/local/rvm/wrappers/ruby-2.2.0@global/ruby | |
* PASSENGER_SHOW_VERSION_IN_HEADER : true | |
* PASSENGER_SPAWN_METHOD : smart | |
* PASSENGER_STATUS_LINE : false | |
* PASSENGER_STAT_THROTTLE_RATE : 0 | |
* PATH_INFO : /user_session | |
* QUERY_STRING : | |
* REMOTE_ADDR : xx.xx.xxx.216 | |
* REMOTE_PORT : 51218 | |
* REQUEST_METHOD : POST | |
* REQUEST_URI : /user_session | |
* ROUTES_41623500_SCRIPT_NAME : | |
* SCRIPT_NAME : | |
* SERVER_ADDR : xxx.xxx.xxx.228 | |
* SERVER_ADMIN : [no address given] | |
* SERVER_NAME : www.myservername.com | |
* SERVER_PORT : 80 | |
* SERVER_PROTOCOL : HTTP/1.1 | |
* SERVER_SOFTWARE : Apache/2.2.22 (Ubuntu) | |
* action_controller.instance : #<UserSessionsController:0x000000063d4c20> | |
* action_dispatch.backtrace_cleaner : #<Rails::BacktraceCleaner:0x0000000177d840> | |
* action_dispatch.cookies : #<ActionDispatch::Cookies::CookieJar:0x000000063c9208> | |
* action_dispatch.cookies_digest : | |
* action_dispatch.cookies_serializer : | |
* action_dispatch.encrypted_cookie_salt : encrypted cookie | |
* action_dispatch.encrypted_signed_cookie_salt : signed encrypted cookie | |
* action_dispatch.http_auth_salt : http authentication | |
* action_dispatch.key_generator : #<ActiveSupport::CachingKeyGenerator:0x00000004ae7960> | |
* action_dispatch.logger : #<ActiveSupport::Logger:0x00000004ee18e0> | |
* action_dispatch.parameter_filter : [:password, :password_confirmation, ...] | |
* action_dispatch.redirect_filter : [] | |
* action_dispatch.remote_ip : xx.xx.xxx.216 | |
* action_dispatch.request.content_type : application/x-www-form-urlencoded | |
* action_dispatch.request.formats : [#<Mime::Type:0x000000031d03a0 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html">] | |
* action_dispatch.request.parameters : {"utf8"=>"✓", "authenticity_token"=>"QyFExsHxGNn71kLw0r9aIBgl+Aeg5eMbmBp4n72HjvIF8Wox494w779zJzJTrpn2GzbOncJsgLzOLqzjAA==", "user_session"=>{"email"=>"[email protected]", "password"=>"[FILTERED]"}, "commit"=>"Login", "controller"=>"user_sessions", "action"=>"create"} | |
* action_dispatch.request.path_parameters : {:controller=>"user_sessions", :action=>"create"} | |
* action_dispatch.request.query_parameters : {} | |
* action_dispatch.request.request_parameters : {"utf8"=>"✓", "authenticity_token"=>"QyFExDBFhxGNn71kLw0r9aIBgl+Aeg5eMbmBp4n72HjvIF8Wox494w779zJzJTrpn2GzbOncJsgLzOLqzjAA==", "user_session"=>{"email"=>"[email protected]", "password"=>"[FILTERED]"}, "commit"=>"Login"} | |
* action_dispatch.request.unsigned_session_cookie: {"session_id"=>"0304b74239da9b5d24986e7e0c4c60"} | |
* action_dispatch.request_id : 73d9e3c5-bf7d-425b-843d-dea1c89a504b | |
* action_dispatch.routes : #<ActionDispatch::Routing::RouteSet:0x00000004f63f98> | |
* action_dispatch.secret_key_base : b44d893ffg12c6fe63b14b48b1e67f56 | |
* action_dispatch.secret_token : | |
* action_dispatch.show_detailed_exceptions : false | |
* action_dispatch.show_exceptions : true | |
* action_dispatch.signed_cookie_salt : signed cookie | |
* rack.errors : #<IO:0x000000014c5530> | |
* rack.hijack : #<Proc:0x000000063d8e38@/u/apps/myservername/shared/bundle/ruby/2.2.0/gems/passenger-4.0.56/lib/phusion_passenger/rack/thread_handler_extension.rb:69 (lambda)> | |
* rack.hijack? : true | |
* rack.input : #<PhusionPassenger::Utils::TeeInput:0x000000063d9068> | |
* rack.multiprocess : true | |
* rack.multithread : false | |
* rack.request.cookie_hash : {} | |
* rack.request.form_hash : {"utf8"=>"✓", "authenticity_token"=>"QyFExDBFhxGNn71kLw0r9aIBgl+Aeg5eMbmBp4n72HjvIF8Wox494w779zJzJTrpn2GzbOncJsgLzOLqzjAA==", "user_session"=>{"email"=>"[email protected]", "password"=>"[FILTERED]"}, "commit"=>"Login"} | |
* rack.request.form_input : #<PhusionPassenger::Utils::TeeInput:0x000000063d9068> | |
* rack.request.form_vars : [FILTERED] | |
* rack.request.query_hash : {} | |
* rack.request.query_string : | |
* rack.run_once : false | |
* rack.session : #<ActionDispatch::Request::Session:0x000000063d60e8> | |
* rack.session.options : #<ActionDispatch::Request::Session::Options:0x000000063d6098> | |
* rack.url_scheme : http | |
* rack.version : [1, 2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment