3scale APIcast gateway returns 404 with "service not found" in the logs

Solution Verified - Updated -

Issue

  • APIcast returns a 404 Not Found status code
  • service not found errors appear in the APIcast error log similar to:
[warn] 28#28: *24 [lua] proxy.lua:102: find_service(): service not found for host <host>, client: <ip>, server: _, request: "GET /<path>?user_key=<key> HTTP/1.1", host: "<host>"
[warn] 28#28: *24 [lua] proxy.lua:76: error_service_not_found(): could not find service for host: <host>, client: <ip>, server: _, request: "GET /<path>?user_key=<key> HTTP/1.1", host: "<host>"
<host>:<port> <client>:<port> "GET <path>?user_key=<key> HTTP/1.1" 404 5 (0.568) 0

Environment

  • Red Hat 3scale API Management Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.