https://kotlinlang.org logo
#ktor
Title
# ktor
j

jeggy

06/17/2020, 10:09 AM
I'm getting this error
Cannot read from a servlet input stream
, only somtimes and only in production. Anyone know how to pin point what's causing this? I can see that if I dig down into the exception it also says this:
Idle timeout expired: 30000/30000 ms
. When this occurs, it will keep occuring for about 50% of all requests for an hour or so and doesn't seem like it's anything specific for my implemented routes. Shutting down the service and starting it up doesn't seem to fix it either.
👀 1
I'm hosting this in a Docker Swarm environment and using Traefik as a reverse proxy.
4 Views