Our application uses @Push to push data from the server to client - following the Vaadin best practices.
This has been implemented for some time and generally works as intended.
We have had some reports that occasionally the UI is not updating, but we have not been able to replicate or diagnose the issue.
The server is now in a consistent state where push is failing every time - the behavior is 13 failure messages each around 5 second apart before what I assume is a switch to long-polling before the pushed data appears on the UI.
The infrastructure is a Nginx server reverse proxying to the Java server - again this has been in place for some time and works correctly most of the time.
I am aware you can use UI.getCurrent().getPushConfiguration() to tweak the retry attempts / timeout - but what could be causing this?
Anything I can do to diagnose further while the server is in this state?
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=0' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
vaadinPush-min.js?v=…76c5c4f6c3015b39e:1 WebSocket connection to 'wss://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15b-…json;%20charset=UTF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=8' failed: Error during WebSocket handshake: Unexpected response code: 501
console.js:36 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
VM78:904
GET https://redacted/VAADIN/push?v-r=push&v-uiId=1&v-pushId=8f2967f7-f15…TF-8&X-atmo-protocol=true&X-Vaadin-LastSeenServerSyncId=10&_=1737472990038 net::ERR_QUIC_PROTOCOL_ERROR 200 (OK)