akka-http websocket client example is not working (400 Bad Request)

58 views
Skip to first unread message

Igor Kuzminskyy

unread,
Jun 23, 2017, 6:49:21 AM6/23/17
to Akka User List
Hi,

I'm a beginner in both akka-streams and akka-http libraries. I'm attempting to improve my understanding by running and experimenting with examples in akka documentation on websocket. Neither one from http://doc.akka.io/docs/akka-http/current/scala/http/client-side/websocket-support.html (listed under webSocketClientFlow and singleWebSocketRequest sections) is properly working and both result in 400 Bad Request.
Both examples use ws://echo.websocket.org which I can perfectly connect to using Chrome browser extension.

Can anybody suggest me why it might not work?

thank you!

Martynas Mickevičius

unread,
Jun 26, 2017, 1:58:58 AM6/26/17
to Akka User List
Hi,

what exactly are you trying to run?

Does running docs/testOnly *.WebSocketClientExampleSpec in SBT complete successfully?

--
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages