Page reload loop with 12.0.0.alpha2
See original GitHub issueAfter updating to 12.0.0.alpha2 (from 11) I’m experiencing page reload loops: the page keeps reloading indefinitely with this message in the console:
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.
I’m using the Spring addon, so I tried to reproduce this in a simple app but it doesn’t happen, so it should be something related to something specific to the app where this happens.
Any idea of what may have changed in 12 causing this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Changelog of ngx-extended-pdf-viewer - PdfShowcase
Stop the PDF viewer from crashing if the page is left before the PDF is ... 12.0.0-alpha.2 #1197 Allow programmers to clear the...
Read more >angular/router - UNPKG
* An Observable that contains a map of the query parameters available to all routes. 94, * The map supports retrieving single and...
Read more >Changelog — Python 3.11.1 documentation
gh-91719: Reload opcode when raising unknown opcode error in the interpreter main loop, for C compilers to generate dispatching code independently.
Read more >30Days - CodeSandbox
In React, however we don't have to interact with the browser's event loop in raw ... page to reload (the default function when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve found the problem: enabling PWA in 12 will install a service worker which is requested by the browser in a special way, which is not intercepted by a Chrome plugin I’m using to add headers to the requests: the service worker request was then missing an header I use to select the current tenant and the session was invalidated, thus reloading the page (and creating the loop).
I spotted this downgrading to 11 and noticing the same loop, since once installed the service worker is still requested by the browser—no matter if the
@PWA
annotation was removed!Thank you @gilberto-torrezan but I cannot reproduce on a sample code, so it should be something specific to my main app. I manage to identify the last request before the page reloads:
In the response data tab, Chrome says: “Failed to load response data”, than Vaadin’s client reloads the page (and this cycle loops).
What I notice here is the
JSESSIONID
changing without reason, I’ll double check that.