Closed netomi closed 6 days ago
Can you share the CLI flags you're using to run ghproxy?
I am running the service with
- --redis-address=redis:6379
- --legacy-disable-disk-cache-partitions-by-auth-header=false
- --throttling-time-ms=10
- --get-throttling-time-ms=10
- --log-level=error
I noticed these error mainly at startup, looks like the first requests.
Something worth to mention, not sure if this is related, but I use aiohttp python library and set the proxy parameter, so do not replace calls to github.com with the ghproxy address. Could this be the problem? Is the proxy mode the intended use or not?
ftr: I have only seen these error shortly after startup of the service. Not anymore if ghproxy is running for a while.
I also avoided now proxy mode and do url replacing instead. So far I did not encounter any problems, so lets close this issue for now.
I am running the latest ghproxy version
us-docker.pkg.dev/k8s-infra-prow/images/ghproxy:v20240923-efb534162
in an Openshift cluster and occasionally I get the following errors (similar errors were received when running it as a local docker container):the proxy works in general, but I was just wondering about this error and how I would go about debugging it further?
the stacktrace indicates that it is related to the net/http package, any pointers or instructions would help.