Re: Bacularis behind reverse proxy - session timeouts

Jan Sielemann via Bacula-users <[email protected]> Wed, 1 Apr 2026 01:14:21 +0200
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
Hello Marcin,

I checked my configs and I made the changes mentioned. My token validity 
was set to 1 minute...wondering who is doing such things :D.

I changed the value to 1h in Authentik and the session.gc_maxlifetime = 
3900 in php.ini.

Unfortunately I cannot confirm, that the session length really lasts an 
hour...because either I checked to often or missed the session by 
several hours :)

...but the main problem "session gone every now and then" seems to be 
solved!

Thank you so much!

Regards,

Jan

--

#GernPerDu #CallMeByMyFirstName

------------------------------------------------------------------------
Logo JSIIT Consulting 	JSIIT Consulting 	Phone: 	+49 40 22865465
Jan Sielemann 	Telefax: 	+49 40 22865468
Riekbornweg 22 	Mobile: 	+49 1578 6769143
22547 Hamburg 	GPG-Public-Key: 	809774813E4461D7 
<https://jsiit.net/public/338622A442F25A5869C8ADE9809774813E4461D7.pub.asc>

------------------------------------------------------------------------
On 3/31/26 03:31, Marcin Haba wrote:
> On Tue, 31 Mar 2026 at 01:48, Jan Sielemann via Bacula-users
> <[email protected]> wrote:
>> I'm using Bacularis in conjunction with Authentik SSO running both
>> behind a Apache Reverse Proxy.
>>
>> I remembered Marcin Haba to mention something like "you have to
>> configure a few things in the reverse proxy to prevent session
>> timeouts"... But I can't remember what it was and searching didn't bring
>> alot... but I have to reauthenticate every now and then...very short
>> periods and it's really annoying when you configure something and boom -
>> start over without anything saved ;)
> Hello Jan,
>
> If you are able to successfully log in, the proxy seems to not be a
> problem here.
>
> For the sessions, the details you can find here:
>
> https://bacularis.app/doc/authentication/identity-providers/sso-openid-connect.html#sessions
>
> I think you meant this page.
>
> Good luck and please let us know if you were able to fix it.
>
> Best regards,
> Marcin Haba (gani)
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
OpenPGP_signature.asc (application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCgA5FiEEYJEAmz6ASAKrWqKvQDyPqyY+KD8FAmnMVU0bFIAAAAAABAAO
bWFudTIsMi41KzEuMTEsMiwyAAoJEEA8j6smPig/ahIP/2B4VHJkaG4LnsWZ6OC3
1yEcRwzXPxM4fGk+F7MtUTPxalFvkE8PNdrHtx/ChyEUEAdejnZdNYE2scZiOVzQ
gkkwMIBQVN8xMFkzavVO0YLbOus55d6175LhPbA4WhpfHWPb9Ouvv9aMvYsOFhBi
oPC0xnEklXNYV1rdD164slks6cf8ZGgBhBhTGP0/c1Cfezgmqo86pl9PL4MjU1gl
4yT/3wH7YWfvlTSNp/Zg6vOTK2WKVq3i0NnlxsFVYavbyfzZYllS/EQA0nqkBXWV
ISPpAZFxUipBBXNw4gLPkGZJCG58pE+zi5q2kOyrgM0TilL1JzblLZDqmdnlMovm
x/v/uqzg2APkz29xvUSUn3a6zegXKf+yQ9rSbxyYH8Kjlr39P+KefDzYmoCbpbUC
HNpO0semOcn5LncPCML/Bq+HsQu6n2CHNiMkdmRcYrvZBLp6ZJXPuaEAAbksn8vr
wZT79FlypHf6pdzLOtpHL3XGyDZpZQZkLm8f3huwIiJUimyIPXg25ytzz0wkcOrh
9tH8oSy/Q7LgtBaGwNOlkErdUEGrjJrCrRIw6urr72XhbsUPo1Sn+Cv+0poBtbPm
4WjFbm7y1qTBp6dOCGmK97bt3bee8i1ovrC6ufvLwGJsDU683w3z9LVxBUbPcFia
bjOzHilZRpgR0WDQSuzXt7PK
=FZij
-----END PGP SIGNATURE-----