"Session invalid" after a few seconds (behind AWS ALB)

Moderator: crythias

Locked
mmcgrath
Znuny newbie
Posts: 2
Joined: 27 Feb 2025, 03:41
Znuny Version: 7.1
Real Name: Michael McGrath
Company: Trace First

"Session invalid" after a few seconds (behind AWS ALB)

Post by mmcgrath »

Good morning all,
I am trying Znuny for the first time and have installed 7.1 on an Ubuntu 24 EC2 instance on AWS. The server is on a private subnet (i.e. not externally routable interface) and access will be provided to users through an AWS Load Balancer (it takes care of the SSL). After I am logged in for a short period of time (ranges from 10 seconds to approx 1 minute) I am redirected to the login screen with a notice saying "Session invalid. Please log in again."

I feel this is likely something to do with being behind a LB but am not certain. Are there any docs about how to set up Znuny on an instance behind a LB/Reverse Proxy?

Thanks/Danke,
Michael.
wurzel
Znuny guru
Posts: 3270
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: "Session invalid" after a few seconds (behind AWS ALB)

Post by wurzel »

Hi,

there should be a setting something like "check remote ip" or CheckRemoteIP

You may try to disable this setting

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
mmcgrath
Znuny newbie
Posts: 2
Joined: 27 Feb 2025, 03:41
Znuny Version: 7.1
Real Name: Michael McGrath
Company: Trace First

Re: "Session invalid" after a few seconds (behind AWS ALB)

Post by mmcgrath »

Flo
many thanks - that looks like it has solved my issue!!

Many thanks/Vielen Dank, :D
Michael.
Locked