lhotari commented on pull request #8386:
URL: https://github.com/apache/pulsar/pull/8386#issuecomment-717068810


   >But it would be better to apply this change to mvn invocation in github 
actions files.
   If we commit this file the change will apply to every local environment and 
to other CI systems (for people who test Pulsar on their own CI systems)
   
   @eolivelli Eventually I will go with this proposal, so that the settings 
apply only for github actions. It turns out that 
`-Dmaven.wagon.http.retryHandler.count=3` doesn't help and the correct solution 
seems to be to use `-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false`. This 
is originally mentioned in an Azure related issue: 
https://developercommunity.visualstudio.com/content/problem/357696/maven-project-build-failing-with-connection-reset.html
 . (linked from the SO Q&A https://stackoverflow.com/a/58769870)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to