[akka-user] Re: Problem detecting Websocket failure

2016-09-29 Thread 'Alexej Haak' via Akka User List
source .viaMat( Http().webSocketClientFlow( WebSocketRequest( host + "/console") ) )(Keep.both) .alsoTo(Sink.onComplete(_ => { self ! RestartWebsocket })) .toMat(sink)(Keep.left) .run() -- >> Read the docs: http://akka.io/docs/ >>

[akka-user] Problem detecting Websocket failure

2016-09-28 Thread 'Alexej Haak' via Akka User List
Hi, I have a problem detecting a failing websocket. I already got some help inside the akka issue tracker, so thanks for getting me started there even though it was the wrong place : val source = Source.actorRef[Message](bufferSize, OverflowStrategy.fail) val flow = Flow