私は2つのマイクロサービス(スプリングブートアプリケーション)を異なるドッカーコンテナで実行し、zuul apiゲートウェイで構成しました。他のコンテナへのルーティングは機能していません。コンテナ1は、&容器2は、以下zuulが動作していないドッカーの別のコンテナへのルーティング
ポート8030上で実行されている8030ポートで実行されていることapplication.ymlでzuul構成です -
server:
port: 8030
# TODO: figure out why I need this here and in bootstrap.yml
spring:
application:
name: zuul server
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
zuul:
routes:
zuultest:
url: http://localhost:8080
stripPrefix: false
ribbon:
eureka:
enabled: false
ローカルホストによるアクセス:8030/zuultest /テストを取得しています例外として -
2016-09-19 09:10:14.597 INFO 1 --- [nio-8030-exec-3] hello.SimpleFilter : GET request to http://localhost:8030/zuultest/test
2016-09-19 09:10:14.600 WARN 1 --- [nio-8030-exec-3] o.s.c.n.z.filters.post.SendErrorFilter : Error during filtering
なぜ私はこれを取得しているのですか?