Sure thing. On Monday, July 3, 2017 at 11:07:09 AM UTC-4, [email protected] wrote: > > Thanks. That looks definitely like a bug. > Could you please open an issue against Alpakka? > > Cheers > Heiko > > > Am 03.07.2017 um 16:35 schrieb Bayarmunkh Davaadorj <[email protected] > <javascript:>>: > > Hi, > > Here are 3 scenarios I tested. > > 1. The server is unavailable, the client starts - the client is unable to > connect to the server when the server starts up. > 2. The server is available, the client connects to the server. Then the > server gets restarted before sending any message to the client - this is > where the clients is unable to reconnect to the server again. > 3. The server is available, the client connects to the server, receives > some messages. Then the server gets restarted - the client is able to > reconnect to the server. > > #3 works as expected. Do you think #1 & #2 are bugs? Any workarounds for > them? > > The client code is simple. > > EventSource(uri.withPath(Uri.Path("events")), Http().singleRequest(_), > None, 5 seconds) > .throttle(1, 500.milliseconds, 1, ThrottleMode.Shaping) > .runForeach(onEvent) > > > Thanks > > > > On Monday, July 3, 2017 at 6:18:32 AM UTC-4, [email protected] wrote: >> >> It should just work. If not, it’s a bug. >> Could you please create a simple reproducer? >> >> Thanks >> Heiko >> >> -- >> >> Heiko Seeberger >> Home: heikoseeberger.de >> Twitter: @hseeberger >> Public key: keybase.io/hseeberger >> >> >> >> Am 03.07.2017 um 07:52 schrieb Bayarmunkh Davaadorj <[email protected]>: >> >> >> Hi, >> >> I'm using Alpakka SSE https://github.com/akka/alpakka/tree/master/sse. >> What's a good way to reconnect to the server when the server gets restarted? >> >> Currently it just stays hanging. >> >> Thanks >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> >> >> > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > > >
-- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
