Project

General

Profile

Actions

Bug #10659

open

Connection refused is not handled correctly by the template proxy URL fetcher

Added by Lukas Zapletal about 9 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

This exception is not properly catched:

2015-06-01 12:57:36 [E] /home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/net/http.rb:878:in `initialize'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/net/http.rb:878:in `open'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/net/http.rb:877:in `connect'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/net/http.rb:851:in `start'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rbovirt-0.0.35/lib/restclient_ext/request.rb:44:in `transmit'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rest-client-1.6.8/lib/restclient/request.rb:68:in `execute'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rest-client-1.6.8/lib/restclient/request.rb:35:in `execute'
/home/lzap/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rest-client-1.6.8/lib/restclient/resource.rb:51:in `get'
/home/lzap/work/foreman/lib/proxy_api/resource.rb:67:in `get'
/home/lzap/work/foreman/lib/proxy_api/template.rb:10:in `template_url'
/home/lzap/work/foreman/lib/foreman/renderer.rb:40:in `foreman_url'
Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2419 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal over 7 years ago

  • Subject changed from Connection refused is not handled correctly by the template URL fetcher to Connection refused is not handled correctly by the template proxy URL fetcher
  • Status changed from Ready For Testing to New
  • Assignee deleted (Lukas Zapletal)
  • Pull request deleted (https://github.com/theforeman/foreman/pull/2419)
Actions #3

Updated by Lukas Zapletal over 7 years ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF