Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected type UserSession error while connecting via insecure=>true #28

Open
kiruba3441 opened this issue Apr 15, 2013 · 0 comments
Open

Comments

@kiruba3441
Copy link

Hi,

When i try connecting using insecure=>true, i get an error during Vim.connect.
The error stack trace below:
Msg:
unexpected type UserSession (UserSession/Authlogic::Session::Base/AuthlogicHttpApi::Session::InstanceMethods/AuthlogicHttpApi::Session/Authlogic::Session::PriorityRecord/Authlogic::Session::Validation/Authlogic::Session::Id/Authlogic::Session::Scopes::InstanceMethods/Authlogic::Session::Scopes/Authlogic::Session::Persistence::InstanceMethods/Authlogic::Session::Persistence/Authlogic::Session::PerishableToken/Authlogic::Session::MagicColumns::InstanceMethods/Authlogic::Session::MagicColumns/Authlogic::Session::Klass::InstanceMethods/Authlogic::Session::Klass/Authlogic::Session::Existence::InstanceMethods/Authlogic::Session::Existence/Authlogic::Session::BruteForceProtection::InstanceMethods/Authlogic::Session::BruteForceProtection/Authlogic::Session::ActiveRecordTrickery::InstanceMethods/Authlogic::Session::ActiveRecordTrickery/Authlogic::Session::Activation::InstanceMethods/Authlogic::Session::Activation/Authlogic::Session::MagicStates::InstanceMethods/Authlogic::Session::MagicStates/Authlogic::Session::UnauthorizedRecord/Authlogic::Session::Password::InstanceMethods/Authlogic::Session::Password/Authlogic::Session::HttpAuth::InstanceMethods/Authlogic::Session::HttpAuth/Authlogic::Session::Session::InstanceMethods/Authlogic::Session::Session/Authlogic::Session::Cookies::InstanceMethods/Authlogic::Session::Cookies/Authlogic::Session::Params::InstanceMethods/Authlogic::Session::Params/Authlogic::Session::Timeout::InstanceMethods/Authlogic::Session::Timeout/ActiveSupport::Callbacks/Authlogic::Session::Callbacks/Authlogic::Session::Foundation::InstanceMethods/Authlogic::Session::Foundation/Object/Delayed::MessageSending/PP::ObjectMixin/Mocha::ObjectMethods/ActiveSupport::Dependencies::Loadable/Base64::Deprecated/Base64/Kernel)

stack trace:
/usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/deserialization.rb:211:in deserialize' /usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/connection.rb:68:inparse_response'
/usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/connection.rb:68:in map' /usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/connection.rb:68:inparse_response'
/usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/connection.rb:90:in call' /usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/basic_types.rb:203:in_call'
/usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/basic_types.rb:74:in Login' /usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/vim.rb:35:inconnect'
/usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/vim.rb:34:in tap' /usr/local/lib/ruby/gems/1.8/gems/rbvmomi-1.6.0/lib/rbvmomi/vim.rb:34:inconnect'

The vim connect works when i try logging in via script/console. I am able to retrieve data. It does not work when i access it using the application.

I appreciate any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant