Error running server (HTTPSConnectionPool read timed out)
I'm forwarding traffic with caddy
https://am.pirateradio.social {
reverse_proxy funkwhale:5000
}
My config
FUNKWHALE_API_IP=0.0.0.0
FUNKWHALE_API_PORT=5000
FUNKWHALE_HOSTNAME=am.pirateradio.social
FUNKWHALE_PROTOCOL=https
eb 23 10:13:28 pr-funkwhale gunicorn[10251]: Traceback (most recent call last):
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/virtualenv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: response = get_response(request)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/api/funkwhale_api/common/middleware.py", line 238, in __call__
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: return serve_spa(request)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/api/funkwhale_api/common/middleware.py", line 37, in serve_spa
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: html = get_spa_html(settings.FUNKWHALE_SPA_HTML_ROOT)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/api/funkwhale_api/common/middleware.py", line 111, in get_spa_html
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: return get_spa_file(spa_url, "index.html")
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/api/funkwhale_api/common/middleware.py", line 128, in get_spa_file
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: response = session.get_session().get(utils.join_url(spa_url, name),)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/virtualenv/lib/python3.8/site-packages/requests/sessions.py", line 543, in get
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: return self.request('GET', url, **kwargs)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/api/funkwhale_api/common/session.py", line 11, in request
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: return super().request(*args, **kwargs)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/virtualenv/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: resp = self.send(prep, **send_kwargs)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/virtualenv/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: r = adapter.send(request, **kwargs)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: File "/srv/funkwhale/virtualenv/lib/python3.8/site-packages/requests/adapters.py", line 529, in send
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: raise ReadTimeout(e, request=request)
Feb 23 10:13:28 pr-funkwhale gunicorn[10251]: requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='am.pirateradio.social', port=443): Read timed out. (read timeout=10)