Error in config value 'url_scheme_variable'

Mads Kiilerich mads at kiilerich.com
Wed Sep 14 07:10:49 UTC 2022


Hi

Right. Thanks for reporting.

That should be fixed with 
https://kallithea-scm.org/repos/kallithea/changeset/ed117efc9ae952bbab966a267bbd2297d31b05e2 
.

You can apply the fix manually, or install from the stable branch - 
https://kallithea.readthedocs.io/en/default/installation.html#installation-from-repository-source 
.

/Mads


On 9/13/22 17:29, toras wrote:
> 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
>
>
> _______________________________________________
> kallithea-general mailing list
> kallithea-general at sfconservancy.org
> https://lists.sfconservancy.org/mailman/listinfo/kallithea-general




More information about the kallithea-general mailing list