Grails Events Push: Internet Explorer not triggering every Event via long-polling?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
Hi there,

i was messing around with the grails events push plugin and got it working after some time. So far so good, works like a charm using firefox and chrome with grailsEvents("localhost:8080/app", {transport: 'sse'}). Since Internet explorer doenst support SSE, i tried to do it with long-polling.

It works... sometimes! Some events fired from a firefox or a chrome browser on the same machine get triggered, as i noticed: the answer from the service should not contain too much data in the map! Also: sometimes not every event is triggered by the internet explorer. I had moments, when only every 5th event was triggered correctly by the internet explorer... the other events may have been "passed" and the console logged "discarded message: [data here]".

is this a very specific problem of mine or does anyone else already had such problems with the internet explorer? Did i miss some configuration in the calling of "grailsEvent", like an lifetime or keepalive option for the Internet Explorer? I hope someone could help me out with that!

By The Way: i used the latest events push 1.0.M7 and platform-core 1.0.RC5 within my grails 2.2.4 project! If you need some code or project to reproduce the problem, just ring me up!

Dominik
Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

smaldini
Would be interested to see if 1.0.0.BUILD-SNAPSHOT does the same.


On Wed, Oct 16, 2013 at 3:50 PM, d.tamm <[hidden email]> wrote:
Hi there,

i was messing around with the grails events push plugin and got it working
after some time. So far so good, works like a charm using firefox and chrome
with grailsEvents("localhost:8080/app", {transport: 'sse'}). Since Internet
explorer doenst support SSE, i tried to do it with long-polling.

It works... sometimes! Some events fired from a firefox or a chrome browser
on the same machine get triggered, as i noticed: the answer from the service
should not contain too much data in the map! Also: sometimes not every event
is triggered by the internet explorer. I had moments, when only every 5th
event was triggered correctly by the internet explorer... the other events
may have been "passed" and the console logged "discarded message: [data
here]".

is this a very specific problem of mine or does anyone else already had such
problems with the internet explorer? Did i miss some configuration in the
calling of "grailsEvent", like an lifetime or keepalive option for the
Internet Explorer? I hope someone could help me out with that!

By The Way: i used the latest events push 1.0.M7 and platform-core 1.0.RC5
within my grails 2.2.4 project! If you need some code or project to
reproduce the problem, just ring me up!

Dominik



--
View this message in context: http://grails.1312388.n4.nabble.com/Grails-Events-Push-Internet-Explorer-not-triggering-every-Event-via-long-polling-tp4650373.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





--
Stéphane
--

Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

zyro
In reply to this post by d.tamm
that behavior sounds like you did not configure a broadcaster cache for
atmosphere, did you?

zyro

-------- Original Message  --------
Subject: [grails-user] Grails Events Push: Internet Explorer not
triggering every Event via long-polling?
From: d.tamm <[hidden email]>
To: [hidden email]
Date: Wed, 16 Oct 2013 07:50:11 -0700 (pdt)

> Hi there,
>
> i was messing around with the grails events push plugin and got it working
> after some time. So far so good, works like a charm using firefox and chrome
> with grailsEvents("localhost:8080/app", {transport: 'sse'}). Since Internet
> explorer doenst support SSE, i tried to do it with long-polling.
>
> It works... sometimes! Some events fired from a firefox or a chrome browser
> on the same machine get triggered, as i noticed: the answer from the service
> should not contain too much data in the map! Also: sometimes not every event
> is triggered by the internet explorer. I had moments, when only every 5th
> event was triggered correctly by the internet explorer... the other events
> may have been "passed" and the console logged "discarded message: [data
> here]".
>
> is this a very specific problem of mine or does anyone else already had such
> problems with the internet explorer? Did i miss some configuration in the
> calling of "grailsEvent", like an lifetime or keepalive option for the
> Internet Explorer? I hope someone could help me out with that!
>
> By The Way: i used the latest events push 1.0.M7 and platform-core 1.0.RC5
> within my grails 2.2.4 project! If you need some code or project to
> reproduce the problem, just ring me up!
>
> Dominik
>
>
>
> --
> View this message in context: http://grails.1312388.n4.nabble.com/Grails-Events-Push-Internet-Explorer-not-triggering-every-Event-via-long-polling-tp4650373.html
> Sent from the Grails - user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
In reply to this post by smaldini
i will try the 1.0.0 Build Snapshot asap stéphane, will give feedback afterwards!

@zyro: i made my first attempts after one tutorial, and i havent found a broadcaster cache for atmosphere till now. any hints on this one from you?

Dominik
Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

zyro
try adding these lines to your Config.groovy:

events.push.servlet.initParams = [
        "org.atmosphere.cpr.broadcasterCacheClass":
"org.atmosphere.cache.UUIDBroadcasterCache"
]

what which cache does and why uuid is recommended is described in the
atmosphere ref docs / wiki

zyro

-------- Original Message  --------
Subject: [grails-user] Re: Grails Events Push: Internet Explorer not
triggering every Event via long-polling?
From: d.tamm <[hidden email]>
To: [hidden email]
Date: Thu, 17 Oct 2013 05:35:38 -0700 (pdt)

> i will try the 1.0.0 Build Snapshot asap stéphane, will give feedback
> afterwards!
>
> @zyro: i made my first attempts after one tutorial, and i havent found a
> broadcaster cache for atmosphere till now. any hints on this one from you?
>
> Dominik
>
>
>
> --
> View this message in context: http://grails.1312388.n4.nabble.com/Grails-Events-Push-Internet-Explorer-not-triggering-every-Event-via-long-polling-tp4650373p4650427.html
> Sent from the Grails - user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

zyro
and, btw, if you try 1.0.0 snap there is no need to configure the cache
as it is default by now. right stephane? :)

-------- Original Message  --------
Subject: Re: [grails-user] Re: Grails Events Push: Internet Explorer not
triggering every Event via long-polling?
From: zyro <[hidden email]>
To: [hidden email]
Date: Thu, 17 Oct 2013 16:02:09 +0200

> try adding these lines to your Config.groovy:
>
> events.push.servlet.initParams = [
> "org.atmosphere.cpr.broadcasterCacheClass":
> "org.atmosphere.cache.UUIDBroadcasterCache"
> ]
>
> what which cache does and why uuid is recommended is described in the
> atmosphere ref docs / wiki
>
> zyro
>
> -------- Original Message  --------
> Subject: [grails-user] Re: Grails Events Push: Internet Explorer not
> triggering every Event via long-polling?
> From: d.tamm <[hidden email]>
> To: [hidden email]
> Date: Thu, 17 Oct 2013 05:35:38 -0700 (pdt)
>
>> i will try the 1.0.0 Build Snapshot asap stéphane, will give feedback
>> afterwards!
>>
>> @zyro: i made my first attempts after one tutorial, and i havent found a
>> broadcaster cache for atmosphere till now. any hints on this one from you?
>>
>> Dominik
>>
>>
>>
>> --
>> View this message in context: http://grails.1312388.n4.nabble.com/Grails-Events-Push-Internet-Explorer-not-triggering-every-Event-via-long-polling-tp4650373p4650427.html
>> Sent from the Grails - user mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
In reply to this post by smaldini
Hmm i cant even start my app with 1.0.0.BUILD-SNAPSHOT, gettin about 40 Errors...:

C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\grails\events\GrailsEventsAware.java:3: error: package org.grails.plugins.events.reactor.api does not exist
import org.grails.plugins.events.reactor.api.EventsApi;
                                            ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\grails\events\GrailsEventsAware.java:10: error: cannot find symbol
    void setGrailsEvents(EventsApi grailsEvents);
                         ^
  symbol:   class EventsApi
  location: interface GrailsEventsAware
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BridgeWSListener.java:6: error: package org.grails.plugins.events.reactor.api does not exist
import org.grails.plugins.events.reactor.api.EventsApi;
                                            ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BridgeWSListener.java:15: error: cannot find symbol
        private EventsApi grailsEvents;
                ^
  symbol:   class EventsApi
  location: class BridgeWSListener
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BridgeWSListener.java:17: error: cannot find symbol
        public void setGrailsEvents(EventsApi events) {
                                    ^
  symbol:   class EventsApi
  location: class BridgeWSListener
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:5: error: package reactor.event does not exist
import reactor.event.Event;
                    ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:6: error: package reactor.event.selector does not exist
import reactor.event.selector.Selector;
                             ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:7: error: package reactor.function does not exist
import reactor.function.Consumer;
                       ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:9: error: cannot find symbol
public class BroadcastEventConsumer implements Consumer<Event<?>> {
                                               ^
  symbol: class Consumer
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:9: error: cannot find symbol
public class BroadcastEventConsumer implements Consumer<Event<?>> {
                                                        ^
  symbol: class Event
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:13: error: cannot find symbol
        private Selector    selector;
                ^
  symbol:   class Selector
  location: class BroadcastEventConsumer
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:15: error: cannot find symbol
        public BroadcastEventConsumer(final Selector selector, final Broadcaster b, final Closure broadcastClientFilter) {
                                            ^
  symbol:   class Selector
  location: class BroadcastEventConsumer
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:26: error: cannot find symbol
        public void accept(Event<?> message) {
                           ^
  symbol:   class Event
  location: class BroadcastEventConsumer
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastSignal.java:4: error: package reactor.event does not exist
import reactor.event.Event;
                    ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastSignal.java:5: error: package reactor.event.selector does not exist
import reactor.event.selector.Selector;
                             ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastSignal.java:9: error: cannot find symbol
        final Selector selector;
              ^
  symbol:   class Selector
  location: class BroadcastSignal<T>
  where T is a type-variable:
    T extends Object declared in class BroadcastSignal
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastSignal.java:10: error: cannot find symbol
        final Event<T> eventMessage;
              ^
  symbol:   class Event
  location: class BroadcastSignal<T>
  where T is a type-variable:
    T extends Object declared in class BroadcastSignal
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastSignal.java:13: error: cannot find symbol
        public BroadcastSignal(Selector selector, Event<T> message, boolean eventMessageType, Closure broadcastClientFilter) {
                               ^
  symbol:   class Selector
  location: class BroadcastSignal<T>
  where T is a type-variable:
    T extends Object declared in class BroadcastSignal
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastSignal.java:13: error: cannot find symbol
        public BroadcastSignal(Selector selector, Event<T> message, boolean eventMessageType, Closure broadcastClientFilter) {
                                                  ^
  symbol:   class Event
  location: class BroadcastSignal<T>
  where T is a type-variable:
    T extends Object declared in class BroadcastSignal
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:30: error: package org.grails.plugins.events.reactor.api does not exist
import org.grails.plugins.events.reactor.api.EventsApi;
                                            ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:34: error: package reactor.event does not exist
import reactor.event.Event;
                    ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:35: error: package reactor.event.selector does not exist
import reactor.event.selector.Selector;
                             ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:36: error: package reactor.event.selector does not exist
import reactor.event.selector.Selectors;
                             ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:37: error: package reactor.function does not exist
import reactor.function.Consumer;
                       ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:38: error: package reactor.function.support does not exist
import reactor.function.support.CancelConsumerException;
                               ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:39: error: package reactor.groovy.config does not exist
import reactor.groovy.config.ReactorBuilder;
                            ^
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:67: error: cannot find symbol
        private EventsApi          grailsEvents;
                ^
  symbol:   class EventsApi
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:108: error: cannot find symbol
        protected void defineBridgeListener(GrailsApplication application, EventsApi grailsEvents) {
                                                                           ^
  symbol:   class EventsApi
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:200: error: cannot find symbol
        private String jsonify(Event<?> message, Object key) {
                               ^
  symbol:   class Event
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\BroadcastEventConsumer.java:21: error: cannot find symbol
                        this.eventMessageType = Event.class.isAssignableFrom(broadcastClientFilter.getParameterTypes()[0]);
                                                ^
  symbol:   class Event
  location: class BroadcastEventConsumer
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:94: error: cannot find symbol
                                grailsEvents = applicationContext.getBean(EventsApi.class);
                                                                          ^
  symbol:   class EventsApi
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:141: error: cannot find symbol
                Collection<ReactorBuilder> pushBuilders =
                           ^
  symbol:   class ReactorBuilder
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:146: error: cannot find symbol
                Selector selector;
                ^
  symbol:   class Selector
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:150: error: cannot find symbol
                for (ReactorBuilder pushBuilder : pushBuilders) {
                     ^
  symbol:   class ReactorBuilder
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:175: error: cannot find symbol
                                        selector = Selector.class.isAssignableFrom(key.getClass()) ?
                                                   ^
  symbol:   class Selector
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:176: error: cannot find symbol
                                                        (Selector) key :
                                                         ^
  symbol:   class Selector
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:177: error: cannot find symbol
                                                        Selectors.$(key);
                                                        ^
  symbol:   variable Selectors
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:181: error: cannot find symbol
                                                pushBuilder.get().on(Selectors.$(topic), new Consumer<Event<?>>() {
                                                                     ^
  symbol:   variable Selectors
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:181: error: cannot find symbol
                                                pushBuilder.get().on(Selectors.$(topic), new Consumer<Event<?>>() {
                                                                                             ^
  symbol:   class Consumer
  location: class EventsPushHandler
C:\Users\ta\.grails\2.2.4\projects\polling\plugins\events-push-1.0.0.BUILD-SNAPSHOT\src\java\org\grails\plugin\platform\events\push\EventsPushHandler.java:181: error: cannot find symbol
                                                pushBuilder.get().on(Selectors.$(topic), new Consumer<Event<?>>() {
                                                                                                      ^
  symbol:   class Event
  location: class EventsPushHandler
40 errors
Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
This post was updated on .
In reply to this post by zyro
EDIT: hmm, seems like this one doenst solve my problem. i just played around some time with those new configurations and my interent explorer still does not want to get every message i am sending (even not his own message, he is sending), though a broadcaster cache is configured...

@stephane: is there any further information you need of my stack trace for the error messages? when can i be able to test a new 1.0.0.BUILD-SNAPSHOT release?

Dominik
Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
In reply to this post by d.tamm
hey,

it doenst seem that this tutorial on https://github.com/smaldini/grails-events-push doenst seem to work for me... i tried around, like descriped and i cant get it working... too bad! is the tutorial information out of date? i also tried to get all information from the grailsTodos application, but wasnt compiling and (after i got it compiling) not working for me. any help?

dominik
Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

smaldini
The documentation is not up-to-date with the snapshot version, try to revert to 1.0M7 if you can. Sorry for the inconvenience, the master is not fully ready to shine (actually struggling on some bits with binary websocket streaming, and some reactor integration).


On Wed, Oct 23, 2013 at 8:49 AM, d.tamm <[hidden email]> wrote:
hey,

it doenst seem that this tutorial on
https://github.com/smaldini/grails-events-push
<https://github.com/smaldini/grails-events-push>   doenst seem to work for
me... i tried around, like descriped and i cant get it working... too bad!
is the tutorial information out of date? i also tried to get all information
from the grailsTodos application, but wasnt compiling and (after i got it
compiling) not working for me. any help?

dominik



--
View this message in context: http://grails.1312388.n4.nabble.com/Grails-Events-Push-Internet-Explorer-not-triggering-every-Event-via-long-polling-tp4650373p4650689.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email





--
Stéphane
--

Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
Hi stéphane,

thanks for the quick answer. As described, the 1.0.M7 seems to be (though i set up an broadcaster cache in the config.groovy) not to work well with the internet explorer... thats why it is really hard to put it into my application for production use at my customers (at least for the moment). i will try to work a bit around with the 1.0.M7 and maybe with the latest js-files of the events and atmosphere (jquery). maybe that could help me out.

but it would be a really nice thing, if the documentation gets updated in the near future, so i could give the latest version a new try :)

dominik
Reply | Threaded
Open this post in threaded view
|

Re: Grails Events Push: Internet Explorer not triggering every Event via long-polling?

d.tamm
Okay, seems like i got it working for now, a bit tricky (imo) though: i took the nearly latest jquery.atmosphere.js from your grails-events-push git and put it into the events-push-1.0.M7/web-app/js/atmosphere/ folder, now it even seems to work with the IE and SSE (i think that's some kind of fallback to another technologie here, but it works quite well for now).

but it would be great, if you could do a new build of the events push plugin :)

dominik