title: Spring Boot Zuul API Gateway returning a 404 response
body: <p>I am attempting to setup Spring Boot Zuul 2.2 so that I can send requests to a service that is registered to Eureka and thus known to Zuul. </p>
  
  <p>I can access the Swagger UI of the service via Zuul, but when I attempt to send a request to the service I get a <code>404 HTTP status - not found</code> response.</p>
  
  <p>The service is configured like so:</p>
  
  <pre><code>management:
    endpoints:
      web:
        exposure:
          include: "*"
    endpoint:
      health:
        show-details: always
  eureka:
    client:
      registerWithEureka: true
      fetchRegistry: true
      serviceUrl:
        defaultZone: http://localhost:8761/eureka
    instance:
      preferIpAddress: true
  </code></pre>
  
  <p>The Zuul application is configured like so:</p>
  
  <pre><code>eureka:
    instance:
      preferIpAddress: true
    client:
      registerWithEureka: true
      fetchRegistry: true
  spring:
    application:
      name: app-zuul
  management:
    endpoints:
      web:
        exposure:
          include: routes,filters
    endpoint:
      health:
        show-details: always
  </code></pre>
  
  <p>and finally, the Eureka configuration:</p>
  
  <pre><code>eureka:
    client:
      registerWithEureka: false
      fetchRegistry: false
  spring:
    application:
      name: app-eureka
  management:
    endpoints:
      web:
        exposure:
          include: "*"
    endpoint:
      health:
        show-details: always
  </code></pre>
  
  <p>I can send requests directly to the user service via <code>http://localhost:3335/api/v1/...</code> but I receive a <code>404</code> when I attempt the request <code>http://localhost:8763/app-user/api/v1/...</code>.</p>
  
  <p>Am I missing some configuration?</p>