Hi,
I have a issue with push notification (Liferay 6.2/Wildfly 10). When I add @Push(transport=Transport.WEBSOCKET_XHR), on servlet load in chrome inspector I get:
WebSocket connection to ‘ws://pippo.it:7040/group/guest/filedashboard?p_p_id=FileDashboard_WAR_PIPPO_CustomerManagement_INSTANCE_LhzB96Pez7wZ&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=APP&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=3&_FileDashboard_WAR_PIPPO_CustomerManagement_INSTANCE_LhzB96Pez7wZ_v-resourcePath=%252FPUSH&v-uiId=0&v-pushId=86496d2c-f245-4c93-a39c-379fbe9d4dd0&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.3.2.vaadin1-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&Content-Type=application/json;%20charset=UTF-8&X-atmo-protocol=true’ failed: Error during WebSocket handshake: Unexpected response code: 404
vaadinPush.debug.js?v=8.4.1:3259 Websocket closed, reason: Connection was closed abnormally (that is, with no close frame being sent). - wasClean: false
I’ve added in Wildfly Server:
- vaadin-push.jar and atmosphere-framework.jar in WEB-INF/lib
- extracted VAADIN folder from vaadin-push.jar in html/VAADIN
and vaadin-push and atmosphere-runtime in my pom.xml
Any suggestion?
Thx!