Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-2572

3scale on-prem should not send request to segment.io

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 2.4 GA, 2.5 GA
    • System
    • 3
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • 3scale 2019-06-17

    Description

      3scale on-prem tries to send requests to segment.io. When it's not reachable, system-provider pod throws this exception.

      execution expired
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:880:in `initialize'
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:880:in `open'
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:880:in `block in connect'
      /opt/rh/rh-ruby23/root/usr/share/ruby/timeout.rb:101:in `timeout'
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:878:in `connect'
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:863:in `do_start'
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:852:in `start'
      /opt/rh/rh-ruby23/root/usr/share/ruby/net/http.rb:1384:in `request'
      /opt/system/vendor/bundle/ruby/2.3.0/gems/analytics-ruby-2.0.13/lib/segment/analytics/request.rb:53:in `post'
      /opt/system/vendor/bundle/ruby/2.3.0/gems/analytics-ruby-2.0.13/lib/segment/analytics/worker.rb:45:in `run'
      /opt/system/vendor/bundle/ruby/2.3.0/gems/analytics-ruby-2.0.13/lib/segment/analytics/client.rb:349:in `block (2 levels) in ensure_worker_running'
      Exception -- {:error_message=>"Connection error: execution expired", :parameters=>{:status=>-1}}
      

      Since the request is meaningless on 3scale on-prem, 3scale on-prem should not send request to segment.io.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-tkonishi Takayuki Konishi
              Carlos Ribeiro Carlos Ribeiro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: