Closed MarkEWaite closed 2 months ago
Multiple possible causes, need to investigate:
2024/08/24 07:37:33.902 UTC HTTP error: write tcp 10.100.8.14:8080->10.100.8.1:34408: write: broken pipe
http: superfluous response.WriteHeader call from github.com/etix/mirrorbits/http.(*HTTP).mirrorStatsHandler (http.go:607)
First set of actions:
First set of actions:
* Disabled the GeoIP data container (set deployment manually to zero replicas) * Deleting the 2 get.jenkins.io pods one after the other
No results: I can still see the error :|
http: superfluous response.WriteHeader call from github.com/etix/mirrorbits/http.(*HTTP).mirrorStatsHandler (http.go:607)
This is an internal HTTP error :'(Thrown by https://github.com/etix/mirrorbits/blob/e83e56ac6496a3643d18a731324bd266f75f7b32/http/http.go#L607
Could be related to https://github.com/jenkins-infra/docker-mirrorbits/pull/18. Gotta try with @timja 's proposal (using the Debian package instead of our custom build of mirrorbits
)
Root cause described in https://github.com/jenkins-infra/helpdesk/issues/4240#issuecomment-2308222117 (Azure File share)
Fixed the problem (at least I cannot reproduce it on my machine after the operation while I was hitting it on 80% requests) by using the "Nuclear option" (3 min downtime on get.jenkins.io):
Added the following 2 hotfixes to ensure automation does NOT try to re-create the geoipdata stuff:
Reopened https://github.com/jenkins-infra/helpdesk/issues/4240 so that we can implement another solution which does not involve using ReadWriteMany
PV.
@MarkEWaite @daniel-beck can you confirm the problem is gone for you?
Thanks very much @dduportal . I confirm that the problem is gone for me.
Thanks!
Service(s)
get.jenkins.io
Summary
Alternating requests to get.jenkins.io show that half the time it cannot resolve my geographic location
Reproduction steps
Open https://get.jenkins.io/plugins/git/5.3.0/git.hpi?mirrorlist multiple times in succession. Sometimes it will locate the IP address and look like this:
Sometimes it will not geo-locate the IP address and will look like this: