feishu-gateway-debug

Diagnose Feishu gateway message failures by tracing gateway, agent, and error logs.

6|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/yakeworld/Synthos --skill feishu-gateway-debug-yakeworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-gateway-debug
Source: https://github.com/yakeworld/Synthos/tree/main/skills/private/devops/feishu-gateway-debug
Command: npx skills add https://github.com/yakeworld/Synthos --skill feishu-gateway-debug-yakeworld

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When users report that Feishu (Lark) messages get no response, return API call failures, 404 errors, or silently lose file attachments, this Skill pinpoints the actual root cause by tracing the full message pipeline across gateway, agent, and error logs instead of guessing. ## Core Features & Use Cases - Error Source Identification: Distinguishes whether an "api call failed" error comes from a vLLM node, the DeepSeek API, or the Feishu API by inspecting the base_url in agent logs. - Message Flow Tracing: Follows the complete gateway log timeline (Received raw message → Flushing text batch → inbound message → response ready → Sending response) to locate the exact breakpoint. - Attachment Failure Repair: Detects Feishu MEDIA attachments over the 10MB limit that fail silently, and repairs them with Ghostscript PDF compression and verified stable file paths. - Use Case: A user reports "API call failed (404 Not Found)" in a Feishu chat. The Skill checks the agent log, finds base_url pointing to a vLLM node, verifies the model via curl /v1/models, and recommends removing the dead node from the rotation config. ## Quick Start Diagnose why my Feishu message with session id agent:main:feishu:dm:oc_xxx got an API call failed 404 error and suggest a fix.

Frequently Asked Questions about feishu-gateway-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Feishu messages that get no response?

Trace the gateway log timeline in order: Received raw message, Flushing text batch, inbound message, response ready, and Sending response. The first missing entry marks the breakpoint, which you then correlate with agent.log and errors.log entries for the same session id.

Why does my Feishu bot report API call failed with a 404 error?

A 404 in the agent log usually comes from a vLLM inference node, not the Feishu API. Check the base_url in the log line; if it points to an internal IP on port 8000, run curl against /v1/models on that node to confirm the model name exists, then fix the node or model name.

Why did my Feishu file attachment disappear without any error?

Feishu MEDIA attachments larger than 10MB fail silently with no error shown. Verify the file exists with ls -la, check its size, and compress oversized PDFs with Ghostscript using the /screen setting, which typically reduces a 33MB file to about 2.4MB before resending.

Can CLI session errors affect Feishu gateway sessions?

No. CLI sessions (prefixed cli:) and Feishu sessions (prefixed feishu:dm:) are fully isolated in the gateway. A CLI execute_code timeout, for example, will not block or interfere with any Feishu conversation, so cross-platform interference can be ruled out during diagnosis.

What causes RemoteProtocolError with a 180 second elapsed time?

This error indicates the vLLM node's default 180 second timeout fired, closing the stream before the model finished responding. It is typically caused by high node load or overly long responses; check node load and concurrency, then resend or adjust timeout configuration.