503 Service Temporarily Unavailable
See original GitHub issueI’m trying to run wallabag with nginx-proxy
. I can run Wallabag directly:
$ docker run --detach -v /opt/wallabag/data:/var/www/wallabag/data -v /opt/wallabag/images:/var/www/wallabag/web/assets/images -p 80:80 wallabag/wallabag
and it works (and redirects to the login page):
$ curl -I http://localhost
HTTP/1.1 302 Found
Server: nginx
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/7.1.14
Set-Cookie: PHPSESSID=f3977b6703abd265a234b46a8ef7ab90; path=/; HttpOnly
Cache-Control: no-cache, private
Date: Fri, 02 Mar 2018 07:49:58 GMT
Location: http://localhost/login
But then I try running it with nginx-proxy
docker run -d --name nginx-proxy -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
docker run -d --name wallabag -v /opt/wallabag/data:/var/www/wallabag/data -v /opt/wallabag/images:/var/www/wallabag/web/assets/images -e VIRTUAL_HOST=wallabag wallabag/wallabag
and I get this error message.
curl -i http://wallabag.localhost
HTTP/1.1 503 Service Temporarily Unavailable
Server: nginx/1.13.8
Date: Fri, 02 Mar 2018 07:56:38 GMT
Content-Type: text/html
Content-Length: 213
Connection: keep-alive
<html>
<head><title>503 Service Temporarily Unavailable</title></head>
<body bgcolor="white">
<center><h1>503 Service Temporarily Unavailable</h1></center>
<hr><center>nginx/1.13.8</center>
</body>
</html>
I’m sure it’s my fault, but I’m not sure where. Any ideas where I could be messing this up? Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
503 Service Unavailable - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 503 Service Unavailable server error response code indicates that the server is not ready to handle ...
Read more >503 Service Unavailable Error: What It Is and How to Fix It
A 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request.
Read more >What is a 503 Service Unavailable Error (And How Can I Fix It)?
A 503 Service Unavailable Error indicates that a web server is temporarily unable to handle a request. That could be the web server...
Read more >How to Fix 503 Service Unavailable Error: 7 Steps That Work
6. Restart Your Server and Networking Equipment ... The 503 service unavailable error can happen due to connectivity issues between the server ......
Read more >How to Fix the HTTP Error 503 Service Unavailable - Kinsta
The 503 (Service Unavailable) status code indicates that the server is currently unable to handle the request due to a temporary overload or ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sickill Good idea. It works well; the service was still starting up when I tried to connect to it. Running without
-d
allowed me to see when it was ready. Thanks!No idea what’s happening here. But I would suggested dropping
-d
from bothdocker run
commands and start them in foreground in 2 separate terminal tabs/windows. This way you can easily see all output/errors from the processes in these containers.