Session Expired

I get “Session Expired” messages on every other click in my new and pretty small Vaadin 7 application. Anyone else got similar problems?

Client debug-log:


18:45:54:385 Starting layout phase
18:45:54:387 Measured 0 non connector elements
18:45:54:387 Layout init in 1 ms
18:45:54:389   Measured 3 elements in 1 ms
18:45:54:390 Pass 1 completed in 2 ms
18:45:54:393 Did overflow fix for 1 elements  in 3 ms
18:45:54:395   Measured 1 elements in 5 ms
18:45:54:395 Pass 2 completed in 5 ms
18:45:54:396 No more changes in pass 3
18:45:54:396 Invoke post layout listeners in 0 ms
18:45:54:397 Cleaned old measured sizes in 11ms
18:45:54:399 Total layout phase time: 13ms
18:45:54:515 Starting layout phase
18:45:54:516 Measured 0 non connector elements
18:45:54:517 Layout init in 1 ms
18:45:54:520   Measured 3 elements in 3 ms
18:45:54:520 Pass 1 completed in 3 ms
18:45:54:521 Did overflow fix for 1 elements  in 0 ms
18:45:54:522   Measured 1 elements in 1 ms
18:45:54:522 Pass 2 completed in 1 ms
18:45:54:523 No more changes in pass 3
18:45:54:523 Invoke post layout listeners in 0 ms
18:45:54:524 Cleaned old measured sizes in 8ms
18:45:54:524 Total layout phase time: 8ms
18:45:54:536 Variable burst to be sent to server:
18:45:54:537 	4 (class com.vaadin.client.ui.ui.UIConnector) :
18:45:54:538 		com.vaadin.shared.ui.ui.UIServerRpc.resize([847, 1699, 1699, 847]
)
18:45:54:538 	5 (class com.vaadin.client.ui.splitpanel.HorizontalSplitPanelConnector) :
18:45:54:539 		com.vaadin.shared.ui.splitpanel.AbstractSplitPanelRpc.setSplitterPosition([508]
)
18:45:54:541 Making UIDL Request with params: f79301b9-d450-413f-ab44-f9c62711813e[["4","com.vaadin.shared.ui.ui.UIServerRpc","resize",["847","1699","1699","847"]
],["5","com.vaadin.shared.ui.splitpanel.AbstractSplitPanelRpc","setSplitterPosition",["508"]
]]
18:45:54:547 Server visit took 6ms
18:45:54:548 JSON parsing took 1ms
18:45:54:548 Handling message from server
18:45:54:548  * Handling resources from server
18:45:54:549  * Handling type inheritance map from server
18:45:54:549 Handling type mappings from server
18:45:54:551 Handling resource dependencies
18:45:54:551  * Handling locales
18:45:54:552  * Handling meta information
18:45:54:552  * Creating connectors (if needed)
18:45:54:554  * Updating connector states
18:45:54:555  * Updating connector hierarchy
18:45:54:555  * Running @DelegateToWidget
18:45:54:556  * Sending state change events
18:45:54:558  * Passing UIDL to Vaadin 6 style connectors
18:45:54:559 * Unregistered 0 connectors
18:45:54:559 handleUIDLMessage: 7 ms
18:45:54:560 Starting layout phase
18:45:54:560 Measured 0 non connector elements
18:45:54:561 Layout init in 1 ms
18:45:54:562   Measured 3 elements in 1 ms
18:45:54:562 Pass 1 completed in 1 ms
18:45:54:563 No more changes in pass 2
18:45:54:565 Invoke post layout listeners in 1 ms
18:45:54:565 Cleaned old measured sizes in 4ms
18:45:54:565 Total layout phase time: 5ms
18:45:54:566  * Dumping state changes to the console
Response:
18:45:54:570  Processing time was 23ms for 193 characters of JSON
18:45:54:570 Referenced paintables: 4

Do you have cookies enabled in your browser?

As I’m running a few different services on localhost I switched from running jetty on localhost:8089 to adding a nginx reverse proxy on port 80. Now the problem disappeared. Thanks!