Skip to content

fix(workhorse): 502 errors on start up time

Steve Xuereb requested to merge fix/disable-geo-secondary-gprd into master

What does this MR do?

What

Set the GEO_SECONDARY_PROXY explicity to 0 so that geo proxy feature is disabled since it's enabled by default and Geo is not configured in gprd.

We can't set this in gstg because Geo is enabled in gstg.

Why

In https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15497#note_899629314 we started seing workhorse sending 502 errors with the following log messages

badgateway: failed to receive response: dial tcp 127.0.0.1:8080: connect: connection refused
GetGeoProxyURL: Received HTTP status code: 502

This can be a bit noisey and a red herring when debugging problems so it's best to explicity turn it off until it's fixed in gitlab-org/gitlab#350202 (closed)

Author Check-list

Please read the Contributing document and once you do, complete the following:

  • Assign to the correct reviewer per the contributing document
  • Apply the correct metadata per the contributing document
  • Link to related MRs for applying the changes on other environments
  • Link to related Chef changes
  • If necessary link to a Criticality 4 Change Request issue

Reviewer Check-list

  • Reviewed the diff jobs to confirm changes are as expected
  • No changes shown in the diffs not associated with this MR - This may require a rebase or further investigation

Applier Check-list

  • Make sure there is no ongoing deployment for the affected envs before merging (see #announcements slack channel)
Edited by Cameron McFarland

Merge request reports