Azure-Samples / Azure-Samples/java-on-aca
Gateway not running after azd up
- Ngôn ngữ chính
- CSS
- Star
- 15
- Fork
- 247
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với các bước trong README dành cho GitHub Codespaces và cấu hình deployment được `azd up` sử dụng. Tái hiện deployment, sau đó kiểm tra lý do Gateway mong đợi cổng đích 8080 trong khi container đang lắng nghe trên các cổng 34025, 46461 và 24001. Được xem là hoàn tất khi Gateway đạt trạng thái sẵn sàng sau khi thiết lập theo tài liệu, kể cả khi triển khai đến West Europe.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, java, spring-boot
- Lĩnh vực
- backend, cloud, devops
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100