Comments (5)
panic: s3aws: RequestError: send request failed
caused by: Get "https://docker-registry-test.some-s3-endpoint.net/?list-type=2&max-keys=1&prefix=scheduler-state.json": dial tcp: lookup docker-registry-test.some-s3-endpoint.net on 192.168.65.7:53: no such host
goroutine 1 [running]:
This is failing DNS lookup which has nothing to do with registry I'm afraid. You're gonna have to sort that out first.
As an aside it's strange that registry is panicking when the DNS lookup fails, though 🤔
from distribution.
@milosgajdos Thanks for your super fast reply!
My colleagues suspect this is DNS issue also, but it somehow worked well with registry:2.8.3, with exactly the same config for s3 in config.yml. Then it became a bit strange.
Do we have any official document for the configuration for registry:3.0.0? I am not sure if the format for the configuration file has changed and thus caused this.
I will also try to check the code if anything changed
from distribution.
The latest docs are here https://distribution.github.io/distribution/about/configuration/
from distribution.
I seem to find the issue:
In registry 3.0.0-alpha, you have this commit which allows independent setting of "ForcePathStyle" even when the RegionEndpoint is set:
8654a0e
In version 2 this was set to True by default when the RegionEndpoint Parameter was present:
https://github.com/distribution/distribution/blob/v2.8.3/registry/storage/driver/s3-aws/s3.go#L428
I have limited knowledge with s3 configurations, but since in my configuration the "forcepathstyle" option was not present, it went False and caused the errors.
Thanks for your quick replies again and I think this issue can be closed.
from distribution.
Awesome! I remember that PR and I completely forgot to think of that. Thanks, closing.
from distribution.
Related Issues (20)
- S3 Storage Fails with storage: read exceeds limit HOT 8
- Feature Request: Shutdown() method on registry.Registry struct
- Auto garbabe collection HOT 1
- proxy.ttl not work HOT 6
- 401 Unauthorized "insufficient_scope" when pulling images without a / HOT 1
- update the documentation to refer to the new image tag (documentation currently uses `registry:2`)
- update the location of the configuration file ()
- Registry keeps crashing after starting "purgeuploads.go" HOT 18
- Registry failed on storage health check - s3aws.Stat("/") HOT 4
- No LifeCycle Policy in Repository HOT 5
- Is OCI-based image not yet supported by docker private registry? HOT 11
- S3 work, cache not work
- Exposing a way to consumers to choose where to save the logs instead of defaulting always to os.Stdout HOT 5
- Simple RBAC system for Dev/Ops
- REGISTRY_PROXY_TTL Env Var is not recogized HOT 3
- failed to read expected number of bytes: unexpected EOF HOT 3
- Incomplete GC on S3 backend HOT 6
- Registry:2.8.3 didn't work as a pull-through cache to Amazon Public ECR Gallery HOT 1
- OCI manifest found, but accept header does not support OCI manifests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distribution.