Login behind HTTPS load balancer goes direct to offline.html

Hi,

I’m using Vaadin 14.1.23 with spring boot 2.2.0-RELEASE.
The application is bundled into single jar file running on port 5000 (plain http)

I have a load balancer that does the HTTPS termination.

I notice if i access through https://MYDOMAIN it redirects me to offline.html after login. Even I specify the path like https://MYDOMAIN/somepath returns the same. I have to remove offline.html after login or click the same URL (w/ path) again to access the right page.

In the meanwhile, if I access through http://MYDOMAIN/somepaht, i don’t have that problem.

I wonder if anything configuration I need to tweak on my application side.
The login is done using spring security (following the tutorial examples from Vaadin)

Thanks and regards.

How does the connectivity check work? If I don’t put a HTTPS load balancer in front of the spring boot jar, everything is fine.