Skip to main content
OPS LIVE NODEFLOW DIAGNOSTICS // FLOWISEAI & LANGFLOW BASELINE: 2026-10-21 | V8 HEAP + REDIS QUEUE MODE + MAKE HYBRID
FlowiseAgent
FlowiseAgent Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Error Diagnostics // NodeFlow Diagnostics

Nginx & Cloudflare 524 Timeout on Agent Streaming

Even when an agent streams tokens, reverse proxy response buffering holds output in memory—causing Cloudflare to return 524 after 100 seconds of apparent silence.

Measured Stack Telemetry & Memory Profile

By default, Nginx buffers upstream SSE chunks until its buffer fills, hiding streaming progress from downstream proxies and clients. Disabling proxy_buffering and enabling chunked transfer encoding flushes tokens immediately, while Make.com handles non-interactive background webhooks.

Subsystem / SignalMeasured TargetOperational Impact
Nginx Buffering OnBuffer stalls SSE -> 524Client sees zero bytes until chain finishes
proxy_buffering off + SSEFirst token < 1.2sKeeps Cloudflare edge socket alive
Async Make.com OffloadZero browser timeoutIdeal for batch doc pipelines & cron runs

Step-by-Step Triage & Config Remediation

  1. Disable proxy buffering in Nginx: Add proxy_buffering off; proxy_cache off; and X-Accel-Buffering: no on /api/v1/prediction routes.
  2. Enable HTTP/1.1 WebSocket & SSE: Set proxy_http_version 1.1 and clear Connection header for SSE or pass Upgrade for Socket.IO.
  3. Offload batch triggers to Make.com: Never wait synchronously in an HTTP request for 500+ page ingestion; trigger via Make.com webhooks.
location / {
  proxy_pass http://127.0.0.1:3000;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
  proxy_buffering off;
  proxy_read_timeout 300s;
}

Diagnostic FAQ

Why does Socket.IO disconnect in Flowise behind Nginx?

Missing Upgrade and Connection headers on the reverse proxy block WebSocket upgrades used for real-time agent status.

Can Make.com trigger Flowise prediction APIs safely?

Yes. Make.com HTTP modules support configurable timeouts and retry backoffs without blocking user-facing web pages.

Related Error Diagnostics Guides

FlowiseAgent: Size V8 heap & Redis workers before deploying Claim 10k Free Ops