Pearl1594 opened a new issue #5475:
URL: https://github.com/apache/cloudstack/issues/5475
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
UI
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
main (4.16)
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Noticed issue on Simulator and KVM based env
##### SUMMARY
<!-- Explain the problem/feature briefly -->
On logging in as a domain admin/user, and then logging out, we see an
increasing number of requests being sent to the MS, leading to the browser
becoming unresponsive. Clearing the cache / opening the UI in incognito didn't
help either.
Following exceptions were logged on the MS:
```
2021-09-20 12:42:58,340 DEBUG [c.c.a.ApiServlet]
(qtp769798433-388:ctx-c720060f) (logid:4a98a9ca) ===START=== 172.16.250.7 --
GET command=logout&response=json
2021-09-20 12:42:58,340 DEBUG [c.c.a.ApiServlet]
(qtp769798433-388:ctx-c720060f) (logid:4a98a9ca) ===END=== 172.16.250.7 -- GET
command=logout&response=json
2021-09-20 12:42:58,341 DEBUG [c.c.a.ApiServlet]
(qtp769798433-385:ctx-29265c79 ctx-6076ee1c) (logid:ecff2800) ===END===
172.16.250.7 -- GET
state=Running&listall=true&command=listVirtualMachines&response=json
2021-09-20 12:42:58,507 DEBUG [c.c.a.ApiServlet]
(qtp769798433-21:ctx-35b7af05) (logid:a3dd1a1c) ===START=== 172.16.250.7 --
GET state=Stopped&listall=true&command=listVirtualMachines&response=json
2021-09-20 12:42:58,508 DEBUG [c.c.a.ApiServer]
(qtp769798433-21:ctx-35b7af05 ctx-76d220fb) (logid:a3dd1a1c) Expired session,
missing signature, or missing apiKey -- ignoring request. Signature: null,
apiKey: null
2021-09-20 12:42:58,508 DEBUG [c.c.a.ApiServlet]
(qtp769798433-388:ctx-edaf1814) (logid:5a7c7f00) ===START=== 172.16.250.7 --
GET listall=true&command=listVirtualMachines&response=json
2021-09-20 12:42:58,508 DEBUG [c.c.a.ApiServlet]
(qtp769798433-21:ctx-35b7af05 ctx-76d220fb) (logid:a3dd1a1c) ===END===
172.16.250.7 -- GET
state=Stopped&listall=true&command=listVirtualMachines&response=json
2021-09-20 12:42:58,508 DEBUG [c.c.a.ApiServer]
(qtp769798433-388:ctx-edaf1814 ctx-e942a21a) (logid:5a7c7f00) Expired session,
missing signature, or missing apiKey -- ignoring request. Signature: null,
apiKey: null
```
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
1. Login as an admin
2. Create a domain admin and/or a user
3. logout <-- works fine
4. login as domain admin / user
5. logout - though logout is successful, notice the devtools network tab -
the continuous increase in no. of requests sent to MS which eventually renders
the browser unresponsive
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Logout as usual
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
Logs out, but then browser hangs due to increased no. of API calls being made
~~~
https://user-images.githubusercontent.com/10495417/134000732-1fbc13d6-e584-4932-b31e-74e6f50c83cf.mp4
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]