[UI] "canceled - Unable to reach the management server" notification when switching from project to default view on Instances page (4.20.3)
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 65/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript
- Domínio
- frontend
Direção de pesquisa
Comece por beforeRouteLeave em AutogenView.vue, onde listVirtualMachines é cancelada, e por changeProject em ProjectMenu.vue, que dispara a mudança de rota. Depois verifique request.js, onde ficam o cancelamento e o manipulador global de erros, para entender por que um CanceledError com ERR_CANCELED chega à notificação 'Unable to reach the management server'. Está concluído quando uma requisição cancelada deliberadamente é ignorada silenciosamente, enquanto uma falha real de rede continua exibindo a notificação.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Java
- Estrelas
- 3.1k
- Forks
- 1.4k
- Merge médio
- 9d 3h
- PRs com merge (30d)
- 11
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de apache/cloudstack
-
Routed network ACL rules with a protocol number are not applied on the VR (ip nexthdr instead of ip protocol)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertacomponent:virtual-router
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
apache/cloudstack#14351 ·
Mantenedores costumam responder em até 1 dia
-
listPublicIpAddresses NullPointerException on shared networks with a VR (4.22)Talvez já em andamento @MitchDrage assumiu há 19 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
apache/cloudstack#14248 ·
Mantenedores costumam responder em até 1 dia
-
CKS: upgradeKubernetesCluster fails on control node when binaries ISO ships headlamp.yaml instead of dashboard.yamlTalvez já em andamento @mw-0 assumiu há 20 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
apache/cloudstack#14244 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Resize volume API validation errors are not displayed in the UITalvez já em andamento @sathvikaragi assumiu há 23 dias. Abertabug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
apache/cloudstack#14222 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os'sAbertabug component:kubernetes
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
apache/cloudstack#14180 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de apache/cloudstack
Issues semelhantes
-
area/plugin good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
kestra-io/plugin-kestra#200 ·
Mantenedores costumam responder em até 1 dia
-
bug untriaged
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
opensearch-project/search-relevance#618 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
apache/rocketmq-dashboard#6716 ·
Mantenedores costumam responder em até 3 dias
-
DefaultRedisList.get(int) does not reject an index equal to the list sizeTalvez já em andamento @ryujungkyun assumiu hoje. Abertastatus: waiting-for-triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
spring-projects/spring-data-redis#3471 ·
Mantenedores costumam responder em até 5 dias
-
Upgrade to Micrometer 1.17.2Abertain: build type: dependency-upgrade
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 62/100
spring-projects/spring-ldap#1791 ·
Mantenedores costumam responder em até 1 dia