Skip to content
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

Gateway return empty body and 200 code. #2

Open
DanielDorado opened this issue Jan 23, 2017 · 0 comments
Open

Gateway return empty body and 200 code. #2

DanielDorado opened this issue Jan 23, 2017 · 0 comments

Comments

@DanielDorado
Copy link

When I run the microservices (via docker or via spring boot) everything works well but the curl examples with Gateway. They return an empty body and don't write any error in logs. The aggregate works fine.

For example:

  • curl http://localhost:8080/ -H "Authorization: Bearer <YOUR TOKEN>" works well.
  • curl http://localhost:9000/catalog -H "Authorization: Bearer <YOUR TOKEN>" works badly. (200 but empty body).
  • curl http://localhost:9000/product/1 -H "Authorization: Bearer <YOUR TOKEN>"works well.

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant