Session expires immediatly

I have an app using Vaadin 7.7.9, created with the Vaadin Editor

It works perfectly when put on a webServer on Http
But, when set on https, the first view is displayed, but as soon as I click anywhere I get a ‘session expired, take note of …’

Heres the client debug log (as I don’t have any error on server side)

3519ms RPC invocations to be sent to the server:
3521ms 0 (class com.vaadin.client.ui.ui.UIConnector) :
3523ms com.vaadin.shared.ui.ui.UIServerRpc.resize([1107, 1796, 1796, 1107]
)
3525ms 21 (class com.vaadin.client.ui.nativebutton.NativeButtonConnector) :
3527ms com.vaadin.shared.ui.button.ButtonServerRpc.click([LEFT,21,52,false,false,false,false,1,21,22]
)
3532ms Sending xhr message to server: {“csrfToken”:“1de11937-4e79-46c9-a6e7-35cdfcad856c”,“rpc”:[[“0”,“com.vaadin.shared.ui.ui.UIServerRpc”,“resize”,[1107,1796,1796,1107]
],[“21”,“com.vaadin.shared.ui.button.ButtonServerRpc”,“click”,[{“altKey”:false,“button”:“LEFT”,“clientX”:21,“clientY”:52,“ctrlKey”:false,“metaKey”:false,“relativeX”:21,“relativeY”:22,“shiftKey”:false,“type”:1}]
]],“syncId”:0,“clientId”:0,“wsver”:“7.7.9”}
3544ms Server visit took 11.8ms
3545ms JSON parsing took 0.1ms
3546ms Received xhr message: for(;;);[{“changes”:{},“resources”:{},“locales”:{},“meta”:{“appError”:{“caption”:“Session Expired”,“url”:null,“message”:“Take note of any unsaved data, and click here or press ESC key to continue.”,“details”:null}},“syncId”:-1}]

3546ms Response didn’t contain a server id. Please verify that the server is up-to-date and that the response data has not been modified in transmission.

does it rings a bell to someone ?

Can you show a network debug (eg. from browser)? With full list of all requests? Sounds like XHR is getting blocked (maybe: mixed content, invalid cert, some other funny things on different browsers)

Ok Here’s what I get (not sure that’s what you need …)

In fact, at first the page display, then I click on a button and the “session expired” occurs
This correspond to the line just below the second [Violation]

[Violation]
‘setTimeout’ handler took 73ms
[Violation]
Forced reflow while executing JavaScript took 64ms
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Making UIDL Request with params: {“csrfToken”:“9e547aa9-b7d8-4ed9-ab9f-475b723e4b25”,“rpc”:[[“0”,“com.vaadin.shared.ui.ui.UIServerRpc”,“resize”,[“575”,“1796”,“1796”,“575”]
],[“856”,“com.vaadin.shared.ui.button.ButtonServerRpc”,“click”,[{“ctrlKey”:false,“shiftKey”:false,“button”:“LEFT”,“type”:“1”,“metaKey”:false,“clientX”:“21”,“clientY”:“49”,“altKey”:false,“relativeX”:“21”,“relativeY”:“19”}]
]],“syncId”:1}
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Server visit took 509ms
com.vaadin.DefaultWidgetSet-0.js:5296 XHR finished loading: POST “https://itms.chargeurs-ft.com:8075/isis/planning/kanban/UIDL/?v-wsver=7.4.2&v-uiId=0”.
$x @ com.vaadin.DefaultWidgetSet-0.js:5296
Hvb @ com.vaadin.DefaultWidgetSet-0.js:5408
ewb @ com.vaadin.DefaultWidgetSet-0.js:5374
Dvb @ com.vaadin.DefaultWidgetSet-0.js:5543
Gvb @ com.vaadin.DefaultWidgetSet-0.js:5101
lxb @ com.vaadin.DefaultWidgetSet-0.js:5622
Qi @ com.vaadin.DefaultWidgetSet-0.js:4721
Hi @ com.vaadin.DefaultWidgetSet-0.js:3607
pi @ com.vaadin.DefaultWidgetSet-0.js:3272
oi @ com.vaadin.DefaultWidgetSet-0.js:4762
(anonymous) @ com.vaadin.DefaultWidgetSet-0.js:4330
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: JSON parsing took 0ms
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Handling message from server
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Handling resources from server
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Handling type inheritance map from server
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Handling type mappings from server
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Handling resource dependencies
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Handling meta information
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Creating connectors (if needed)
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Updating connector states
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Handling locales
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Updating connector hierarchy
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Running @DelegateToWidget
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Sending state change events
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Passing UIDL to Vaadin 6 style connectors
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: * Unregistered 0 connectors
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: handleUIDLMessage: 3 ms
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Starting layout phase
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Measured 0 non connector elements
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Pass 1 measured 828 elements, fired 1 listeners and did 1 layouts.
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Pass 2 measured 1 elements, fired 0 listeners and did 0 layouts.
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Did overflow fix for 1 elements
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Pass 3 measured 1 elements, fired 0 listeners and did 0 layouts.
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: No more changes in pass 4
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Total layout phase time: 129ms
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.communication.Heartbeat
INFO: Setting hearbeat interval to -1sec.
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Processing time was 146ms for 210 characters of JSON
com.vaadin.DefaultWidgetSet-0.js:5621 Fri Jul 20 09:51:44 GMT+200 2018 com.vaadin.client.VConsole
INFO: Referenced paintables: 849
[Violation]
Forced reflow while executing JavaScript took 78ms