Open
Description
Source Controller seems to use http2 keep alive when cloning git repository.
Error message:
unable to clone 'https://example.com/test/repo, error: http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
For short poll intervals (I tried 1m and 1m40s) we get a small but repeatable number of failures, exactly every 1999 requests. This is due to nginx server config, which will reset connection after maximum is reached. However client can request keepalive or not, and it would be better to not use it in this case.
Default go http client enables keepalive with a time of 90s
Using keepalive for polling seems incorrect. Can we disable keepalive please?