Error in config value 'url_scheme_variable'

toras toras9000 at gmail.com
Tue Sep 13 15:29:16 UTC 2022


Hello.


I am reporting a problem I encountered when trying to deploy kallithhea behind a reverse proxy.
Version is v0.7.0.

Enabling the setting 'url_scheme_variable = HTTP_X_FORWARDED_PROTO' in the configuration file (kallithea.ini) caused an error on 
startup.
A portion of the stack trace output when an error occurs is shown below.


2022-09-12 19:38:41.258 ERROR [gearbox] String is not true/false: 'http_x_forwarded_proto'
Traceback (most recent call last):
<< Omit the middle >>
   File "/home/kallithea/.local/lib/python3.8/site-packages/kallithea/config/application.py", line 38, in <genexpr>
     if any(asbool(config.get(x)) for x in ['url_scheme_variable', 'force_https', 'use_htsts']):


Thanks

--
toras9000




More information about the kallithea-general mailing list