Method: NewRelic::Agent::NewRelicService#create_and_start_http_connection

Defined in:
lib/new_relic/agent/new_relic_service.rb

#create_and_start_http_connectionObject

[View source]

374
375
376
377
378
379
380
381
# File 'lib/new_relic/agent/new_relic_service.rb', line 374

def create_and_start_http_connection
  conn = create_http_connection
  start_connection(conn)
  conn
rescue Net::OpenTimeout
  ::NewRelic::Agent.logger.info('Timed out while attempting to connect. For SSL issues, you may need to install system-level CA Certificates to be used by Net::HTTP.')
  raise
end