Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes containing attribute "UpstreamHost " cannot be found #1926

Closed
nrllhylmz opened this issue Jan 17, 2024 · 1 comment
Closed

Routes containing attribute "UpstreamHost " cannot be found #1926

nrllhylmz opened this issue Jan 17, 2024 · 1 comment
Labels
needs feedback Issue is waiting on feedback before acceptance needs validation Issue has not been replicated or verified yet

Comments

@nrllhylmz
Copy link

nrllhylmz commented Jan 17, 2024

Hi,

My routes worked fine for ocelot 18.0.0
But it didn't work for ocelot 22.0.1

warn: Ocelot.DownstreamRouteFinder.Middleware.DownstreamRouteFinderMiddleware[0]
	  requestId: 0HN0N5ETGHV6K:00000001, previousRequestId: No PreviousRequestId, message: 'DownstreamRouteFinderMiddleware setting pipeline errors. IDownstreamRouteFinder returned Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /test/WeatherForecast, verb: GET.'
warn: Ocelot.Responder.Middleware.ResponderMiddleware[0]
	  requestId: 0HN0N5ETGHV6K:00000001, previousRequestId: No PreviousRequestId, message: 'Error Code: UnableToFindDownstreamRouteError Message: Failed to match Route configuration for upstream path: /test/WeatherForecast, verb: GET. errors found in ResponderMiddleware. Setting error response for request path:/test/WeatherForecast, request method: GET'

Sample project link for you to try: https://github.com/nrllhylmz/Example
Sample project's details: #1925 (comment)

Thanks

@raman-m raman-m added needs validation Issue has not been replicated or verified yet needs feedback Issue is waiting on feedback before acceptance labels Jan 17, 2024
@raman-m
Copy link
Member

raman-m commented Jan 17, 2024

@ks1990cn Hello Tanmay!
How do you do?
Please help us to reproduce this "bug"! 🙏 What I see now, is a misconfiguration issue...
Also, attached solution is learning one, and it has no Docker Compose setup and it will be hard to reproduce juggling multiple Visual Studio debug sessions for each service instance... 😄 But possible to juggle multiple console apps and start each service in separate console using self-hosted scenarios.

@ThreeMammals ThreeMammals locked and limited conversation to collaborators Jan 19, 2024
@raman-m raman-m converted this issue into discussion #1928 Jan 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
needs feedback Issue is waiting on feedback before acceptance needs validation Issue has not been replicated or verified yet
Projects
None yet
Development

No branches or pull requests

2 participants