-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not access client with many allocations via the web UI #24661
Comments
Hi @agarfer1! I've flagged this as a UI issue for investigation. |
Thanks for raising this, @agarfer1 ; could you possibly pass me any dev console error messages that might pop up when you get to the Error screen? |
This screenshot is from inside the client URL: This screenshot is from the client list: But the behavior is very inconsistent, now trying to replicate it sometimes I am able to see the page correctly, other times it fails. Since the UI redesign/change of framework of version 1.7 or 1.8 I have been experiencing some strange problems. If I have more than around 5 tabs open, the next tab that is loaded doesn't load until I close one of the previous ones. And my server is configured to As another weird behavior related-ish to the tab problem, I have just opened issue 24666. |
Most browsers have a limit on HTTP 1 connections, and to use HTTP 2 you need to be serving over |
Oh wow, @ocharles thank you for the information. https is configured correctly, but in the developer console I see that I am using http/1.1 for the requests .... any ideas on what else could be wrong that is making me use http/1.1? Maybe the whole issue is due to that |
In case somebody can help me, this is my server configuration:
The server is also using v1.9.3 |
That's true. But the server itself also needs to support HTTP2. And for reasons having to do with our peculiar websocket implementation for |
Could you put a HTTP 2 reverse proxy in front of it? |
Probably. Our tutorial for Nginx proxying is a HTTP/1.1 proxy though.
This actually isn't entirely accurate... Nomad's API clients don't use HTTP2. I'm pretty sure you can force the HTTP server to use HTTP2 for your own HTTP clients (if you're ok with broken |
Nomad version
Nomad v1.9.3
BuildDate 2024-11-11T16:35:41Z
Revision d92bf10
Operating system and Environment details
Ubuntu 24.04 x86-64
Issue
I have a host with many allocations and I can no longer access it via the web UI from the Clients page or directly using the URL of the node.
I have tested this both in Chrome and Brave.
Looking at the network traffic it seems that the request to retrieve the allocations fails if over 1.1MB of allocations are retrieved.
However, replaying that request manually loads the data correctly.
The screenshot is from Brave, the last request has been replayed a few seconds later and it goes through correctly.
P.S. Using
nomad node status
for that node, works as expectedReproduction steps
Run over 600 allocations as parameterized jobs (they don't need to be running simultaneously, but before GC happens) in a client, so that the HTTP allocations request,
https://$SERVER:4646/v1/node/$NODE_ID/allocations
will be over 1.1MB and see that client from the Clients list, it will show 0 allocations from that list because the information is not properly loaded there either.Visiting that specific client (both screenshots) will fail as well.
Expected Result
The client information should be visible just like with any other client.
Actual Result
The text was updated successfully, but these errors were encountered: