Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uri = URI.parse("https://senioradvisor-admin.3scale.net/admin/api/applications/find.xml?provider_key=524e55eb6e17a2ec0fbcfa86cc0404fc&app_id=fa7c4fe0")
- http = Net::HTTP.new(uri.host, uri.port)
- http.use_ssl = true
- request = Net::HTTP::Get.new(uri.request_uri)
- request.content_type = 'text/xml'
- response = http.request(request)
- ===== Output =====
- App 170 stderr: [ 2016-08-09 00:42:13.3350 170/0x3288dcd7(Worker 1) utils.rb:85 ]: *** Exception EOFError in Rack application object (End of file reached) (process 170, thread 0x3288dcd7(Worker 1)):
- 2016-08-09T00:42:13.336764+00:00 app[web.1]: App 170 stderr: from org/jruby/ext/openssl/SSLSocket.java:747:in `sysclose'
- 2016-08-09T00:42:13.337026+00:00 app[web.1]: App 170 stderr: from /app/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.6-java/lib/jopenssl21/openssl/buffering.rb:447:in `close'
- 2016-08-09T00:42:13.337180+00:00 app[web.1]: App 170 stderr: from /app/vendor/ruby-2.3.0-jruby-9.1.2.0/lib/ruby/stdlib/net/protocol.rb:90:in `close'
- 2016-08-09T00:42:13.337505+00:00 app[web.1]: App 170 stderr: from /app/vendor/ruby-2.3.0-jruby-9.1.2.0/lib/ruby/stdlib/net/http.rb:976:in `do_finish'
- 2016-08-09T00:42:13.337810+00:00 app[web.1]: App 170 stderr: from /app/vendor/ruby-2.3.0-jruby-9.1.2.0/lib/ruby/stdlib/net/http.rb:860:in `start'
- 2016-08-09T00:42:13.338115+00:00 app[web.1]: App 170 stderr: from /app/vendor/ruby-2.3.0-jruby-9.1.2.0/lib/ruby/stdlib/net/http.rb:1409:in `request'
- 2016-08-09T00:42:13.338244+00:00 app[web.1]: App 170 stderr: from /app/vendor/bundle/jruby/2.3.0/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in `request'
- 2016-08-09T00:42:13.338497+00:00 app[web.1]: App 170 stderr: from /app/vendor/bundle/jruby/2.3.0/gems/newrelic_rpm-3.7.3.199/lib/new_relic/agent/instrumentation/net.rb:27:in `block in request_with_newrelic_trace'
- 2016-08-09T00:42:13.339409+00:00 app[web.1]: App 170 stderr: from /app/vendor/bundle/jruby/2.3.0/gems/newrelic_rpm-3.7.3.199/lib/new_relic/agent.rb:403:in `disable_all_tracing'
- 2016-08-09T00:42:13.339692+00:00 app[web.1]: App 170 stderr: from /app/vendor/bundle/jruby/2.3.0/gems/newrelic_rpm-3.7.3.199/lib/new_relic/agent/instrumentation/net.rb:26:in `block in request_with_newrelic_trace'
- 2016-08-09T00:42:13.339825+00:00 app[web.1]:
- Amy • 2 mins
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement