Skip to content

fix: send tunnel daemon error messages via stdout instead of stderr - #16

Merged
wswcfan merged 1 commit into
TencentCloudAgentRuntime:mainfrom
yuehua-s:fix/mobile-tunnel-error-reporting
Apr 22, 2026
Merged

fix: send tunnel daemon error messages via stdout instead of stderr#16
wswcfan merged 1 commit into
TencentCloudAgentRuntime:mainfrom
yuehua-s:fix/mobile-tunnel-error-reporting

Conversation

@yuehua-s

Copy link
Copy Markdown
Contributor

The tunnel subprocess in daemon mode was writing error JSON to stderr, but the parent process only reads from stdout. This caused the parent to show a generic "tunnel process exited without ready message" error instead of the actual failure reason (e.g., sandbox not found, auth failure). Also add error reporting for tunnel creation and start failures in daemon mode.

The tunnel subprocess in daemon mode was writing error JSON to stderr,
but the parent process only reads from stdout. This caused the parent
to show a generic "tunnel process exited without ready message" error
instead of the actual failure reason (e.g., sandbox not found, auth
failure). Also add error reporting for tunnel creation and start
failures in daemon mode.
@wswcfan
wswcfan merged commit 6d49df8 into TencentCloudAgentRuntime:main Apr 22, 2026
4 checks passed
@yuehua-s
yuehua-s deleted the fix/mobile-tunnel-error-reporting branch April 23, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants