Skip to content

Instantly share code, notes, and snippets.

View Pyppe's full-sized avatar

Pyry-Samuli Lahti Pyppe

View GitHub Profile
@Pyppe
Pyppe / Notes.md
Last active October 19, 2018 11:40

So we have a server running on localhost:8080.

  • Calling it with curl 'localhost:8080/foo/ping' works fine, and no timeouts are shown.
  • If I open the page in Chrome however, I get the response fine, but after timeout-threshold (2 sec in this example) the logs get a lot of errors:
    • EDIT: If I use Chrome's Incognito mode; no timeouts errors then
[info] java.util.concurrent.TimeoutException: Timeout of 2 seconds triggered. Killing pipeline.
[info] 	at org.http4s.blaze.pipeline.stages.TimeoutStageBase$$anon$1.run(TimeoutStageBase.scala:29)
[info] 	at org.http4s.blaze.util.Execution$$anon$3.execute(Execution.scala:66)