for(;;);[{"resources":{},"locales":[],"meta":{"appError":{"url":"/MyProject

Hi,

I am facing a small issue with a Vaadin Project that i created. Every time the session expires, I redirect the page to a html file which shows that the session has expired and contains a link which should re-direct the page back to the Project page.
But, When the page is redirected from the session expired html page, I get the following error in my browser,

for(;;);[{“resources”:{},“locales”:
,“meta”:{“appError”:{“url”:“/MyProject/VAADIN/SessionExpired.html”}},“changes”:}]

and “UIDL/?UIid=0” is being appended to my URL in the browser. Once i remove this and refresh my browser, my Project page is displayed correctly.
Can anyone tell me why this happens?

Thanks,
Daniccan VP

Hello,

We noticed the same issue. The URL looks like this:

https://the-host/?v-r=uidl&v-uiId=0

and the browser shows following content:

for(;;);[{"meta":{"sessionExpired":true}}]

Page refresh does not help. The browser content changes something like this after the first refresh:

for(;;);[{"syncId":30,"clientId":26,"timings":[404,0]
}]

After removing the ‘?v-r=uidl&v-uiId=0’ in the URL the page loads correct.

Any info or link to a ticket would be welcome.

We are using Vaadin 14.4 and Spring Boot with Spring Security.

Thanks