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

OpenSSL::SSL::SSLError: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) #245

Open
sundeepsqa opened this issue Aug 12, 2016 · 0 comments

Comments

@sundeepsqa
Copy link

sundeepsqa commented Aug 12, 2016

I am trying to my exchange server and I am getting the below error. Any help is appreciated:

I'm using client = Viewpoint::EWSClient.new(endpoint, user, pass, http_opts: {ssl_verify_mode: 0})

C:\torquebox-3.1.2\jruby\bin\jruby.exe --2.0 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/cgu_postman-0.1.13/lib/cgu_postman/exchange_client1.rb
OpenSSL::SSL::SSLError: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
connect at org/jruby/ext/openssl/SSLSocket.java:180
ssl_connect at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:303
connect at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:760
timeout at org/jruby/ext/timeout/Timeout.java:168
connect at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:751
query at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:609
query at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:164
do_get_block at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient.rb:1083
do_request at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient.rb:887
protect_keep_alive_disconnected at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient.rb:981
do_request at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient.rb:886
request at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient.rb:774
post at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/httpclient-2.3.4.1/lib/httpclient.rb:684
post at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/viewpoint-1.0.0/lib/ews/connection.rb:89
dispatch at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/viewpoint-1.0.0/lib/ews/connection.rb:67
do_soap_request at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/viewpoint-1.0.0/lib/ews/soap/exchange_web_service.rb:212
find_folder at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/viewpoint-1.0.0/lib/ews/soap/exchange_data_services.rb:503
folders at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/viewpoint-1.0.0/lib/ews/folder_accessors.rb:45
ews_connection at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/cgu_postman-0.1.13/lib/cgu_postman/exchange_client1.rb:60
CguPostman at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/cgu_postman-0.1.13/lib/cgu_postman/exchange_client1.rb:80
(root) at C:/torquebox-3.1.2/jruby/lib/ruby/gems/shared/gems/cgu_postman-0.1.13/lib/cgu_postman/exchange_client1.rb:7
load at org/jruby/RubyKernel.java:1087
(root) at -e:1
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

Process finished with exit code 1

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