Azure-Samples / Azure-Samples/java-on-aca

Gateway not running after azd up

オープン
#172 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
CSS
スター
15
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

説明

I followed the steps in the README for GitHub Codespaces and cannot get the Gateway to run.

**Steps to reproduce**

1. Press the "Open in GitHub Codespaces" button on https://azure.github.io/ai-app-templates/repo/azure-samples/java-microservices-aca-lab/ and create the fork
2. Login in the terminal of VS Code in Codespaces: `azd auth login` and `az login`
3. Provision using `azd up`
4. I chose West Europe as region since "Azure Database for MySQL" did not want to start in US East
5. Everything is deployed and Spring Boot Admin url is available
6. The gateway does not run

**Error description**
When navigating to the gateway on portal.azure.com I can see that it is in status "Degraded". The error is:

"Deployment Progress Deadline Exceeded. 0/1 replicas ready. The TargetPort 8080 does not match any of the listening ports: [34025 46461 24001]."

So the configuration does not seem to work out of the box and there is an issue with the ports.

Note: My colleagues, working separately, experienced the exact same issue.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

GitHub Codespaces の README の手順と、`azd up` で使用されるデプロイ構成から始めます。デプロイを再現し、その後、コンテナーがポート 34025、46461、24001 でリッスンしているのに、Gateway がターゲットポート 8080 を期待する理由を調査します。完了の条件は、文書化されたセットアップ後に Gateway が Ready 状態に到達することです。West Europe にデプロイする場合も含みます。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, java, spring-boot
領域
backend, cloud, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。