Last active
December 22, 2015 08:29
-
-
Save dqminh/6445153 to your computer and use it in GitHub Desktop.
`docker push` timed out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pushing 75d01c1a488526899c15031b5c93d098680a73d31062662a9a58460f81cc34c9 | |
2013/09/04 21:28:51 Received HTTP code 504 while uploading layer: <html> | |
<head><title>504 Gateway Time-out</title></head> | |
<body bgcolor="white"> | |
<center><h1>504 Gateway Time-out</h1></center> | |
<hr><center>nginx/1.4.2</center> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Gunicorn config at | |
# Managed by Chef - Local Changes will be Nuked from Orbit (just to be sure) | |
## | |
# What ports/sockets to listen on, and what options for them. | |
bind = "0.0.0.0:5000" | |
# The maximum number of pending connections | |
backlog = 2048 | |
# What the timeout for killing busy workers is, in seconds | |
timeout = 3600 | |
# How long to wait for requests on a Keep-Alive connection, in seconds | |
keepalive = 2 | |
# The maxium number of requests a worker will process before restarting | |
max_requests = 100 | |
# Whether the app should be pre-loaded | |
preload_app = False | |
# How many worker processes | |
workers = 1 | |
# Type of worker to use | |
worker_class = "sync" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[04/Sep/2013:21:28:53 +0000] "PUT /v1/images/75d01c1a488526899c15031b5c93d098680a73d31062662a9a58460f81cc34c9/layer HTTP/1.1" 504 182 "-" "go/go1.1.1 kernel/3.8.0-29-generic" "-" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
access_log /var/log/nginx/access.log main; | |
# SSL Optimization based on http://nginx.org/en/docs/http/configuring_https_servers.html | |
ssl_session_cache shared:SSL:10m; | |
ssl_session_timeout 10m; | |
server { | |
listen 443; | |
ssl on; | |
ssl_certificate /etc/ssl/certs/cert.crt; | |
ssl_certificate_key /etc/ssl/private/key.key; | |
client_max_body_size 2048M; | |
gzip on; | |
gzip_min_length 1000; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_types application/json application/xml text/plain text/html; | |
location / { | |
proxy_pass http://0.0.0.0:5000; | |
proxy_set_header X-Real-IP $remote_addr; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013/09/04 21:28:53 [error] 6951#0: *55 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.143.7.175, server: , request: "PUT /v1/images/75d01c1a488526899c15031b5c93d098680a73d31062662a9a58460f81cc34c9/layer HTTP/1.1", upstream: "http://0.0.0.0:5000/v1/images/75d01c1a488526899c15031b5c93d098680a73d31062662a9a58460f81cc34c9/layer", host: "docker-registry.domain" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment