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

uninitialized constant WinRM::HTTP::HttpNegotiate::WinRMWebServiceError #203

Closed
djberg96 opened this issue Apr 28, 2016 · 4 comments
Closed

Comments

@djberg96
Copy link

Due to some odd circumstances where I'm trying to use this in conjunction with some VCR cassettes, I hit this error:

uninitialized constant WinRM::HTTP::HttpNegotiate::WinRMWebServiceError

It's coming from https://github.com/WinRb/WinRM/blob/master/lib/winrm/http/transport.rb#L218

But I don't see it defined in exceptions.rb. I'm assume that it should be defined, or that it's supposed to raise a different error.

@mwrock
Copy link
Member

mwrock commented Apr 28, 2016

Yeah it should be. However even if we fix it (which we should) the fact that you are getting to that line indicates something deeper is wrong and the message cant be decrypted or atleast rubyntlm cannot verify the decryption. Is there something that might be "hijacking" the messages?

@djberg96
Copy link
Author

djberg96 commented Apr 28, 2016

Yep, there's definitely some other problem, but I haven't nailed it down yet. Something to do with VCR (or possibly FactoryGirl) I think, but I'm not positive.

But, that's my problem. :)

@majkinetor
Copy link

I have this using vagrant: hashicorp/vagrant#7446

@sneal sneal mentioned this issue Jul 7, 2016
@djberg96
Copy link
Author

djberg96 commented Oct 7, 2016

Looks like this was fixed in v2, closing.

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

3 participants