Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-32208

When there is slow network connectivity sometimes rh_cloud logs a undefined code

XMLWordPrintable

    • None
    • None
    • None
    • Manual

      Description of Problem

      How reproducible

      Intermittent

      Steps to Reproduce

      1. Setup a proxy and have it slow connections down
      2. Run insights-client on the host and watch it come back with the error

      Actual Behavior

      We don't get a proper http response code back so we just log

      2024-02-02T13:24:40 [I|app|264e38c3] Parameters:{"module"=>"insights-core", "path"=>"platform/module-update-router/v1/channel"}2024-02-02T13:24:41 [W|app|264e38c3] Action failed
      2024-02-02T13:24:41 [I|app|264e38c3] Backtrace for 'Action failed' error (NoMethodError): undefined method `code' for nil:NilClass 

      Expected Behavior

      We can alter the error to return the full http response instead, so support has it for debugging. This will show if we got an actual timeout and what the error was compared to just a generic traceback error.

              rhn-support-chrobert Chris Roberts
              rhn-support-chrobert Chris Roberts
              Ladislav Vasina Ladislav Vasina
              Ian Ballou Ian Ballou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: