Skip to content

Wagon retry#567

Merged
kelsk merged 2 commits into
GoogleCloudPlatform:masterfrom
briandealwis:wagon-retry
Jan 22, 2021
Merged

Wagon retry#567
kelsk merged 2 commits into
GoogleCloudPlatform:masterfrom
briandealwis:wagon-retry

Conversation

@briandealwis
Copy link
Copy Markdown
Member

We've been seeing many connection reset failures with Maven fetching artifacts from Maven Central. Maven's Wagon HTTP maintains a pool of connections and Maven Central (or something in the fetching path) seems to be aggressively closing idle connections.

This PR sets some system properties to configure Maven Wagon HTTP as follows:

  • Dial down the time-to-live on Wagon's pool of HTTP connections to 2 minutes
  • Retry requests even if the request appeared to be received

It also bumps the required Maven version from 3.6.2 to 3.6.3 (latest).

- Dial down the time-to-live on Wagon's pool of HTTP connections
- Retry requests even if the request appeared to be received
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 22, 2021
@quoctruong
Copy link
Copy Markdown
Contributor

/gcbrun

@kelsk kelsk merged commit ab0a151 into GoogleCloudPlatform:master Jan 22, 2021
kelsk added a commit that referenced this pull request Mar 4, 2021
* Remove 'basebranches' from renovate.json (#541)

* Update dependency eslint-plugin-prettier to v3.3.0 (#542)

* Update module cloud.google.com/go to v0.74.0 (#545)

* Update dependency mongoose to v5.11.8 (#543)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency requests to v2.25.1 (#546)

* Update dependency eslint to v7.16.0 (#547)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency axios to v0.21.1 (#549)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency mongoose to v5.11.9 (#550)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint-config-prettier to v7.1.0 (#551)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint to v7.17.0 (#552)

* Update dependency Django to v3.1.5 (#553)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint-plugin-prettier to v3.3.1 (#554)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency mongoose to v5.11.11 (#555)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update Dockerfile (#562)

* Update module cloud.google.com/go to v0.75.0 (#557)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update Dockerfile (#566)

* Update dependency mongoose to v5.11.13 (#558)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint to v7.18.0 (#559)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint-config-prettier to v7.2.0 (#560)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency bleach to v3.2.2 (#563)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency MongoDB.Driver to v2.11.6 (#564)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Wagon retry (#567)

* Configure Maven Wagon HTTP to be more tolerant of repository failures

- Dial down the time-to-live on Wagon's pool of HTTP connections
- Retry requests even if the request appeared to be received

* Bump required Maven to 3.6.3 to pick up bugfixes

* Add ide-specific readmes to all languages (#568)

README improvements:
* Added step-by-step tutorials
* Included Cloud Code screenshots
* Separated READMEs by IDE
* Added user research link

* Fix layout & content of READMEs (#569)

* Resize images
* Add utm links
* Alter whitespace
* Update wording and add clarification

* Update dependency bleach to v3.2.3 (#570)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency com.google.cloud.tools:jib-maven-plugin to v2.7.1 (#556)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Adjust Cloud Run frontend style (#572)

* Alter 'Whats next?' section content & add UTM tracking link

* Move css to 'style.css', use django 'staticfiles', make 'Whats next?' a list

* Put css in separate file; add shortcut icon; add frontend content & utm link

* Fix typo: 'joing' > 'join'

* Update dependency mongoose to v5.11.14 (#571)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.1.2 (#573)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint to v7.19.0 (#575)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency Django to v3.1.6 (#576)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency bleach to v3.3.0 (#577)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update module cloud.google.com/go to v0.76.0 (#579)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency mongodb to v3.6.4 (#580)

* Update dependency mongoose to v5.11.15 (#581)

* Cloud Run frontend content update (#582)

* Separate 'Whats next?' content into 2 sections

* Remove PROJECT metadata from Cloud Run

* Fix linting bugs

* Update wording

* Update dependency gaxios to v4.1.0 (#585)

* Update dependency eslint-plugin-promise to v4.3.1 (#584)

* Update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.7.RELEASE

* Update dependency mocha to v8.3.0

* Update dependency eslint to v7.20.0

* Update golang Docker tag to v1.16

* Update dependency express-winston to v4.1.0

* Update dependency Django to v3.1.7

* Update dependency eslint-config-prettier to v8

* Update module cloud.google.com/go to v0.78.0

* Update dependency mongoose to v5.11.18

* Update dependency com.google.cloud.tools:jib-maven-plugin to v2.8.0

* Update dependency eslint-config-prettier to v8.1.0

* Update dependency eslint to v7.21.0

* Update module go.mongodb.org/mongo-driver to v1.4.6

* Update dependency pug to v3.0.2

* Update dependency gaxios to v4.2.0

* Update dependency MongoDB.Driver to v2.12.0

Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: Quoc Truong <quoct@google.com>
Co-authored-by: Brian de Alwis <bsd@mt.ca>
Co-authored-by: Shabir Mohamed Abdul Samadh <7249208+Shabirmean@users.noreply.github.com>
Co-authored-by: Olivier Bourgeois <3271352+bourgeoisor@users.noreply.github.com>
kelsk added a commit that referenced this pull request Apr 27, 2021
* Add skaffold link & comment to all skaffold.yamls (#537)

* Add link to skaffold yaml reference in java-guestbook

* Add skaffold link and comment in skaffold.yaml files

* Add baseBranches to renovate.json

* Remove 'baseBranches' from renovate.json

* Merge master into develop (#608)

* Remove 'basebranches' from renovate.json (#541)

* Update dependency eslint-plugin-prettier to v3.3.0 (#542)

* Update module cloud.google.com/go to v0.74.0 (#545)

* Update dependency mongoose to v5.11.8 (#543)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency requests to v2.25.1 (#546)

* Update dependency eslint to v7.16.0 (#547)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency axios to v0.21.1 (#549)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency mongoose to v5.11.9 (#550)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint-config-prettier to v7.1.0 (#551)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint to v7.17.0 (#552)

* Update dependency Django to v3.1.5 (#553)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint-plugin-prettier to v3.3.1 (#554)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency mongoose to v5.11.11 (#555)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update Dockerfile (#562)

* Update module cloud.google.com/go to v0.75.0 (#557)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update Dockerfile (#566)

* Update dependency mongoose to v5.11.13 (#558)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint to v7.18.0 (#559)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint-config-prettier to v7.2.0 (#560)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency bleach to v3.2.2 (#563)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency MongoDB.Driver to v2.11.6 (#564)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Wagon retry (#567)

* Configure Maven Wagon HTTP to be more tolerant of repository failures

- Dial down the time-to-live on Wagon's pool of HTTP connections
- Retry requests even if the request appeared to be received

* Bump required Maven to 3.6.3 to pick up bugfixes

* Add ide-specific readmes to all languages (#568)

README improvements:
* Added step-by-step tutorials
* Included Cloud Code screenshots
* Separated READMEs by IDE
* Added user research link

* Fix layout & content of READMEs (#569)

* Resize images
* Add utm links
* Alter whitespace
* Update wording and add clarification

* Update dependency bleach to v3.2.3 (#570)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency com.google.cloud.tools:jib-maven-plugin to v2.7.1 (#556)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Adjust Cloud Run frontend style (#572)

* Alter 'Whats next?' section content & add UTM tracking link

* Move css to 'style.css', use django 'staticfiles', make 'Whats next?' a list

* Put css in separate file; add shortcut icon; add frontend content & utm link

* Fix typo: 'joing' > 'join'

* Update dependency mongoose to v5.11.14 (#571)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.1.2 (#573)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency eslint to v7.19.0 (#575)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency Django to v3.1.6 (#576)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency bleach to v3.3.0 (#577)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update module cloud.google.com/go to v0.76.0 (#579)

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>

* Update dependency mongodb to v3.6.4 (#580)

* Update dependency mongoose to v5.11.15 (#581)

* Cloud Run frontend content update (#582)

* Separate 'Whats next?' content into 2 sections

* Remove PROJECT metadata from Cloud Run

* Fix linting bugs

* Update wording

* Update dependency gaxios to v4.1.0 (#585)

* Update dependency eslint-plugin-promise to v4.3.1 (#584)

* Update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.7.RELEASE

* Update dependency mocha to v8.3.0

* Update dependency eslint to v7.20.0

* Update golang Docker tag to v1.16

* Update dependency express-winston to v4.1.0

* Update dependency Django to v3.1.7

* Update dependency eslint-config-prettier to v8

* Update module cloud.google.com/go to v0.78.0

* Update dependency mongoose to v5.11.18

* Update dependency com.google.cloud.tools:jib-maven-plugin to v2.8.0

* Update dependency eslint-config-prettier to v8.1.0

* Update dependency eslint to v7.21.0

* Update module go.mongodb.org/mongo-driver to v1.4.6

* Update dependency pug to v3.0.2

* Update dependency gaxios to v4.2.0

* Update dependency MongoDB.Driver to v2.12.0

Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: Quoc Truong <quoct@google.com>
Co-authored-by: Brian de Alwis <bsd@mt.ca>
Co-authored-by: Shabir Mohamed Abdul Samadh <7249208+Shabirmean@users.noreply.github.com>
Co-authored-by: Olivier Bourgeois <3271352+bourgeoisor@users.noreply.github.com>

* Merge master into develop (#627)

* Update dependency mongoose to v5.12.1 (#624)

* Lock file maintenance (#625)

* Update dependency mongoose to v5.12.2 (#626)

Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>

* Add --force flag to django guestbook skaffold.yaml

* Update package-lock.json

* Accurately update package-lock.json

* Merge master into develop (#643)

* Update dependency mongoose to v5.12.3

* [fix] Add --force flag to Django Guestbook skaffold (#628)


* Add --force flag to django guestbook skaffold.yaml

* Update package-lock.json

* Accurately update package-lock.json

* Update module cloud.google.com/go to v0.81.0

* Update Python Dockerfile to use 3.8 samples (#641)

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Dina Graves Portman <dinagraves@google.com>
Co-authored-by: Quoc Truong <quoct@google.com>

* Update dependency Django to v3.2 (#642)

* Update dependency mongoose to v5.12.3

* [fix] Add --force flag to Django Guestbook skaffold (#628)


* Add --force flag to django guestbook skaffold.yaml

* Update package-lock.json

* Accurately update package-lock.json

* Update module cloud.google.com/go to v0.81.0

* Update Python Dockerfile to use 3.8 samples (#641)

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update dependency Django to v3.2

Co-authored-by: kelsk <38271546+kelsk@users.noreply.github.com>
Co-authored-by: Dina Graves Portman <dinagraves@google.com>
Co-authored-by: Quoc Truong <quoct@google.com>

* Upgrade Spring Boot to 2.4.4 in Java samples (#646)


* update spring boot to 2.4.4; add junit vintage dependency

* update spring boot to 2.4.4 for guestbook

* delete accidental commit of launch.json

* update Guestbook MongodbDataSourceConfig to be compatible with mongodb driver 3.7

* update Sort method

* update spring boot to 2.4.4 for hello-world

* remove exclusion

* fix whitespace in pom files

* lint: format ConnectionString in backend/MongodbDataSourceConfig.java

Co-authored-by: Averi Kitsch <akitsch@google.com>

* Remove vsdbg install from .NET Dockerfiles

* Merge master into develop (#667)

* Update dependency eslint to v7.24.0

* Update dependency eslint-plugin-promise to v5

* Update dependency eslint-config-prettier to v8.2.0

* Update dependency eslint-plugin-prettier to v3.4.0

* Update dependency mongoose to v5.12.4

* Update dependency mongoose to v5.12.5

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Shabir Mohamed Abdul Samadh <7249208+Shabirmean@users.noreply.github.com>
Co-authored-by: Olivier Bourgeois <3271352+bourgeoisor@users.noreply.github.com>

Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: Quoc Truong <quoct@google.com>
Co-authored-by: Brian de Alwis <bsd@mt.ca>
Co-authored-by: Shabir Mohamed Abdul Samadh <7249208+Shabirmean@users.noreply.github.com>
Co-authored-by: Olivier Bourgeois <3271352+bourgeoisor@users.noreply.github.com>
Co-authored-by: Dina Graves Portman <dinagraves@google.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants