[UI] "canceled - Unable to reach the management server" notification when switching from project to default view on Instances page (4.20.3)
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 65/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- frontend
Línea de trabajo
Empieza con beforeRouteLeave en AutogenView.vue, donde se cancela listVirtualMachines, y con changeProject en ProjectMenu.vue, que dispara el cambio de ruta. Luego revisa request.js, donde están la cancelación y el manejador global de errores, para ver por qué un CanceledError con ERR_CANCELED llega a la notificación 'Unable to reach the management server'. Se considera terminado cuando una solicitud cancelada deliberadamente se ignora en silencio, mientras que un fallo real de red sigue mostrando la notificación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
problem
After upgrading to 4.20.3.1, the UI shows an error notification every time I switch from a project view to the default view while the Instances page is open:
"canceled – Unable to reach the management server or a browser extension may be blocking the Network request."
This is not a network issue: nothing is logged in management-server.log at that moment, and the same error is shown when connecting to the management server directly (no reverse proxy). The instance list itself loads correctly after the switch.
The browser console shows that the in-flight listVirtualMachines request is intentionally cancelled by the UI on route change, and the resulting CanceledError is treated as a network failure and reported to the user:
AutogenView.vue:658 DEBUG - Due to route change, ignoring results for any on-going API request listVirtualMachines
CancelToken.js:58 Uncaught (in promise) i {message: 'canceled', name: 'CanceledError', code: 'ERR_CANCELED', ...}
cancel @ request.js:196
beforeRouteLeave @ AutogenView.vue:659
...
push @ vue-router.esm-bundler.js:2986
changeProject @ ProjectMenu.vue:92
versions
ACS: 4.20.3.1 (upgraded from [previous version])
Management servers: 3 nodes, Ubuntu 24.04, behind HAProxy (also reproducible when bypassing the proxy)
Browsers/OS: reproducible in multiple browsers and operating systems Chrome/Windows 11, Firefox/Ubuntu
The steps to reproduce the bug
- Log in to the UI and select a project in the project selector.
- Open Compute > Instances (the listing is shown for the project).
- While on the Instances page, switch from the project view to the default view.
- The error notification appears.
What to do about it?
The in-flight listVirtualMachines request is cancelled in beforeRouteLeave (AutogenView.vue) when the project is changed (changeProject in ProjectMenu.vue). The resulting CanceledError (ERR_CANCELED) is not filtered out and reaches the global error handler, which shows the "Unable to reach the management server..." notification.
A deliberately cancelled request should probably be silently ignored instead of being reported as a network error.
- Lenguaje dominante
- Java
- Estrellas
- 3.1k
- Forks
- 1.4k
- Merge medio
- 10 d 6 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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.
Más de apache/cloudstack
-
Routed network ACL rules with a protocol number are not applied on the VR (ip nexthdr instead of ip protocol)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertocomponent:virtual-router
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/cloudstack#14351 ·
Los mantenedores suelen responder en 1 día
-
listPublicIpAddresses NullPointerException on shared networks with a VR (4.22)Posiblemente ocupada @MitchDrage la tomó hace 18 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
apache/cloudstack#14248 ·
Los mantenedores suelen responder en 1 día
-
CKS: upgradeKubernetesCluster fails on control node when binaries ISO ships headlamp.yaml instead of dashboard.yamlPosiblemente ocupada @mw-0 la tomó hace 19 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/cloudstack#14244 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Resize volume API validation errors are not displayed in the UIPosiblemente ocupada @sathvikaragi la tomó hace 22 días. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
apache/cloudstack#14222 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os'sAbiertobug component:kubernetes
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
apache/cloudstack#14180 ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/cloudstack
Issues similares
-
:ml/Transform >bug Team:ML
Dificultad 2/5 Medio día Aptitud para principiantes 64/100
elastic/elasticsearch#161960 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
chore: update release scheduleAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Tiviacz1337/Travelers-Backpack#1629 ·
-
bug: Authentication and App Check listeners leak the Activity and WebView on AndroidPosiblemente ocupada @harbinzhang la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
capawesome-team/capacitor-firebase#1050 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
capawesome-team/capacitor-plugins#1134 ·
Los mantenedores suelen responder en 1 día