Cannot fetch logs in Nomad UI

We run into this issue randomly. Usually, everything is ok but sometimes, when 2 or more people open logs of the same job in UI, we get the following error: “Cannot fetch logs”
It disappears after couple of minutes/multiple reloads of the web page.
Any ideas how to fix that?
Nomad logs seems to be ok, Nomad version -1.6.2