Inloggning verkar inte fungera

Added by Henrik over 6 years ago

Får nedanstående fel när jag postar en inloggning mot nExt via egen klient och via en kommersiell REST klient. Det har fungerat tidigare i veckan.

Felet:

REXML::ParseException in LoginController#create

#<REXML::ParseException: Missing end tag for 'HR' (got "body")

Line: 117

Position: 11198

Last 80 unconsumed characters:

/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:330:in `pull'

/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:22:in `parse'

/usr/lib/ruby/1.8/rexml/document.rb:227:in `build'

/usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/xml_mini/rexml.rb:30:in `new'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/xml_mini/rexml.rb:30:in `parse'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/xml_mini.rb:80:in `__send__'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/xml_mini.rb:80:in `parse'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/conversions.rb:98:in `from_xml'

/opt/nExt/rest_server/app/models/session.rb:236:in `verify_credentials'

/opt/nExt/rest_server/app/models/session.rb:145:in `authenticate'

/opt/nExt/rest_server/app/controllers/login_controller.rb:31:in `create'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:4:in `send_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:4:in `send_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:167:in `process_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:10:in `process_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:18:in `process_action'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:414:in `_run__856982544__process_action__191378823__callbacks'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `send'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `send'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:17:in `process_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/rescue.rb:29:in `process_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:30:in `process_action'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in `instrument'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in `instrument'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in `instrument'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:29:in `process_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'

/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:18:in `process_action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:121:in `process'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:45:in `process'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal.rb:203:in `dispatch'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_controller/metal.rb:246:in `action'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:36:in `call'

/usr/lib/ruby/gems/1.8/gems/journey-1.0.4/lib/journey/router.rb:68:in `call'

/usr/lib/ruby/gems/1.8/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'

/usr/lib/ruby/gems/1.8/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:601:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/head.rb:14:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/params_parser.rb:21:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/flash.rb:242:in `call'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/cookies.rb:341:in `call'

/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:64:in `call'

/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in `call'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `_run__620470082__call__4__callbacks'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `send'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `send'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/reloader.rb:65:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'

/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in `call'

/usr/lib/ruby/gems/1.8/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'

/usr/lib/ruby/gems/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/application.rb:223:in `call'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `send'

/usr/lib/ruby/gems/1.8/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `method_missing'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb:479:in `safe_fork'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in `__send__'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:180:in `start'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in `__send__'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'

/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server:99

...

Missing end tag for 'HR' (got "body")

Line: 117

Position: 11198

Last 80 unconsumed characters:

Line: 117

Position: 11198

Last 80 unconsumed characters:

Rails.root: /opt/nExt/rest_server

Application Trace | Framework Trace | Full Trace

app/models/session.rb:236:in `verify_credentials'

app/models/session.rb:145:in `authenticate'

app/controllers/login_controller.rb:31:in `create'

Request

Parameters:

{"service"=>"NEXTAPI",

"auth"=>"TF7HAQPL+eX4Z6v8dzGtF+zFJAUZ6/+7c2r6UQVMGA6T74/+npOTfut6Q5pHX8a2hAgYVbHclHxW1V/4GFHNXEb0bUMxWlFsrO8pNBUhh/KvDM+B5+YoKjW1TZJqRQD1jHKrlebfsGFkleFHN0MXREcsSkR25pO5Ppb8Mq5CXhPXY3z7VG9xVsjiR0NK3CQd7yKDLKQdfjuzBVVvgZrJIuqKVc4uHK9GpDFIX/WMuAoPON3BlI+XdCgHk8GPvlhuNzYxN59F+DePXyUSC0ik6O8jeYq6mFKg4msySFNBX98Kp61UsTardex5UCL3rkA5/utQ3JKUKXWIY6yGClCyGQ=="}

Show session dump

Show env dump

Response

Headers:

None


Replies (1)

RE: Inloggning verkar inte fungera - Added by Nordnet Simon over 6 years ago

Hej, det verkar ha varit ett tillfälligt fel. Jag kan logga in nu. Återkom om problemet fortfarande finns.

(1-1/1)