Skip to content

New manual install get nginx 502 error #116

Closed
@mediclab

Description

@mediclab

After new magento 2.2.6 install with sample data, nginx get 502 error

app_1            | 2019/01/16 08:01:11 [info] 8#8: *1 client closed connection while waiting for request, client: 172.19.0.1, server: 0.0.0.0:8443
app_1            | 2019/01/16 08:01:11 [info] 7#7: *2 client closed connection while waiting for request, client: 172.19.0.1, server: 0.0.0.0:8443
app_1            | 2019/01/16 08:01:11 [crit] 8#8: *3 connect() to unix:/sock/docker.sock failed (2: No such file or directory) while connecting to upstream, client: 172.19.0.1, server: , request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://unix:/sock/docker.sock:", host: "magento.local"
app_1            | 172.19.0.1 - - [16/Jan/2019:08:01:11 +0000] "GET /admin/ HTTP/1.1" 502 576 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/71.0.3578.98 Chrome/71.0.3578.98 Safari/537.36" "-"
app_1            | 2019/01/16 08:01:11 [crit] 8#8: *3 connect() to unix:/sock/docker.sock failed (2: No such file or directory) while connecting to upstream, client: 172.19.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/sock/docker.sock:", host: "magento.local", referrer: "https://magento.local/admin/"
app_1            | 172.19.0.1 - - [16/Jan/2019:08:01:11 +0000] "GET /favicon.ico HTTP/1.1" 502 576 "https://magento.local/admin/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/71.0.3578.98 Chrome/71.0.3578.98 Safari/537.36" "-"
medic84-note:~/Documents/Work/magento-docker$ sudo docker-compose exec phpfpm ls /sock -la
total 8
drwxr-xr-x 2 app  app  4096 Dec 24 15:02 .
drwxr-xr-x 1 root root 4096 Jan 16 08:21 ..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions