Clean install session error

Hello,

I’m trying to install Emoncms, i tried emonSD-01Feb24, emonSD-20Nov23 and clean install Rasbian with emonscript.

Everywhere i get same issue. After registering and logining in it logs me out. Session is not holding.

What is wrong with it?

What hardware?

Sorry, Raspberry Pi 4.

I found something:
I changed in /etc/apache2/sites-enabled/emoncms.conf servername to one of my domain and install certbot.

On https it is working without problem.