SagerNet / SagerNet/sing-box

旁路网关下直连出站启用tcp_fast_open后间歇性错误write: resource temporarily unavailable

Open
#3,482 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need more information
Dominant language
Go
Stars
38.2k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

操作系统

Linux

系统版本

Kwrt 24.10-SNAPSHOT 08.31.2025 by Kiddin' / LuCI openwrt-24.10 branch 26.286.45320~2b783f2

安装类型

其他

如果您使用图形客户端程序,请提供该程序版本。

momo v1.0.5-r1

版本
[root@Kwrt:10:51 AM ~] # sing-box version
sing-box version 1.13.0-alpha.23

Environment: go1.25.3 linux/arm64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_acme,with_clash_api,with_tailscale,badlinkname,tfogo_checklinkname0
Revision: 8e9fb1c9ad1b3c95c620a457a2cd6782dd0091ad
CGO: disabled
描述

起因是小米应用商店图片加载失败然后发现其他APP也有点问题后来才发现报错的,可能是最近几个版本出现的bug?好像之前没有[不排除是sysctl设置的问题]...

重现方式

在出站直连中添加"tcp_fast_open": true

日志

支持我们
完整性要求
  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no files, tests, or entry points and provides neither logs nor a configuration. Start by reproducing a direct outbound connection on Linux with tcp_fast_open enabled, then trace the intermittent write error through the networking path. Done means identifying a reproducible cause and verifying the error no longer occurs under the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.