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

user cannot access product->overview->configuration page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 2.10 CR1
    • System
    • None
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Undefined

      When user want to access 'product->overview->configuration page' it returns 'Internal Error'
      I see in logs:

      Started GET "/apiconfig/services/167/integration" for 10.40.208.18 at 2020-11-26 15:02:01 +0000
      Processing by Api::IntegrationsController#show as HTML
        Parameters: {"service_id"=>"167"}
        Rendering api/integrations/show.html.slim within layouts/provider/opt/system/vendor/bundle/ruby/2.5.0/gems/formtastic-1.2.4/lib/formtastic.rb:1495: warning: constant ::Fixnum is deprecated
         Rendered api/services/forms/_integration_settings.html.slim (10.8ms)
         Rendered api/integrations/apicast/shared/_deployment_options.html.slim (13.7ms)
         Rendered api/integrations/apicast/configuration_driven/_apicast.html.slim (90.8ms)
         Rendered api/integrations/show.html.slim within layouts/provider (110.7ms)
       Completed 500 Internal Server Error in 211ms (ActiveRecord: 65.5ms)
      Exception -- [7259bd21-89d1-442c-8b1e-910b598e74c4] [3scale-admin.3scale...] [ip] {:exception=>{:class=>ActionView::Template::Error, :message=>"private method `parsed_content' called for #<ProxyConfig:0x000000000c262af8>", :backtrace=>["/opt/system/vendor/bundle/ruby/2.5.0/gems/activemodel-5.0.7.2/lib/active_model/attribute_methods.rb:430:in `method_missing'", "/opt/system/app/lib/apicast/curl_command_builder.rb:147:in `proxy_from_config'", "/opt/system/app/lib/apicast/curl_command_builder.rb:118:in `initialize'", "/opt/system/app/helpers/api/integrations_helper.rb:5:in `new'"]}, :parameters=>{}}
        
      ActionView::Template::Error (private method `parsed_content' called for #<ProxyConfig:0x000000000c262af8>):
          57:             - unless @service.oauth?
          58:               dt.u-dl-term Example curl for testing
          59:               dd.u-dl-definition
          60:                 = api_test_curl(@proxy)
          61:                 - unless @service.cinstances.any?
          62:                   br
          63:                   br
        
      app/lib/apicast/curl_command_builder.rb:147:in `proxy_from_config'
      app/lib/apicast/curl_command_builder.rb:118:in `initialize'
      app/helpers/api/integrations_helper.rb:5:in `new'
      app/helpers/api/integrations_helper.rb:5:in `api_test_curl'
      app/views/api/integrations/apicast/configuration_driven/_apicast.html.slim:60:in `_app_views_api_integrations_apicast_configuration_driven__apicast_html_slim__1446002000349627013_111686720'
      app/views/api/integrations/show.html.slim:14:in `_app_views_api_integrations_show_html_slim__1324586750598797853_114493280'
      lib/three_scale/middleware/multitenant.rb:113:in `_call'
      lib/three_scale/middleware/multitenant.rb:108:in `call'
      10.40.208.18 - - [26/Nov/2020:15:02:01 +0000] "GET /500 HTTP/1.1" 500 - 0.2324
      10.40.208.18 - - [26/Nov/2020:15:02:02 +0000] "GET /assets/error.css HTTP/1.1" 304 - 0.0028
      

              Unassigned Unassigned
              mkudlej@redhat.com Martin Kudlej
              Jakub Urban Jakub Urban (Inactive)
              Marta Noya Marta Noya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: