JHipster Gateway is not routing the requests to the Microservices

1.1k Views Asked by At

I deployed the JHipster Microservices architecture following the docs. Each component is in one AWS instance. I using version v5.3.4

I can see the Microservice and the Gateway registered on the Registry.

enter image description here

Also, the microservice is up and I can see the welcome page.

enter image description here

Finally, in the gateway the server is listed.

enter image description here

However, I when I try to see the Swagger documentation in the gateway or access the microservice via the gateway URL.

enter image description here

What can be possible missing?

Update::

I see no errors in any of the logs, but I see the following WARN:

2018-09-25 15:14:37.584  WARN 1601 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

Moreover, I see the following message many times. That puzzles me, why it logs this apparently every minute if I am not adding new endpoints.

2018-09-26 11:14:25.331  INFO 2319 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
1

There are 1 best solutions below

0
On

The answer for this problem is changing the parameter of compression on config/application-prod.yml

It should be:

server: compression: enabled: false