Azure-Samples / Azure-Samples/java-on-aca
Gateway not running after azd up
- Langage dominant
- CSS
- Étoiles
- 15
- Forks
- 247
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par les étapes du README pour GitHub Codespaces et la configuration de déploiement utilisée par `azd up`. Reproduisez le déploiement, puis examinez pourquoi le Gateway attend le port cible 8080 alors que le conteneur écoute sur les ports 34025, 46461 et 24001. La tâche est terminée lorsque le Gateway atteint un état prêt après la configuration documentée, y compris lors d’un déploiement vers West Europe.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- azure, java, spring-boot
- Domaine
- backend, cloud, devops
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100