使用grails 2.3.0和groovy 2.1.6并按照以下设置进行操作: https://github.com/smaldini/grails-events-push/blob/master/README.md
我进入萤火虫:
Websocket failed. Downgrading to Comet and resending {"topic":"saveTodo","body":"data"}
jquery...here.js (line 2436)
Firefox can't establish a connection to the server at ws://localhost:8080/pushEvents/g-eventsbus/eventsbus?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=1.1.0.beta3&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&topics=eventsbus.
if (jQuery.browser.msie) {
jquery...here.js (line 1276)
TypeError: jQuery.browser is undefined
if (jQuery.browser.msie) {
jquery...here.js (line 1276)
The connection to ws://localhost:8080/pushEvents/g-eventsbus/eventsbus?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=1.1.0.beta3&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&topics=eventsbus was interrupted while the page was loading.
return new WebSocket(location);
似乎没有发生任何事情。
事件是否适用于此grails版本?
答案 0 :(得分:0)
因为它基于大气层。 而且我认为这不是唯一的问题。可能还存在服务器问题。