Open jacobburrell opened 3 years ago
The solution seemed to be to modify ProxyView from Django revProxy
Specifically, it seems the port passed from the self.process.port is invalid, causing an infinite loop of retries trying to connect to the wrong port:
self.upstream = 'http://127.0.0.1:' + str(self.process.port) + '/fava/'
You can hard-code the port e.g.
self.upstream = 'http://127.0.0.1:' + str(8005) + '/fava/'
Setting the right port fixes this, though seems there probably should to be a fix within the find_free_port function.
Looks like this could have been a configuration issue on my end.
I used find_free_port
here, https://github.com/zsxsoft/fava-management/blob/master/proxy/process.py#L25
Can you share your configuration here? Thanks.
When trying to "enter fava" I receive the following error:
Max retries exceeded with url: /fava/ (Caused by NewConnectionError