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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.15.0, 6.16.0
    • RH Cloud
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Phoenix - Subscriptions
    • Sprint 145
    • Moderate
    • Manual
    • None

      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.

              Unassigned Unassigned
              rhn-support-chrobert Chris Roberts
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: