[Bug]: T3 Connect webhook POST from Muse receives HTTP 403 / error 1010 #20960
Before submitting#
- I searched existing issues and did not find a matching report.
- I included the observed request timing and response for investigation.
Area#
Not sure. T3 Connect relay / webhook ingress.
Steps to reproduce#
This is one observed failure, not a repeated reproduction. T3 Connect was enabled, and an enabled native webhook automation was bound to an existing thread. Muse sent one JSON POST to the generated webhook URL using Python's standard urllib.request client, with Content-Type: application/json and a body containing only a synthetic capture_id. The URL and token are omitted.
Expected behavior#
The legitimate POST reaches the existing webhook automation and starts or queues its thread turn.
Actual behavior#
The client received HTTP 403 with the body "error code: 1010". No webhook-triggered turn appeared, and the automation's last-run status remained "never". The webhook and automatic sender were then paused. The same task remains paused; no replacement was created.
Impact#
Major degradation: automatic Muse-to-T3 capture delivery is unavailable. A separate existing inbox workflow remains usable. This report does not claim ordinary device access through T3 Connect is broken.
Version or commit#
T3 Code 0.1.1-nightly.20261017.3238.
Environment#
T3 desktop host: macOS 26.6.2, build 25G83. Sender: Muse using Python urllib.request; exact sender Python version was not retained.
Logs or stack traces#
POST started: 2026-10-17T14:34:38.244Z POST completed: 2026-10-17T14:35:05.791Z HTTP status: 403 Response body: error code: 1010 Response Date: Sat, 17 Oct 2026 14:35:06 GMT CF-Ray and Server response headers: not retained
Cloudflare documents error 1010 as a client/browser-signature denial. The exact cause for this request is unconfirmed. Could the relay operator check this time window and identify the rejecting rule, or provide the supported remedy for this sender?
Workaround#
No webhook workaround attempted. No alternate client, spoofed headers, replacement tunnel or repeated POSTs. The generated bearer URL, environment/thread identifiers and private capture content are excluded from this report. Please identify a private support channel if additional identifying evidence is needed.
juliusmarminge added labelsbug
juliusmarminge added labelsneeds-julius
juliusmarminge added labelsvia-triage
That worked! Thank you so much for reproducing the problem and getting us such a clear fix so quickly.
We added
User-Agent: Muse/1.0to the existing Pythonurllib.requestsender and kept the same webhook URL. Two real Muse POSTs returned HTTP 202 and triggered the intended T3 thread. Repeating the same capture ID created no duplicate record or action, and the original acknowledgment survived synchronization. Automatic Muse-to-T3 delivery is restored.Really appreciate the time you took to track this down and explain what was happening. This got us unblocked. Many thanks to you and the T3 team!
Fresh triage: ordinary bug, not a reported exploitable vulnerability. The reporter's confirmed
User-Agent: Muse/1.0workaround remains applicable.On Linux with Python 3.12.3, at 2026-10-21 23:56:20 UTC, I sent two JSON POSTs to the production relay's
/v1/hooks/route using synthetic, nonexistent hook identifiers and only a syntheticcapture_id:- Default
urllib.request: HTTP 403,error code: 1010; Cloudflare Raya4e432c30c0bc52e-SJC. - Same request with
User-Agent: Muse/1.0: HTTP 404,{"error":"hook_not_found"}; Raya4e432c3aeea6ad1-SJC.
Checkout: b5a226e49c. These requests exercised the deployed relay, not that local checkout. No real webhook token or account was used; end-to-end delivery was not independently checked.
Relay operator input needed: identify the Cloudflare rule/action for the first Ray ID and the supported remedy for Python senders. This VM has no Cloudflare operator access. Keeping this open pending that information; no application patch proposed.
- Default
juliusmarminge added labelsneeds more info
Closing: no reply in 7 days after we asked for more information. Comment with the missing details and we will reopen.
Another occurrence, this time on the relay's MCP endpoint rather than
/v1/hooks/. Muse completed T3 Code's MCP OAuth flow (dynamic registration, approve, and token exchange all succeeded per the server trace), but its first MCP call was blocked by Cloudflare witherror code: 1010and never reached the server.Reproduced 2026-10-31 against a production
*.t3coderelay.comendpoint with an unauthenticatedinitializePOST to/mcp:- default Python
urllib.requestUser-Agent → 403, Cloudflare error 1010 Muse/1.0,python-httpx/0.28.1,python-requests/2.32.3,aiohttp/3.9→ 401invalid_mcp_credential(reaches T3 Code)
Confirmed workaround: after Muse's MCP client was changed to send
User-Agent: Muse/1.0, it reconnected,tools/listandtools/callsucceeded, and the server trace shows the requests arriving.Environment: T3 Code server 0.1.5 (Linux x64, desktop app), managed T3 Connect relay.
Since the MCP connector is meant for third-party agent clients, many of them Python, it may be worth relaxing Browser Integrity Check for
/mcpand the/.well-known/ OAuth routes on the relay zone, or documenting the User-Agent requirement.Produced by Claude Opus 5.5 (Claude Code) via T3 Code triage.
- default Python
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
This is caused by Python's default
User-Agent, not by your webhook setup. I reproduced it against the relay with a made-up hook URL. A POST sent withurllib.requestand its defaultPython-urllib/3.xUser-Agent gets403witherror code: 1010from Cloudflare before it reaches T3 Code. The same POST with a curl User-Agent, a custom one, or no User-Agent at all reaches the relay. Cloudflare documents 1010 as a block based on the client's browser signature.Workaround: set your own User-Agent on the request, for example:
Naming your sender this way isn't spoofing. The token in the URL is still what authenticates the request.
Keeping this open.