These are chat archives for chandu0101/scalajs-react-components

10th
Mar 2016
elyphas
@elyphas
Mar 10 2016 00:03 UTC
:) done
Øyvind Raddum Berg
@oyvindberg
Mar 10 2016 00:32 UTC
Oh well @dozed , youre setting that up in render? It would make sense its infinite if every render triggers a new render due to state update
Got it working, @elyphas ?
elyphas
@elyphas
Mar 10 2016 15:13 UTC
@oyvindberg ; yes thanks
Roberto Leibman
@rleibman
Mar 10 2016 20:45 UTC
Hey.... working on an akka-http project that uses websockets. I use handleWebSocketMessages. After a minute I get an error and the websocket connection gets closed. The error is:
''
root [ERROR] [03/10/2016 12:36:31.558] [akka-spray-akka.actor.default-dispatcher-135] [akka://akka-spray/user/StreamSupervisor-0/flow-165-0-unknown-operation] Error in stage [recover]: No elements passed in the last 1 minute. (akka.http.impl.engine.HttpConnectionTimeoutException)
root [DEBUG] [03/10/2016 12:36:31.558] [akka-spray-akka.actor.default-dispatcher-135] [akka://akka-spray/user/StreamSupervisor-0/flow-165-0-unknown-operation] Aborting tcp connection because of upstream failure: No elements passed in the last 1 minute.
root akka.stream.impl.Timers$IdleTimeoutBidi$$anon$4.onTimer(Timers.scala:147)
root akka.stream.stage.TimerGraphStageLogic.akka$stream$stage$TimerGraphStageLogic$$onInternalTimer(GraphStage.scala:1125)
root akka.stream.stage.TimerGraphStageLogic$$anonfun$akka$stream$stage$TimerGraphStageLogic$$getTimerAsyncCallback$1.apply(GraphStage.scala:1114)
root akka.stream.stage.TimerGraphStageLogic$$anonfun$akka$stream$stage$TimerGraphStageLogic$$getTimerAsyncCallback$1.apply(GraphStage.scala:1114)
root akka.stream.impl.fusing.GraphInterpreter.runAsyncInput(GraphInterpreter.scala:564)
root akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:397)
root akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:547)
root akka.actor.Actor$class.aroundReceive(Actor.scala:480)
root akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:493)
root akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
root akka.actor.ActorCell.invoke(ActorCell.scala:495)
root akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
root akka.dispatch.Mailbox.run(Mailbox.scala:224)
root akka.dispatch.Mailbox.exec(Mailbox.scala:234)
root scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
root scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
root scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
root scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Is this expected behavior? Do I need to do anything in the client to keep the session alive?
Roberto Leibman
@rleibman
Mar 10 2016 20:56 UTC
Oops, posted this in the wrong group!
And it's too late to delete it. Please ignore.