N
N
Nastya19202020-07-21 07:50:44
Spring
Nastya1920, 2020-07-21 07:50:44

Why doesn't Zuul netflix work with all requests?

Hello!
Guys, I connected zuul netflix to my microservice architecture, so far only to get a single entry point.
In app.props - added zuul.routes.appName.path/url/serviceId,
Zuul.prefix=false
Deployed everything to Heroku.
What happens:

1. In the accounting service, the registration request performs perfectly.
2. Login (Login and password in the header) does not work (writes 401 unauthorized), although the User definitely exists.
3. In the posting service (authorization by jwt token is everywhere, if important) does not work with any method - everywhere 500 Internal server error.

Does Zuul have any sensitivity to headers? (I'm surprised, because I use it exclusively as a router, in theory it should not touch the internals of the request ...)
How can this be fixed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question