Azure-Samples / Azure-Samples/java-on-aca
Gateway not running after azd up
- Lenguaje dominante
- CSS
- Estrellas
- 15
- Forks
- 247
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza con los pasos del README para GitHub Codespaces y la configuración de deployment utilizada por `azd up`. Reproduce el deployment y, después, inspecciona por qué el Gateway espera el puerto de destino 8080 mientras el contenedor escucha en los puertos 34025, 46461 y 24001. Se considera terminado cuando el Gateway alcanza un estado listo después de la configuración documentada, incluso al hacer deployment en West Europe.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, java, spring-boot
- Área
- backend, cloud, devops
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100