[akka-user] Re: Akka http client not responsing

2017-06-20 Thread Daniel Vigovszky
lot of boilerplate, do everyone actually do all of that each > time they need to Unmarshal a result? > > On Monday, June 19, 2017 at 8:06:37 PM UTC+2, Daniel Vigovszky wrote: >> >> Hi, make sure you catch all exceptions, for example if the unmarshaller >> dies you still hav

[akka-user] Re: Akka http client not responsing

2017-06-19 Thread Daniel Vigovszky
Hi, make sure you catch all exceptions, for example if the unmarshaller dies you still have to consume the entity. For example by putting a recoverWith case on the unmarshaller's future something like this: Unmarshal(response.entity) .to[T] .recoverWith { case reason: Throwable =>

[akka-user] Re: akka-http client: cancelling requests

2017-06-16 Thread Daniel Vigovszky
I created an issue about the topic: https://github.com/akka/akka-http/issues/1205 2017. június 9., péntek 9:10:48 UTC+2 időpontban Daniel Vigovszky a következőt írta: > > Hi all, > > Sorry for reposting this but originally I posted it as a reply in a > different thread and I real

[akka-user] akka-http client: cancelling requests

2017-06-09 Thread Daniel Vigovszky
Hi all, Sorry for reposting this but originally I posted it as a reply in a different thread and I realized that it is not really visible due to the different subject. I can't find a way to cancel a long running request, when the connection is opened but the response have not even started yet.

Re: [akka-user] akka-http client: How to ensure response entity is read

2017-06-02 Thread Daniel Vigovszky
e connection goes idle for > too long, it will be closed anyway, so attaching a `Sink.ignore()` should > be all that is needed. > > Regards, > > Roland > > 29 maj 2017 kl. 10:50 skrev Daniel Vigovszky >: > > Hi Arno, > > did you figure out anything about thi

[akka-user] Re: akka-http client: How to ensure response entity is read

2017-05-29 Thread Daniel Vigovszky
Hi Arno, did you figure out anything about this? vigoo 2017. május 18., csütörtök 7:12:37 UTC+2 időpontban Arno Haase a következőt írta: > > I am aware that response entities must always be consumed with akka-http > client. > > For (very) slow connections I find it difficult to do that reliab

Re: [akka-user] Start gradle project with IDEA annd akka

2016-10-23 Thread Daniel Vigovszky
Hi, I made an example repo for you: https://github.com/vigoo/scala-akka-gradle-example vigoo Denis S ezt írta (időpont: 2016. okt. 23., V, 9:20): > Hi, i am looking for any example how to start project properly with gradle > akka and IDEA. But can't find anything. I have empty project, may som