You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most probably affects all operating systems (tested on macOS Big Sur and debian:buster Docker image)
most probably affects all client libraries where the HTTP client waits for any response (at least HTTP headers) before returning the HTTP body to the caller (tested on go version go1.16 darwin/amd64 and go version go1.16.2 linux/amd64)
Issue
Go client connection initialisation to an empty event stream takes 30 seconds: client waits until first heartbeat before returning.
Reproduction steps
Start Nomad in dev mode with nomad agent -dev
Connect to Nomad event stream's job topic having 0 Nomad jobs with time go run .:
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v1.1.0 (2678c36)
Operating system and Environment details
debian:buster
Docker image)go version go1.16 darwin/amd64
andgo version go1.16.2 linux/amd64
)Issue
Go client connection initialisation to an empty event stream takes 30 seconds: client waits until first heartbeat before returning.
Reproduction steps
nomad agent -dev
time go run .
:Expected Result
eventStreamClient.Stream
call returns in a reasonable amount of time (< 1s).Actual Result
eventStreamClient.Stream
call returns after 30s.The text was updated successfully, but these errors were encountered: