Hi @fatihsalli
I have tried to deploy fatihsalli/Graduation-Project-TechnoMarket.eShop by using docker-compose.
Command:- docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
All the services are running fine as shown below:

I tried to open each service in browser using below URLs:

Able to access UI for all the services except API-GATEWAY service. Getting HTTP ERROR 404 .
I have checked the logs of gateway.api by using the below command :-
Command:- docker-compose logs gateway.api
Attaching to gateway.api
gateway.api | [10:30:28 INF] Now listening on: http://[::]:80
gateway.api | [10:30:28 INF] Application started. Press Ctrl+C to shut down.
gateway.api | [10:30:28 INF] Hosting environment: Production
gateway.api | [10:30:28 INF] Content root path: /app/
gateway.api | [10:30:40 INF] Request starting HTTP/1.1 GET http://3.144.183.148:5000/ - -
gateway.api | [10:30:40 WRN] requestId: 0HMR8QI95IRR0:00000002, previousRequestId: no previous request id, message: DownstreamRouteFinderMiddleware setting pipeline errors. IDownstreamRouteFinder returned Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /, verb: GET.
gateway.api | [10:30:40 WRN] requestId: 0HMR8QI95IRR0:00000002, previousRequestId: no previous request id, message: Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /, verb: GET. errors found in ResponderMiddleware. Setting error response for request path:/, request method: GET
gateway.api | [10:30:40 INF] Request finished HTTP/1.1 GET http://3.144.183.148:5000/ - - - 404 0 - 43.0428ms
gateway.api | [10:30:45 INF] Request starting HTTP/1.1 GET http://3.144.183.148:5000/ - -
gateway.api | [10:30:45 WRN] requestId: 0HMR8QI95IRR0:00000003, previousRequestId: no previous request id, message: DownstreamRouteFinderMiddleware setting pipeline errors. IDownstreamRouteFinder returned Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /, verb: GET.
gateway.api | [10:30:45 WRN] requestId: 0HMR8QI95IRR0:00000003, previousRequestId: no previous request id, message: Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /, verb: GET. errors found in ResponderMiddleware. Setting error response for request path:/, request method: GET
gateway.api | [10:30:45 INF] Request finished HTTP/1.1 GET http://3.144.183.148:5000/ - - - 404 0 - 0.9710ms
gateway.api | [10:30:59 INF] Request starting HTTP/1.1 GET http://gateway.api/services/catalog/products - -
gateway.api | [10:30:59 INF] requestId: 0HMR8QI95IRR2:00000002, previousRequestId: no previous request id, message: EndpointRateLimiting is not enabled for /api/{everything}
gateway.api | [10:30:59 INF] requestId: 0HMR8QI95IRR2:00000002, previousRequestId: no previous request id, message: No authentication needed for /services/catalog/products
gateway.api | [10:30:59 INF] requestId: 0HMR8QI95IRR2:00000002, previousRequestId: no previous request id, message: /api/{everything} route does not require user to be authorized
gateway.api | [10:31:00 INF] requestId: 0HMR8QI95IRR2:00000002, previousRequestId: no previous request id, message: 200 (OK) status code, request uri: http://catalog.api/api/products
gateway.api | [10:31:00 INF] Request finished HTTP/1.1 GET http://gateway.api/services/catalog/products - - - 200 2861 application/json;+charset=utf-8 1016.1814ms
gateway.api | [10:31:34 INF] Request starting HTTP/1.1 GET http://3.144.183.148:5000/api/v2 - -
gateway.api | [10:31:34 WRN] requestId: 0HMR8QI95IRR0:00000004, previousRequestId: no previous request id, message: DownstreamRouteFinderMiddleware setting pipeline errors. IDownstreamRouteFinder returned Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /api/v2, verb: GET.
gateway.api | [10:31:34 WRN] requestId: 0HMR8QI95IRR0:00000004, previousRequestId: no previous request id, message: Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /api/v2, verb: GET. errors found in ResponderMiddleware. Setting error response for request path:/api/v2, request method: GET
gateway.api | [10:31:34 INF] Request finished HTTP/1.1 GET http://3.144.183.148:5000/api/v2 - - - 404 0 - 0.5957ms
gateway.api | [10:31:39 INF] Request starting HTTP/1.1 GET http://3.144.183.148:5000/ - -
gateway.api | [10:31:39 WRN] requestId: 0HMR8QI95IRR0:00000005, previousRequestId: no previous request id, message: DownstreamRouteFinderMiddleware setting pipeline errors. IDownstreamRouteFinder returned Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /, verb: GET.
gateway.api | [10:31:39 WRN] requestId: 0HMR8QI95IRR0:00000005, previousRequestId: no previous request id, message: Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /, verb: GET. errors found in ResponderMiddleware. Setting error response for request path:/, request method: GET
gateway.api | [10:31:39 INF] Request finished HTTP/1.1 GET http://3.144.183.148:5000/ - - - 404 0 - 0.5413ms
Do you have any suggestions for the same.
Hi @fatihsalli
I have tried to deploy
fatihsalli/Graduation-Project-TechnoMarket.eShopby using docker-compose.Command:-
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -dAll the services are running fine as shown below:
I tried to open each service in browser using below URLs:
Able to access UI for all the services except API-GATEWAY service. Getting HTTP ERROR 404 .
I have checked the logs of gateway.api by using the below command :-
Command:-
docker-compose logs gateway.apiDo you have any suggestions for the same.