Hello,
It seems that the heartbeat is ignored by my UI and so that the session expires after the configured session timeout delay.
For my tests, I have configured my app with short timeout and heartbeat to be easily tested. I use the following conf (in the web.xml file)
<session-config>
<session-timeout>2</session-timeout> <!-- in minutes = 4h -->
</session-config>
<context-param>
<description>Vaadin production mode</description>
<param-name>productionMode</param-name>
<param-value>false</param-value><!-- Issues with style.css sass compiler while in production mode -->
</context-param>
<context-param>
<param-name>heartbeatInterval</param-name>
<param-value>60</param-value><!-- in seconds -->
</context-param
When I consult the tomcat access log, I can see the heartbeat calls each minutes
0:0:0:0:0:0:0:1 - - [10/juin/2016:08:49:42 +0200]
"POST /HubUI/HEARTBEAT/?v-uiId=0 HTTP/1.1" 200 - "https://mcmcmwks075.efgz.efg.corp:8443/HubUI/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0"
0:0:0:0:0:0:0:1 - - [10/juin/2016:08:50:42 +0200]
"POST /HubUI/HEARTBEAT/?v-uiId=0 HTTP/1.1" 200 - "https://mcmcmwks075.efgz.efg.corp:8443/HubUI/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0"
0:0:0:0:0:0:0:1 - - [10/juin/2016:08:51:42 +0200]
"POST /HubUI/HEARTBEAT/?v-uiId=0 HTTP/1.1" 200 - "https://mcmcmwks075.efgz.efg.corp:8443/HubUI/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0"
0:0:0:0:0:0:0:1 - - [10/juin/2016:08:52:42 +0200]
"POST /HubUI/HEARTBEAT/?v-uiId=0 HTTP/1.1" 410 1090 "https://mcmcmwks075.efgz.efg.corp:8443/HubUI/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0"
As you can see, after 2 minutes of inactivity (or a little bit more), I got a session Expired in the browser UI and the heartbeat got a HTTP 410 “Gone”.
I am using a filter with waffle (http://dblock.github.io/waffle/) to make Windows SSO.
I have looked for similar issues but found nothing.
Does somebody have a guess to help me identify the source of my problem.
Thanks a lot for your help