hashicorp / hashicorp/nomad

Something went wrong - Nomad UI dies while opening multiple clients in tabs

Open
#8,224 10 comments 3 reactions 0 assignees View on GitHub
stage/needs-investigation theme/ui type/bug
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Nomad version
Nomad v0.11.3 (8918fc804a0c6758b6e3e9960e4eb2e605e38552)

### Operating system and Environment details
Ubuntu 18.04

### Issue
Opening multiple clients from "Clients" list in new tabs always causes error screen at some point:

```
Error
Something went wrong.

[Go to jobs] [Go to clients]
```

### Reproduction steps
Run 50 VMs. Start opening clients in new browser tabs from Clients section.

### Nomad Server logs (if appropriate)
```
Jun 19 21:04:51 hashistack-2 nomad[20464]: 2020-06-19T21:04:51.362Z [ERROR] http: request failed: method=GET path=/v1/client/allocation/d51e5c3d-0ab6-d994-d021-31732b62f0c3/stats error="session open: session shutdown" code=500
Jun 19 21:04:51 hashistack-2 nomad[20464]: http: request failed: method=GET path=/v1/client/allocation/d51e5c3d-0ab6-d994-d021-31732b62f0c3/stats error="session open: session shutdown" code=500
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by opening multiple clients from the Clients section in new browser tabs while 50 VMs are running. Start with the /v1/client/allocation//stats request and the reported “session open: session shutdown” server error. Done means opening client tabs no longer reaches the error screen and the stats requests complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.