This message was deleted.
# develocity
s
This message was deleted.
1
f
No, it’s currently not possible.
In your case, you think that having more retries would have helped ?
What you can do is change the connect/read timeout with •
-Dcom.gradle.enterprise.http.timeout.readMillis=10000
(10 seconds, defaults to 5s) •
-Dcom.gradle.enterprise.http.timeout.connectMillis=10000
(10 seconds, defaults to 3s)
f
Well rather the opposite. I'd say that 95% of our devs have fiber connections, and the only issue that would hinder the scans from uploading is not being on the VPN, and retries won't help with that. So I think the retries are meaningless for us, and I would set them to 0 to reduce console clutter.
1
c
I saw the same behaviour. When it fails we don't want to retry because it's a VPN issue for sure.
l
@Fritjof Höst @CristianGM do you know why this manifests as a timeout in your case? We attempt to only retry on transient errors. For example, we don’t retry on “connection refused”. Is it intentional that your firewall or similar doesn’t reject the request when not on the VPN?
f
I'm not really into all of the networking stuff, but the url we use is
<http://gradle>.<somedomain>.net
, where the
<somedomain>
is not our own domain, but one that theoretically could be used on the internet. I wish I could help more, but I'm not sure what I would be looking for 🙂
c
If the uploading in background is set to true, it should prevent have this issue. no?
f
When the uploading happens in the background, there is still a very fast foreground request to essentially get a token from the server, and reserve a Build Scan slot. This could fail as well. But nonetheless, the background process may suffer from the same connection problems. The failure will just be absent from the main process, and will be in your
~/.gradle/build-scan-data/upload-failure.log
(in case of a Gradle build) see this doc
👍 1
c
I see, thanks for the explanation. So, this will behave as a fire-and-forget of the scan. I understood that is what is intended for the OP 👀
c
there is still a very fast foreground request to essentially get a token from the server, and reserve a Build Scan slot
That would make the build slow anyway retrying @Cristian Garrido
👍 1
😞 1