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

Unable to delete application key when it has a dot in the key name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.10 GA
    • System
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide
      • Access the 3scale API Docs
      • Use the Applications Key Create API to create a new key with a name e.g. testkey.test
      • Check if the key testkey.test has been created
      • If the key testkey.test was created then try to delete it using the Application Key Delete API
      • The 404 Not Found response code is returned
      Show
      Access the 3scale API Docs Use the Applications Key Create API to create a new key with a name e.g. testkey.test Check if the key  testkey.test has been created If the key  testkey.test was created then try to delete it using the Application Key Delete API The 404 Not Found response code is returned

    Description

      The system is allowing the creation of application keys containing a dot in the name (e.g. "key.test") but when you try to delete this same key it is not allowed returning an error. Either using the "Application Key Delete" API or the UI it is not possible to delete the application key. It seems that there is no any validation whether you're using any special characters in the app key name when you're creating it.

      I was able to reproduce the same error reported by the customer in my 3scale 2.10 deployed in the Lab. Find below what we can see in the logs:

      Application Key Create API

      Request:

      curl -v -X POST "https://3scale-admin.apps.domain.com/admin/api/accounts/4/applications/12/keys.xml" -d 'access_token=fe39c03707e45f6854202788e7083a82&key=testkeywith2.dot'

      Response Body:

      <?xml version="1.0" encoding="UTF-8"?>
      <application>
       <id>12</id>
       <created_at>2021-09-17T18:13:56Z</created_at>
       <updated_at>2021-09-17T18:13:56Z</updated_at>
       <state>live</state>
       <user_account_id>4</user_account_id>
       <first_traffic_at/>
       <first_daily_traffic_at/>
       <service_id>3</service_id>
       <application_id>17d6501c</application_id>
       <keys>
       <key>testkeywith.dot</key>
       <key>testkeywith2.dot</key>
       </keys>
       <plan custom="false" default="true">
       <id>10</id>
       <name>HTTPBIN_AppPlan</name>
       <type>application_plan</type>
       <state>published</state>
       <approval_required>false</approval_required>
       <setup_fee>1.5</setup_fee>
       <cost_per_month>3.0</cost_per_month>
       <trial_period_days>2</trial_period_days>
       <cancellation_period>0</cancellation_period>
       <service_id>3</service_id>
       </plan>
       <name>TestApp</name>
       <description>TestApp</description>
       <extra_fields></extra_fields>
      </application>

      system-provider log:

      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Started POST "/admin/api/accounts/4/applications/12/keys.xml" for 10.0.xx.yy at 2021-09-17 18:43:09 +0000
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Processing by Admin::Api::BuyerApplicationKeysController#create as XML
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Parameters: {"access_token"=>"fe39c03707e45f6854202788e7083a82", "key"=>"testkeywith2.dot", "account_id"=>"4", "application_id"=>"12", "buyer_application_key"=>{"access_token"=>"fe39c03707e45f6854202788e7083a82", "key"=>"testkeywith2.dot"}}
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] PermissionEnforcer: level = 
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] [EventBroker] notifying subscribers of Applications::ApplicationUpdatedEvent dbcac4d9-1ee0-45aa-b1ef-15476847506d
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] [EventBroker] notifying subscribers of ZyncEvent 27c2608d-e580-46f2-be60-3bccdcb00d13
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] New WebHook::Event(8722f039-91b6-4f66-b114-17a768a01ada) key_created for Cinstance(#12)
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Ignoring WebHook::Event(8722f039-91b6-4f66-b114-17a768a01ada) key_created for Cinstance(12)
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Enqueued AuditedWorker#dc19f5e4a2f877e8d29941a9 with args: [{"id"=>nil, "auditable_id"=>9, "auditable_type"=>"ApplicationKey", "user_id"=>2, "user_type"=>"User", "username"=>nil, "action"=>"create", "version"=>1, "created_at"=>nil, "tenant_id"=>nil, "provider_id"=>2, "kind"=>"ApplicationKey", "audited_changes"=>{"application_id"=>12, "created_at"=>Fri, 17 Sep 2021 18:43:09 UTC +00:00}, "comment"=>nil, "associated_id"=>nil, "associated_type"=>nil, "remote_address"=>"10.131.0.1", "request_uuid"=>"a7a75689-b541-4443-91da-d34714cb3a3e"}]
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Enqueued ZyncWorker#5c0e145a5cbad549f7f52bb9 with args: ["27c2608d-e580-46f2-be60-3bccdcb00d13", {:type=>"Application", :id=>12, :parent_event_id=>"dbcac4d9-1ee0-45aa-b1ef-15476847506d", :parent_event_type=>"Applications::ApplicationUpdatedEvent", :tenant_id=>2, :service_id=>3}]
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] PermissionEnforcer#ensure clear level
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] PermissionEnforcer: level = 
      [a7a75689-b541-4443-91da-d34714cb3a3e] [3scale-admin.apps.domain.com] [10.0.xx.yy] Completed 201 Created in 163ms (Views: 30.9ms | ActiveRecord: 40.7ms)
      10.0.xx.yy - - [17/Sep/2021:18:43:09 +0000] "POST /admin/api/accounts/4/applications/12/keys.xml HTTP/1.1" 201 - 0.1743
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] Started GET "/admin/api/applications/find.json?application_id=12" for 10.131.0.116 at 2021-09-17 18:43:09 +0000
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] Processing by Admin::Api::ApplicationsController#find as JSON
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] Parameters: {"application_id"=>"12", "application"=>{}}
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] PermissionEnforcer: level = ro
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] PermissionEnforcer#ensure clear level
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] PermissionEnforcer: level = 
      [106bbf32-1ac3-406f-adbd-a9be16053524] [3scale-admin.apps.domain.com] [10.131.0.116] Completed 200 OK in 58ms (Views: 24.3ms | ActiveRecord: 10.0ms)
      10.131.0.116 - - [17/Sep/2021:18:43:09 +0000] "GET /admin/api/applications/find.json?application_id=12 HTTP/1.1" 200 - 0.0652

      zync log:

      (0.4ms) BEGIN
       Tenant Load (0.7ms) SELECT "tenants".* FROM "tenants" WHERE "tenants"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
       (0.5ms) COMMIT
      {"method":"PUT","path":"/tenant","format":"json","controller":"TenantsController","action":"update","status":204,"duration":6.53,"view":0.0,"db":1.68,"params":{"id":2,"endpoint":"https://3scale-admin.apps.ocp4amp.lab.upshift.rdu2.redhat.com/","access_token":"[FILTERED]","tenant":{"id":2,"endpoint":"https://3scale-admin.apps.ocp4amp.lab.upshift.rdu2.redhat.com/","access_token":"[FILTERED]"}}}
       Tenant Load (0.6ms) SELECT "tenants".* FROM "tenants" WHERE "tenants"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
       (0.4ms) BEGIN
       (0.6ms) SAVEPOINT active_record_1
       Application Load (0.9ms) SELECT "applications".* FROM "applications" WHERE "applications"."id" = $1 AND "applications"."tenant_id" = $2 AND "applications"."service_id" = $3 AND "applications"."tenant_id" = $4 LIMIT $5 [["id", 12], ["tenant_id", 2], ["service_id", 3], ["tenant_id", 2], ["LIMIT", 1]]
       Model Load (0.8ms) SELECT "models".* FROM "models" WHERE "models"."record_type" = $1 AND "models"."record_id" = $2 AND "models"."tenant_id" = $3 LIMIT $4 [["record_type", "Application"], ["record_id", 12], ["tenant_id", 2], ["LIMIT", 1]]
       (0.6ms) RELEASE SAVEPOINT active_record_1
       Notification Create (1.4ms) INSERT INTO "notifications" ("model_id", "data", "tenant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["model_id", 17], ["data", "{\"type\":\"Application\",\"id\":12,\"parent_event_id\":\"3d128128-91a8-4b4e-8d0a-05c4b8d0e668\",\"parent_event_type\":\"Applications::ApplicationUpdatedEvent\",\"tenant_id\":2,\"service_id\":3,\"format\":\"json\",\"controller\":\"notifications\",\"action\":\"update\",\"notification\":{\"id\":12,\"tenant_id\":2}}"], ["tenant_id", 2], ["created_at", "2021-09-17 18:58:16.479828"], ["updated_at", "2021-09-17 18:58:16.479828"]]
       Que::ActiveRecord::Model Destroy (1.0ms) DELETE FROM "que_jobs" WHERE (que_jobs.job_class = 'UpdateJob' OR (que_jobs.job_class = 'ActiveJob::QueueAdapters::QueAdapter::JobWrapper' AND que_jobs.args->0->>'job_class' = 'UpdateJob')) AND "que_jobs"."args" @> '[{"arguments":[{"_aj_globalid":"gid://zync/Model/17"}]}]'
      {"adapter":"Que","job":"UpdateJob","priority":null,"queue":"default","arguments":["gid://zync/Model/17"],"action":"enqueue","duration":0.07}
       (2.2ms) COMMIT
      {"method":"PUT","path":"/notification","format":"json","controller":"NotificationsController","action":"update","status":201,"duration":21.72,"view":0.43,"db":8.51,"params":{"type":"Application","id":12,"parent_event_id":"3d128128-91a8-4b4e-8d0a-05c4b8d0e668","parent_event_type":"Applications::ApplicationUpdatedEvent","tenant_id":2,"service_id":3,"notification":{"id":12,"tenant_id":2}}}

      application_keys table:

      mysql> select * from application_keys;
      +----+----------------+----------------------------------+---------------------+---------------------+-----------+
      | id | application_id | value | created_at | updated_at | tenant_id |
      +----+----------------+----------------------------------+---------------------+---------------------+-----------+
      | 4 | 11 | c7177396d1285935fd5483f80345584d | 2021-08-30 22:09:30 | 2021-08-30 22:09:30 | 2 |
      | 7 | 12 | testkeywith.dot | 2021-09-17 18:26:30 | 2021-09-17 18:26:30 | 2 |
      | 9 | 12 | testkeywith2.dot | 2021-09-17 18:43:09 | 2021-09-17 18:43:09 | 2 |
      | 10 | 12 | testkeywith3.dot | 2021-09-17 18:58:16 | 2021-09-17 18:58:16 | 2 |
      +----+----------------+----------------------------------+---------------------+---------------------+-----------+
      4 rows in set (0.00 sec)

       

      Application Key Delete API

      Request:

      curl -v -X DELETE "https://3scale-admin.apps.domain.com/admin/api/accounts/4/applications/12/keys/testkeywith2.dot.xml" -d 'access_token=fe39c03707e45f6854202788e7083a82'

      Response Body:

      <!DOCTYPE html>
      <html lang="en">
       <head>
       <meta charset="utf-8" />
       <title>Not Found</title>
       <link href="/assets/error.css" media="screen" rel="stylesheet" type="text/css" />
       </head>
       <body>
       <div id="wrapper">
       <div id="content">
       <h1 class='logo-3scale logo-3scale--svg logo-3scale--boxed' id="logo">
       3scale
       </h1>
       <h1>Not Found</h1>
       <p>Sorry. We can't find what you're looking for.</p>
       </div>
       <div id="footer">
       <ul>
       <li class="powered-by-3scale last">
       <a href="http://www.3scale.net" target="_blank">
       Powered by 
       <span class="logo-3scale logo-3scale--svg logo-3scale--powered">3scale</span>
       </a>
       </li>
       </ul>
       </div>
       </div>
       </body>
      </html>

      system-provider log:

      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] Started DELETE "/admin/api/accounts/4/applications/12/keys/testkeywith2.dot.xml" for 10.0.xx.yy at 2021-09-17 18:48:37 +0000
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] 
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] ActionController::RoutingError (No route matches [DELETE] "/admin/api/accounts/4/applications/12/keys/testkeywith2.dot.xml"):
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] 
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/rack/logger.rb:36:in `call_app'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/rack/logger.rb:24:in `block in call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/tagged_logging.rb:69:in `block in tagged'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/tagged_logging.rb:26:in `tagged'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/tagged_logging.rb:69:in `tagged'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/rack/logger.rb:24:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/request_id.rb:24:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/method_override.rb:24:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/runtime.rb:24:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-x_served_by-0.1.1/lib/rack/x_served_by.rb:19:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-utf8_sanitizer-1.6.0/lib/rack/utf8_sanitizer.rb:22:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/executor.rb:12:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/static.rb:136:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/bundler/gems/font_assets-da97b8601528/lib/font_assets/middleware.rb:33:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/deflater.rb:45:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/sendfile.rb:113:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/ssl.rb:84:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/engine.rb:522:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/railtie.rb:193:in `public_send'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/railtie.rb:193:in `method_missing'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/tempfile_reaper.rb:17:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/lint.rb:51:in `_call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/lint.rb:39:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/show_exceptions.rb:25:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/common_logger.rb:35:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/chunked.rb:73:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/rack-2.1.4/lib/rack/content_length.rb:17:in `call'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:606:in `process_client'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:701:in `worker_loop'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:549:in `spawn_missing_workers'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:142:in `start'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/unicorn-5.4.1/bin/unicorn:126:in `<top (required)>'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `load'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/bin/unicorn:23:in `<top (required)>'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `load'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in `run'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in `exec'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in `dispatch'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in `start'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `load'
      [be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `<main>'
      10.0.xx.yy - - [17/Sep/2021:18:48:37 +0000] "DELETE /404 HTTP/1.1" 404 - 0.0104

      zync log:

      {"method":"GET","path":"/status/ready","format":"json","controller":"Status::ReadyController","action":"show","status":200,"duration":0.46,"view":0.14,"db":0.0,"params":{}}
      Not delivering sessions due to an invalid api_key
       (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
      {"method":"GET","path":"/status/live","format":"json","controller":"Status::LiveController","action":"show","status":200,"duration":5.43,"view":0.2,"db":1.89,"params":{}}
      {"method":"GET","path":"/status/ready","format":"json","controller":"Status::ReadyController","action":"show","status":200,"duration":0.63,"view":0.25,"db":0.0,"params":{}}
       (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
      {"method":"GET","path":"/status/live","format":"json","controller":"Status::LiveController","action":"show","status":200,"duration":5.39,"view":0.22,"db":1.9,"params":{}}
      {"method":"GET","path":"/status/ready","format":"json","controller":"Status::ReadyController","action":"show","status":200,"duration":0.47,"view":0.17,"db":0.0,"params":{}}
       (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
      {"method":"GET","path":"/status/live","format":"json","controller":"Status::LiveController","action":"show","status":200,"duration":5.2,"view":0.18,"db":1.78,"params":{}}
      {"method":"GET","path":"/status/ready","format":"json","controller":"Status::ReadyController","action":"show","status":200,"duration":0.51,"view":0.18,"db":0.0,"params":{}}
      Not delivering sessions due to an invalid api_key
       (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpereira@redhat.com Gustavo Pereira
            Matej Dujava Matej Dujava
            Daria Mayorova Daria Mayorova
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: