/home/xxx/ruby-code/lib/jira-ruby-1.5.0/lib/jira/request_client.rb:16:in `request': Host not found (JIRA::HTTPError)
from /home/xxx/ruby-code/lib/jira-ruby-1.5.0/lib/jira/client.rb:228:in `request'
from /home/xxx/ruby-code/lib/jira-ruby-1.5.0/lib/jira/client.rb:206:in `get'
from /home/xxx/ruby-code/lib/jira-ruby-1.5.0/lib/jira/resource/serverinfo.rb:13:in `all'
from /home/xxx/ruby-code/lib/jira-ruby-1.5.0/lib/jira/base_factory.rb:33:in `block (2 levels) in delegate_to_target_class'
from ./jira_client.rb:27:in `<main>'
Please note that I am using the embedded Gitlab ruby interpreter because the problem I am trying to solve originally is the same in Gitlab when trying to connect to Jira (same error message).
The hostname I am using is fully dig- and pingable from the server.
I can also do the exact same REST HTTPS request with all the parameters from above on the server using curl or another simple ruby script using basic Net::HTTP::Proxy and Net::HTTP.start functions successfully.
Hi, i am using the latest release 1.5.0. When running the following code:
I am getting the following exception output:
Please note that I am using the embedded Gitlab ruby interpreter because the problem I am trying to solve originally is the same in Gitlab when trying to connect to Jira (same error message).
The hostname I am using is fully dig- and pingable from the server.
I can also do the exact same REST HTTPS request with all the parameters from above on the server using curl or another simple ruby script using basic
Net::HTTP::Proxy
andNet::HTTP.start
functions successfully.Thank you for your help Oliver