Skip to content

First poll connection is cancelled after exactly 3 seconds #230

@vitobotta

Description

@vitobotta

Hi! MessageBus is mostly working for me, but for some reason the very first POST request after loading the page, is cancelled after exactly 3 seconds. Then it connects successfully but after a while, so some messages are lost.

Is this because of proxy buffering or Cloudflare? I have a particular setup in Kubernetes: my container includes Nginx in front of the Rails app (in order to use Redis for full page caching), and this Nginx is configured to disable proxy buffering as explained in the README. However, the Nginx ingress controller that accepts requests from the outside of the cluster and forwards them to the containers, is not yet configured that way. There is an annotation for the ingress that I can use to disable proxy buffering there as well, but I have yet to find out how I can have it applied to the /message-bus path only and not for every path. So I was wondering, how important is disabling proxy buffering? What can this cause if enabled?

Also, on top of all of this there is also Cloudflare... can it cause problems? Is it possible to use MessageBus with Cloudflare?

Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions