Hi
I understand the error is linked to this configuration
http.server {
    parsing.max-method-length = 3000
    idle-timeout = 2 s
    remote-address-header = on
    max-connections = 50
  }

where I set idle-timeout = 2s what does it means. I've set this limit make 
like a gobal timeout to the request in case of the process take more than 
2s I need to respond something anyway. So may be this is not the good 
configuration ?
Thanks

On Tuesday, December 1, 2015 at 1:48:39 PM UTC+2, drewhk wrote:
>
> This is only an error if the connection was *not* idle. It is *not* a bug 
> that idle connections are closed, that was the desired behavior. The 
> original bug was that it closed the connection even if it was not idle. 
>
> Please check if the connection was not idle or not. We will likely change 
> the logging to log this at INFO.
>
> -Endre
>
> On Tue, Dec 1, 2015 at 12:43 PM, Richard Grossman <rich...@gmail.com 
> <javascript:>> wrote:
>
>> Hi
>>
>> I get the response in 20 millis
>> but I've updated to M2 and still the same error:
>>
>> [ERROR] [12/01/2015 13:40:21.516] 
>> [default-akka.actor.default-dispatcher-9] 
>> [akka.actor.ActorSystemImpl(default)] Internal server error, sending 500 
>> response
>> java.util.concurrent.TimeoutException: No elements passed in the last 2 
>> seconds.
>> at akka.stream.impl.Timers$IdleBidi$$anon$4.onTimer(Timers.scala:142)
>> at 
>> akka.stream.stage.TimerGraphStageLogic.akka$stream$stage$TimerGraphStageLogic$$onInternalTimer(GraphStage.scala:755)
>> at 
>> akka.stream.stage.TimerGraphStageLogic$$anonfun$akka$stream$stage$TimerGraphStageLogic$$getTimerAsyncCallback$1.apply(GraphStage.scala:745)
>> at 
>> akka.stream.stage.TimerGraphStageLogic$$anonfun$akka$stream$stage$TimerGraphStageLogic$$getTimerAsyncCallback$1.apply(GraphStage.scala:745)
>> at 
>> akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:355)
>> at akka.actor.Actor$class.aroundReceive(Actor.scala:480)
>> at 
>> akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:291)
>> at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
>> at akka.actor.ActorCell.invoke(ActorCell.scala:495)
>> at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
>> at akka.dispatch.Mailbox.run(Mailbox.scala:224)
>> at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
>> at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
>> at 
>> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>> at 
>> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
>> at 
>> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
>>
>> Could you tell me if it's a problem ?
>> Thanks
>>
>> On Monday, November 16, 2015 at 10:27:19 AM UTC+2, drewhk wrote:
>>>
>>> It can very well be. If the response is longer then 2 sec, this bug 
>>> might trigger.
>>>
>>> On Sun, Nov 15, 2015 at 4:28 PM, Konrad Malawski <
>>> konrad....@typesafe.com> wrote:
>>>
>>>> Hi all,
>>>> thanks for trying out the early Milestone and reporting the problem!
>>>> We believe there is a bug in how the idle timeout was added, not sure 
>>>> if that specific problem is a manifestation of it,
>>>> but we'll add more tests and fixes for idle timeouts in M2 (coming out 
>>>> soon), please keep an eye out for it.
>>>>
>>>> -- 
>>>> Cheers,
>>>> Konrad 'ktoso’ Malawski
>>>> Akka <http://akka.io> @ Typesafe <http://typesafe.com>
>>>>
>>>> On 15 November 2015 at 11:21:15, Richard Grossman (rich...@gmail.com) 
>>>> wrote:
>>>>
>>>> Thanks 
>>>> Is there any impact on serving ?
>>>>
>>>>
>>>> On Sunday, November 15, 2015 at 8:53:05 AM UTC+2, Ryan Brozo wrote: 
>>>>>
>>>>> I am also getting the exact same error in 2.0-M1. 
>>>>>
>>>>> I tried some logging using the logRequestResult directive to see which 
>>>>> requests are getting the InternalServerError. But it seems none of the 
>>>>> requests I'm making are getting a 500 status code.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>> -- 
>>>> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> >>>>>>>>>> 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 <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

Reply via email to