Re: [akka-user] Akka-Http - Multipart file upload - SubscriptionTimeoutException

2017-08-29 Thread Konrad “ktoso” Malawski
Please ask in one spot at the same time - it’s difficult to track and match all the questions-that-already-were-answered.. Please also include code when asking such questions - I have to *guess* that you used the fileUpload directive, but that’s not the only way to handle uploads, so we’re left

[akka-user] Akka-Http - Multipart file upload - SubscriptionTimeoutException

2017-08-29 Thread Andres Blanco
Hi everyone, We developed some code that executes a file upload, it was working fine for some test but it suddenly started failing with bigger file sizes ( > 120kb). It throws this exception: akka.stream.impl.SubscriptionTimeoutException: Substream Source has not been materialized in 5000

Re: [akka-user] New In Akka

2017-08-29 Thread ags
Official doc's are a good starting place: http://akka.io/docs/ On 24 Aug 2017 10:38, "VARUN KUMAR" wrote: Hiii I am java developer and new in akka. Please anyone tell me where I will start learning akka. Thank You in advance --

[akka-user] Re: Akka-HTTP creating a directive to create a unique request id?

2017-08-29 Thread Jeremy Townson
Because the uuid does not depend on the request in any way, you can map a directive called 'pass' (pass is a a sort of identity directive that does nothing). e.g. "directive" should "generate a uuid" in { import akka.http.scaladsl.server.Directives.pass val uuid =

[akka-user] Re: How to custom handle endpoints in Akka-HTTP DSL?

2017-08-29 Thread Jeremy Townson
Hi, >> If the JSON fails to decode to a FOO, the system sends back an error to the HTTP request but I don't have control over the content of that error or the HTTP response code For this, I would start by looking at the 'customizing rejection handling' section in