JRuby support, Faraday::SSLError: No message available
还没有人认领这个 Issue。
评估
调研方向
Start with spec/integration/integration_spec.rb and reproduce the JRuby failure, then trace the request through lib/slack/web/faraday/request.rb, lib/slack/web/api/endpoints/rtm.rb, and lib/slack/real_time/client.rb. Done means the JRuby integration test reaches the Slack service without Faraday::SSLError or the resulting queue-empty error.
由索引模型根据 Issue 内容生成。
描述
Integration tests are failing against an actual slack service.
1) integration test gets hello
Got 0 failures and 2 other errors:
1.1) Failure/Error:
response = connection.send(method) do |request|
case method
when :get, :delete
request.url(path, options)
when :post, :put
request.path = path
request.body = options unless options.empty?
Faraday::SSLError:
No message available
# ./vendor/bundle/jruby/1.9/gems/webmock-1.22.5/lib/webmock/http_lib_adapters/net_http.rb:109:in `request'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in `perform_request'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
# ./vendor/bundle/jruby/1.9/gems/faraday-0.9.2/lib/faraday/connection.rb:181:in `post'
# ./lib/slack/web/faraday/request.rb:25:in `request'
# ./lib/slack/web/faraday/request.rb:10:in `post'
# ./lib/slack/web/api/endpoints/rtm.rb:21:in `rtm_start'
# ./lib/slack/real_time/client.rb:74:in `build_socket'
# ./lib/slack/real_time/client.rb:46:in `start_async'
# ./spec/integration/integration_spec.rb:22:in `connection'
# ./spec/integration/integration_spec.rb:44:in `start_server'
# ./spec/integration/integration_spec.rb:91:in `(root)'
# ./spec/integration/integration_spec.rb:6:in `(root)'
# ./vendor/bundle/jruby/1.9/gems/vcr-3.0.1/lib/vcr.rb:244:in `turned_off'
# ./spec/integration/integration_spec.rb:6:in `(root)'
1.2) Failure/Error: fail ThreadError, 'queue empty' if @queue.empty?
- 主要语言
- Ruby
- 星标
- 1.3k
- 派生
- 222
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 3
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
slack-ruby/slack-ruby-client 的其他 Issue
-
new feature question
难度 2/5 1-3 小时 新手友好度 65/100
slack-ruby/slack-ruby-client#586 · 3 条评论 ·
-
bug?
难度 2/5 1-3 小时 新手友好度 45/100
slack-ruby/slack-ruby-client#579 · 3 条评论 ·
-
new feature web api
难度 3/5 1-2 天 新手友好度 42/100
slack-ruby/slack-ruby-client#482 · 5 条评论 ·
-
new feature
难度 4/5 3-5 天 新手友好度 35/100
slack-ruby/slack-ruby-client#414 · 14 条评论 ·
-
confirmed bug
难度 3/5 1-2 天 新手友好度 35/100
slack-ruby/slack-ruby-client#409 · 5 条评论 ·
查看 slack-ruby/slack-ruby-client 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
バグ
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 75/100
voxpupuli/puppet-epel#186 · 1 条评论 ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) 未关闭Bug Frontend
难度 2/5 1-3 小时 新手友好度 78/100