We have a service that sends server sent events to connected clients. This service is deployed to GCE and is placed behind a Google Cloud HTTP Load Balancer. The problem is that the connection is terminated after about 30 seconds. This was never a problem when we ran behind nginx. In curl it looks like this:
ping:
ping:
ping:
ping:
ping:
ping:
ping:
curl: (18) transfer closed with outstanding read data remaining
Is there anyway to increase the LB termination timeout or disabling it altogether? I've tried searching the docs but I can't seem to find anything regarding this topic.
/Johan