Devportal page returns error 403
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- kubernetes, nginx
- Área
- api, devops, infrastructure
Línea de trabajo
Empieza reproduciendo el despliegue de Kubernetes con NGINX Plus R33, NIM 2.19, Config Declaration 5.2 y la API de ejemplo petstore. Inspecciona nginx.conf, la propiedad de los archivos del contenedor y la diferencia entre los usuarios nginx y root; se considera terminado cuando la página del portal para desarrolladores es accesible sin cambiar el usuario worker a root.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Issue Summary
When using NGINX Plus R33 Ubi image from private.nginx.com and NIM 2.19 with the standard /config declaration version 5.2 and deploying the example petstore API, the following error occurs:
The developer portal page published at: apigw.example.com/petstore/petstore-devportal.html gives a 403 http error
Environment
NGINX Plus Version: R33
NIM Version: 2.19
Config Declaration Version: 5.2
Deployment: Kubernetes
Steps to Reproduce
Deploy NGINX Plus R33 on Kubernetes as Api Gateway and connect it to the NIM.
Deploy NGINX Dapi on Kubernetes.
Deploy NIM on a Virtual Machine.
Observed Behavior
When postman wants to publish the example API (v5.2), the developer portal gives a 403 http error.
When I changed in the nginx.conf the user from nginx to root the page is now correctly showing the developer portal. All files inside the container are owned by the root user.
[root@nginx-plus-gw-agent-8447dcfd48-9mn49 nginx]# cat nginx.conf
user root;
worker_processes auto;
Expected Behavior
The developer portal page should be accessible.
- Lenguaje dominante
- Python
- Estrellas
- 47
- Forks
- 18
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
pydanty:is-working
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pydantic/pydantic-ai#8843 ·
Los mantenedores suelen responder en 1 día
-
breaking change enhancement server
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
sktime/sktime#11310 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día