[GH-ISSUE #494] UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. #420

Closed
opened 2026-02-26 06:32:47 +03:00 by kerem · 4 comments
Owner

Originally created by @WeiKKJ on GitHub (Jul 8, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/494

root@MyCloudEX2Ultra jc21-nginx-proxy-manager # docker-compose up -d
jc21-nginx-proxy-manager_db_1 is up-to-date
Creating jc21-nginx-proxy-manager_app_1 ...

ERROR: for jc21-nginx-proxy-manager_app_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for app UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
root@MyCloudEX2Ultra jc21-nginx-proxy-manager #

Originally created by @WeiKKJ on GitHub (Jul 8, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/494 root@MyCloudEX2Ultra jc21-nginx-proxy-manager # docker-compose up -d jc21-nginx-proxy-manager_db_1 is up-to-date Creating jc21-nginx-proxy-manager_app_1 ... ERROR: for jc21-nginx-proxy-manager_app_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) ERROR: for app UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information. If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60). root@MyCloudEX2Ultra jc21-nginx-proxy-manager #
kerem 2026-02-26 06:32:47 +03:00
Author
Owner

@WeiKKJ commented on GitHub (Jul 8, 2020):

config.json
{
"database": {
"engine": "mysql",
"host": "db",
"name": "npm",
"user": "npm",
"password": "npm",
"port": 3306
}
}

<!-- gh-comment-id:655549826 --> @WeiKKJ commented on GitHub (Jul 8, 2020): config.json { "database": { "engine": "mysql", "host": "db", "name": "npm", "user": "npm", "password": "npm", "port": 3306 } }
Author
Owner

@WeiKKJ commented on GitHub (Jul 8, 2020):

docker-compose.yml
version: "3"
services:
app:
image: jc21/nginx-proxy-manager:2
restart: always
ports:
# Public HTTP Port:
- '2080:80'
# Public HTTPS Port:
- '2443:443'
# Admin Web Port:
- '81:81'
environment:
# Uncomment this if IPv6 is not enabled on your host
DISABLE_IPV6: 'true'
volumes:
# Make sure this config.json file exists as per instructions above:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: jc21/mariadb-aria:10.4
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql

<!-- gh-comment-id:655550121 --> @WeiKKJ commented on GitHub (Jul 8, 2020): docker-compose.yml version: "3" services: app: image: jc21/nginx-proxy-manager:2 restart: always ports: # Public HTTP Port: - '2080:80' # Public HTTPS Port: - '2443:443' # Admin Web Port: - '81:81' environment: # Uncomment this if IPv6 is not enabled on your host DISABLE_IPV6: 'true' volumes: # Make sure this config.json file exists as per instructions above: - ./config.json:/app/config/production.json - ./data:/data - ./letsencrypt:/etc/letsencrypt depends_on: - db db: image: jc21/mariadb-aria:10.4 restart: always environment: MYSQL_ROOT_PASSWORD: 'npm' MYSQL_DATABASE: 'npm' MYSQL_USER: 'npm' MYSQL_PASSWORD: 'npm' volumes: - ./data/mysql:/var/lib/mysql
Author
Owner

@WeiKKJ commented on GitHub (Jul 8, 2020):

image

<!-- gh-comment-id:655550717 --> @WeiKKJ commented on GitHub (Jul 8, 2020): ![image](https://user-images.githubusercontent.com/50602973/86930123-3994c780-c169-11ea-9dad-0845eeba48d6.png)
Author
Owner

@WeiKKJ commented on GitHub (Jul 9, 2020):

I replaced a database running on an individual server and it works fine

<!-- gh-comment-id:656079304 --> @WeiKKJ commented on GitHub (Jul 9, 2020): I replaced a database running on an individual server and it works fine
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#420
No description provided.