AgentAPI Issues
Hey guys, my claude-code templates suddenly stopped working after updating to 3.1.0
I'm getting 524 on AgentAPI /events route
/status route is stable
Not sure when this problem started, i
ve changed a lot of templates the last few days, but this flow was working perfectly fine
i'll check my traefik/cloudfare tunnels config, but i dont remember changing configs related to that (all workspaces still working just fine, with subdomain)
Template: https://gist.github.com/gojnimer6553/2b4a667b7c72e8b9d655eac21a3c41f2
Have someone faced some problem like that?

8 Replies
I`ve noticed that my agentApi is not running over subdomains (as the default is subdomain = false), but even changing that still the same problem


Maybe traefik/cloudfare messing up with SSE?
request headers seems fine

Found the issue, was on traefik middlewares, i have a chunking middleware that i've tried to use before for fix (coder template push) that don`t work for me
@35C4n0r when you get a chnace to look at it
By now the issue is solved, disabling the middleware worked
But this coder template push issue i was not able to solve, my setup is server HTTP > traefik http>https > cloudfare tunnels
probably traefik don`t handle or reject the files that the CLI tries to upload