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

fix: use_ssl value has changed error #37

Merged

Conversation

jeremymv2
Copy link
Contributor

Description

When using the token and communicating directly with the Compliance Server one will encounter this error:

           IOError
           -------
           use_ssl value changed, but session already started

Issues Resolved

This change fixes the above error by setting the use_ssl options within the Net::HTTP.start() method, not afterwards.

Check List

@alexpop
Copy link
Contributor

alexpop commented Apr 29, 2016

Great catch Jeremy. Thanks for the fix!

@alexpop alexpop merged commit a4b7a28 into chef-boneyard:master Apr 29, 2016
@jeremymv2 jeremymv2 deleted the fix_use_ssl_value_changed_error branch April 29, 2016 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants