[akka-user][deprecated] Re: [akka-user] Re: akka-http web socket issue

2018-08-14 Thread vauldex . eblangga
I will re-open this issue because I am having problems regarding `s2.ripple.com`'s reply. I was able to connect using either `webSocketClientFlow` and `singleWebSocketRequest`. Having code block as my outgoing message: ``` val outgoing: Source[TextMessage.Streamed, NotUsed] =

Re: [akka-user] Re: akka-http web socket issue

2016-07-21 Thread Konrad Malawski
Yes it works. What's wrong about Streamed? That's a feature that it's streaming the data – consume it using the dataBytes contained in the Streamed message. -- Konrad `ktoso` Malawski Akka @ Lightbend On 21 July 2016 at 10:45:03, allobi...@gmail.com

[akka-user] Re: akka-http web socket issue

2016-07-21 Thread allobiano
does this work when receiving large json data..? i have problem receiving large json data because sometimes it returns TextMessage.Streamed instead of TextMessage.Strict and another issue is when connecting to wss://s2.ripple.com:443 i can't connect using this url but can connect to other

[akka-user] Re: akka-http web socket issue

2016-07-21 Thread allobiano
does this work when receiving large json data ? On Thursday, July 7, 2016 at 6:34:02 AM UTC+8, Eric Swenson wrote: > > I wrote a simple python client: > > $ cat ws-test.py > import os > from websocket import create_connection > > eiid=os.getenv("EIID") > token=os.getenv("BEARER_TOKEN") >

Re: [akka-user] Re: akka-http web socket issue

2016-07-11 Thread Akka Team
I have created a ticket for updating the docs about the client example mentioned: https://github.com/akka/akka/issues/20938 As always, contributions are welcome! -- Johan On Thu, Jul 7, 2016 at 7:42 PM, Eric Swenson wrote: > Thanks, Giovanni. That was precisely the problem

[akka-user] Re: akka-http web socket issue

2016-07-07 Thread Eric Swenson
Thanks, Giovanni. That was precisely the problem and while I didn't see the article you quoted, I "fixed" the problem on my end by having my client use a Source.fromFuture of a promise which I didn't complete. I'll switch to using the approach in the article you referenced. Still, I think

[akka-user] Re: akka-http web socket issue

2016-07-07 Thread Giovanni Alberto Caporaletti
Are you keeping the outbound client flow open? http://doc.akka.io/docs/akka/2.4.7/scala/http/client-side/websocket-support.html#Half-Closed_WebSockets On Thursday, 7 July 2016 00:34:02 UTC+2, Eric Swenson wrote: > > I wrote a simple python client: > > $ cat ws-test.py > import os > from

[akka-user] Re: akka-http web socket issue

2016-07-06 Thread Eric Swenson
I wrote a simple python client: $ cat ws-test.py import os from websocket import create_connection eiid=os.getenv("EIID") token=os.getenv("BEARER_TOKEN") header="Authorization: Bearer %s" % token ws = create_connection("ws://localhost:9000/ws-connect/%s" % eiid, header=[header]) while True: