使用 Dev-Sidecar 加速 git clone 任意 GitHub 仓库(包括很小的仓库),clone 开始传输后必现卡死。前两次 POST .../git-upload-pack 返回 200,第三次 POST 在代理侧超时 7000ms 后 ECONNRESET
点击查看日志
[2026-08-19T15:05:49.091] [ERROR] server - 连接超时: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7000 ms , rOptions: {
protocol: 'https:',
method: 'POST',
url: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
hostname: 'github.com',
port: 443,
path: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
headers: {
host: 'github.com',
'user-agent': 'git/2.43.0',
'accept-encoding': 'deflate, gzip, br, zstd',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'accept-language': 'en-US, *;q=0.9',
'git-protocol': 'version=2',
'content-length': '175',
connection: 'keep-alive'
},
agent: HttpsAgent {
_events: [Object: null prototype] {
free: [Array],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: true,
timeout: 20000,
checkServerIdentity: [Function: checkServerIdentity],
rejectUnauthorized: false,
freeSocketTimeout: 30000,
socketActiveTTL: 0,
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {
'github.com:443::::::::false:baidu.com:::::::::::::': [Array]
},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
agentKeepAliveTimeoutBuffer: 1000,
createSocketCount: 417,
createSocketCountLastCheck: 0,
createSocketErrorCount: 0,
createSocketErrorCountLastCheck: 0,
closeSocketCount: 416,
closeSocketCountLastCheck: 0,
errorSocketCount: 8,
errorSocketCountLastCheck: 0,
requestCount: 1056,
requestCountLastCheck: 0,
timeoutSocketCount: 334,
timeoutSocketCountLastCheck: 0,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(agentkeepalive#currentId): 417
},
compatibleConfig: { connect: { origin: {} }, request: { origin: {} } },
maxHeaderSize: 65536,
servername: 'baidu.com',
host: 'github.com',
lookup: [Function (anonymous)]
}
[2026-08-19T15:05:49.504] [ERROR] server - 连接超时: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7000 ms , rOptions: {
protocol: 'https:',
method: 'POST',
url: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
hostname: 'github.com',
port: 443,
path: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
headers: {
host: 'github.com',
'user-agent': 'git/2.43.0',
'accept-encoding': 'deflate, gzip, br, zstd',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'accept-language': 'en-US, *;q=0.9',
'git-protocol': 'version=2',
'content-length': '252',
connection: 'keep-alive'
},
agent: HttpsAgent {
_events: [Object: null prototype] {
free: [Array],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: true,
timeout: 20000,
checkServerIdentity: [Function: checkServerIdentity],
rejectUnauthorized: false,
freeSocketTimeout: 30000,
socketActiveTTL: 0,
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {
'github.com:443::::::::false:baidu.com:::::::::::::': [Array]
},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
agentKeepAliveTimeoutBuffer: 1000,
createSocketCount: 417,
createSocketCountLastCheck: 0,
createSocketErrorCount: 0,
createSocketErrorCountLastCheck: 0,
closeSocketCount: 416,
closeSocketCountLastCheck: 0,
errorSocketCount: 8,
errorSocketCountLastCheck: 0,
requestCount: 1056,
requestCountLastCheck: 0,
timeoutSocketCount: 335,
timeoutSocketCountLastCheck: 0,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(agentkeepalive#currentId): 418
},
compatibleConfig: { connect: { origin: {} }, request: { origin: {} } },
maxHeaderSize: 65536,
servername: 'baidu.com',
host: 'github.com',
lookup: [Function (anonymous)]
}
[2026-08-19T15:05:49.506] [ERROR] server - 代理请求错误: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7001 ms, error: Error: 连接超时: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7000 ms
at Timeout._onTimeout (/opt/dev-sidecar/resources/app.asar/node_modules/@docmirror/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js:196:30)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7) , rOptions: {
protocol: 'https:',
method: 'POST',
url: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
hostname: 'github.com',
port: 443,
path: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
headers: {
host: 'github.com',
'user-agent': 'git/2.43.0',
'accept-encoding': 'deflate, gzip, br, zstd',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'accept-language': 'en-US, *;q=0.9',
'git-protocol': 'version=2',
'content-length': '252',
connection: 'keep-alive'
},
agent: HttpsAgent {
_events: [Object: null prototype] {
free: [Array],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: true,
timeout: 20000,
checkServerIdentity: [Function: checkServerIdentity],
rejectUnauthorized: false,
freeSocketTimeout: 30000,
socketActiveTTL: 0,
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {
'github.com:443::::::::false:baidu.com:::::::::::::': [Array]
},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
agentKeepAliveTimeoutBuffer: 1000,
createSocketCount: 419,
createSocketCountLastCheck: 0,
createSocketErrorCount: 0,
createSocketErrorCountLastCheck: 0,
closeSocketCount: 420,
closeSocketCountLastCheck: 0,
errorSocketCount: 9,
errorSocketCountLastCheck: 0,
requestCount: 1060,
requestCountLastCheck: 0,
timeoutSocketCount: 336,
timeoutSocketCountLastCheck: 0,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(agentkeepalive#currentId): 421
},
compatibleConfig: { connect: { origin: {} }, request: { origin: {} } },
maxHeaderSize: 65536,
servername: 'baidu.com',
host: 'github.com',
lookup: [Function (anonymous)]
}
[2026-08-19T15:05:49.507] [ERROR] server - proxy res error: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, error: Error: aborted
at TLSSocket.socketCloseListener (node:_http_client:553:19)
at TLSSocket.emit (node:events:521:24)
at node:net:350:12
at TCP.done (node:internal/tls/wrap:674:7) {
code: 'ECONNRESET'
}
点击查看运行参数
{
"intercepts": {
"github.com": {
"^(/[\w-.]+){2,}/?(\?.)?$": {
"tampermonkeyScript": "https://raw.giteeusercontent.com/wangliang181230/dev-sidecar-config/raw/main/tampermonkey.js",
"script": "https://raw.giteeusercontent.com/wangliang181230/dev-sidecar-config/raw/main/GithubEnhanced-High-Speed-Download.user.js",
"remark": "注:上面所使用的脚本地址,为高速镜像地址。",
"desc": "油猴脚本:高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载、添加 git clone 命令"
},
"^((/[^/]+){2,})/raw((/[^/]+)+\.(jpg|jpeg|png|gif))(\?.)?$": {
"proxy": "https://raw.githubusercontent.com${m[1]}${m[3]}",
"sni": "baidu.com",
"cacheDays": 7,
"desc": "仓库内图片,重定向改为代理,并缓存7天。"
},
"^((/[^/]+){2,})/raw((/[^/]+)+\.js)(\?.)?$": {
"proxy": "https://raw.githubusercontent.com${m[1]}${m[3]}",
"sni": "baidu.com",
"desc": "仓库内脚本,重定向改为代理,并设置响应头Content-Type。作用:方便script拦截器直接使用,避免引起跨域问题和脚本内容限制问题。",
"responseReplace": {
"headers": {
"content-type": "application/javascript; charset=utf-8"
}
}
},
".": {
"sni": "baidu.com"
},
"/fluidicon.png": {
"cacheDays": 365,
"desc": "Github那只猫的图片,缓存1年"
},
"^(/[^/]+){2}/pull/\d+/open_with_menu.$": {
"cacheDays": 7,
"desc": "PR详情页:标题右边那个Code按钮的HTML代码请求地址,感觉上应该可以缓存。暂时先设置为缓存7天"
}
},
"github.githubassets.com": {
".": {
"sni": "baidu.com"
}
},
"collector.github.com": {
".": {
"sni": "baidu.com"
}
},
".docker.com": {
".": {
"sni": "baidu.com"
}
},
"login.docker.com": {
"/favicon.ico": {
"proxy": "hub.docker.com",
"sni": "baidu.com",
"desc": "登录页面的ico,采用hub.docker.com的"
}
},
"ajax.googleapis.com": {
".": {
"proxy": "ajax.proxy.ustclug.org",
"backup": [
"gapis.geekzu.org"
],
"test": "ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"
}
},
"fonts.googleapis.com": {
".": {
"backup": [
"fonts.loli.net"
],
"proxy": "fonts.googleapis.cn",
"test": "https://fonts.googleapis.com/css?family=Oswald"
}
},
"fonts.gstatic.com": {
".": {
"proxy": "fonts-gstatic.proxy.ustclug.org",
"backup": [
"gstatic.loli.net"
],
"test": "https://fonts.googleapis.com/css?family=Oswald"
}
},
"api.github.com": {
".": {
"sni": "baidu.com"
},
"^/_private/browser/stats$": {
"success": true,
"desc": "github的访问速度分析上传,没有必要,直接返回成功"
}
},
"www.gstatic.com": {
"/recaptcha/.": {
"proxy": "www.recaptcha.net"
}
},
"camo.githubusercontent.com": {
"^[a-zA-Z0-9/]+(\?.)?$": {
"cacheDays": 365,
"desc": "图片,缓存1年"
}
},
"customer-stories-feed.github.com": {
".": {
"proxy": "customer-stories-feed.fastgit.org"
}
},
"user-images.githubusercontent.com": {
"^/.\.png(\?.)?$": {
"cacheDays": 365,
"desc": "用户在PR或issue等内容中上传的图片,缓存1年。注:每张图片都有唯一的ID,不会重复,可以安心缓存"
}
},
"private-user-images.githubusercontent.com": {
"^/.\.png(\?.)?$": {
"cacheDays": 30,
"desc": "用户在PR或issue等内容中上传的图片,缓存30天"
}
},
"avatars.githubusercontent.com": {
"^/u/\d+(\?.)?$": {
"cacheDays": 365,
"desc": "用户头像,缓存1年"
}
},
"www.google.com": {
"/recaptcha/.": {
"proxy": "www.recaptcha.net"
}
},
"themes.googleapis.com": {
".": {
"proxy": "themes.loli.net",
"backup": [
"themes.proxy.ustclug.org"
]
}
},
"themes.googleusercontent.com": {
".": {
"proxy": "google-themes.proxy.ustclug.org"
}
},
"clients*.google.com": {
".": {
"abort": false,
"desc": "设置abort:true可以快速失败,节省时间"
}
},
"www.googleapis.com": {
".": {
"abort": false,
"desc": "设置abort:true可以快速失败,节省时间"
}
},
"lh*.googleusercontent.com": {
".": {
"abort": false,
"desc": "设置abort:true可以快速失败,节省时间"
}
},
".s3.1amazonaws1.com": {
"/sqlite3/.": {
"redirect": "npmmirror.com/mirrors"
}
},
".carbonads.com": {
"/carbon.": {
"abort": true,
"desc": "广告拦截"
}
},
".buysellads.com": {
"/ads/.": {
"abort": true,
"desc": "广告拦截"
}
}
},
"preSetIpList": {
"github.com": {
"4.237.22.38": true,
"20.26.156.215": true,
"20.87.245.0": true,
"20.201.28.151": true,
"140.82.113.3": true,
"140.82.114.4": true,
"140.82.116.3": true,
"140.82.116.4": true,
"140.82.121.3": true,
"140.82.121.4": true,
"20.200.245.247": true,
"20.27.177.113": true,
"20.205.243.166": true
},
"hub.docker.com": {
"44.221.37.199": true,
"52.44.227.212": true,
"54.156.140.159": true
},
"sessions-bugsnag.docker.com": {
"44.221.37.199": true,
"52.44.227.212": true,
"54.156.140.159": true
},
"api.github.com": {
"20.26.156.210": true,
"20.27.177.116": true,
"20.87.245.6": true,
"20.200.245.245": true,
"20.201.28.148": true,
"20.205.243.168": true,
"20.248.137.49": true,
"140.82.112.5": true,
"140.82.113.6": true,
"140.82.116.6": true,
"140.82.121.6": true
},
"codeload.github.com": {
"20.26.156.216": true,
"20.27.177.114": true,
"20.87.245.7": true,
"20.200.245.246": true,
"20.201.28.149": true,
"20.205.243.165": true,
"20.248.137.55": true,
"140.82.113.9": true,
"140.82.114.10": true,
"140.82.116.10": true,
"140.82.121.9": true
},
".githubusercontent.com": {
"146.75.92.133": true,
"199.232.88.133": true,
"199.232.144.133": true
},
"viewscreen.githubusercontent.com": {
"140.82.112.21": true,
"140.82.112.22": true,
"140.82.113.21": true,
"140.82.113.22": true,
"140.82.114.21": true,
"140.82.114.22": true
},
"github.io": {
"185.199.108.153": true,
"185.199.109.153": true,
"185.199.110.153": true,
"185.199.111.153": true
},
".githubassets.com": {
"185.199.108.154": true,
"185.199.109.154": true,
"185.199.110.154": true,
"185.199.111.154": true
},
"^(analytics|ghcc)\.githubassets\.com$": {
"185.199.108.153": true,
"185.199.110.153": true,
"185.199.109.153": true,
"185.199.111.153": true
},
".pixiv.net": {
"210.140.139.154": true,
"210.140.139.157": true,
"210.140.139.160": true
}
},
"whiteList": {
"cn.": true,
"192.168.": true,
".cn": true,
"china": true,
".dingtalk.com": true,
".apple.com": true,
".microsoft.com": true,
".alipay.com": true,
".qq.com": true,
".baidu.com": true
},
"dns": {
"providers": {
"safe360": {
"server": "tls://dot.360.cn",
"forSNI": true
},
"aliyun": {
"server": "tls://dns.alidns.com"
},
"cloudflare": {
"server": "https://1.1.1.1/dns-query"
},
"quad9": {
"server": "https://9.9.9.9/dns-query"
},
"rubyfish": {
"server": "https://rubyfish.cn/dns-query"
}
},
"mapping": {
".github.com": "quad9",
"github.com": "quad9",
".github.io": "quad9",
".docker.com": "quad9",
".stackoverflow.com": "quad9",
".electronjs.org": "quad9",
".amazonaws.com": "quad9",
".yarnpkg.com": "quad9",
".cloudfront.net": "quad9",
".cloudflare.com": "quad9",
"img.shields.io": "quad9",
".vuepress.vuejs.org": "quad9",
".gh.docmirror.top": "quad9",
".v2ex.com": "quad9",
".pypi.org": "quad9",
".jetbrains.com": "quad9",
".azureedge.net": "quad9"
},
"familyMapping": {
".jetbrains.com": "4",
".azureedge.net": "4",
".stackoverflow.com": "4",
".github.com": "4",
"github.com": "4",
".github.io": "4",
".docker.com": "4",
".electronjs.org": "4",
".amazonaws.com": "4",
".yarnpkg.com": "4",
".cloudfront.net": "4",
".cloudflare.com": "4",
"img.shields.io": "4",
".vuepress.vuejs.org": "4",
".gh.docmirror.top": "4",
".v2ex.com": "4",
".pypi.org": "4"
},
"speedTest": {
"interval": 300000,
"hostnameList": [
"github.com"
],
"dnsProviders": [
"cloudflare",
"safe360",
"rubyfish"
],
"enabled": true
}
},
"enabled": true,
"host": "127.0.0.1",
"port": 31181,
"fakeServerMaxLength": 100,
"setting": {
"NODE_TLS_REJECT_UNAUTHORIZED": true,
"verifySsl": true,
"script": {
"enabled": true,
"defaultDir": "./extra/scripts/"
},
"userBasePath": "/home/kale/.dev-sidecar",
"rootCaFile": {
"certPath": "/home/kale/.dev-sidecar/dev-sidecar.ca.crt",
"keyPath": "/home/kale/.dev-sidecar/dev-sidecar.ca.key.pem"
},
"defaultTimeout": 20000,
"defaultKeepAliveTimeout": 30000,
"timeoutMapping": {
"github.com": {
"timeout": 20000,
"keepAliveTimeout": 30000
}
},
"lowSpeedDelay": 200
},
"compatible": {
"connect": {},
"request": {}
},
"intercept": {
"enabled": true
},
"app": {
"metaInfo": {
"updateLog": "GUI v2.0.2自带配置",
"version": 202604122348,
"id": "internal"
},
"theme": "light",
"remoteConfig": {
"url": "https://raw.giteeusercontent.com/wangliang181230/dev-sidecar-config/raw/main/remote_config.json",
"enabled": true,
"personalUrl": ""
},
"mode": "default",
"autoStart": {
"enabled": false
},
"startShowWindow": true,
"needCheckHideWindow": true,
"showHideShortcut": "Alt + S",
"windowSize": {
"width": 900,
"height": 750
},
"autoChecked": true,
"skipPreRelease": true,
"dock": {
"hideWhenWinClose": false
},
"closeStrategy": 0,
"showShutdownTip": true,
"logFileSavePath": "/home/kale/.dev-sidecar/logs",
"keepLogFileCount": 15,
"maxLogFileSize": 1,
"maxLogFileSizeUnit": "GB"
},
"plugin": {
"git": {
"enabled": true,
"name": "Git.exe代理",
"tip": "如果你没有安装git命令行则不需要启动它",
"setting": {
"sslVerify": true,
"noProxyUrls": {
"https://gitee.com": true,
"https://e.coding.net": true,
"https://codeup.aliyun.com": true
}
}
},
"overwall": {
"targets": {
".github.com": true,
"github.com": true,
".gitbook.io": true,
".nodejs.org": true,
".npmjs.com": true,
".wikimedia.org": true,
".v2ex.com": true,
".azureedge.net": true,
".cloudfront.net": true,
".bing.com": true,
".discourse-cdn.com": true,
".gravatar.com": true,
".docker.com": true,
".vueuse.org": true,
".elastic.co": true,
".optimizely.com": true,
".stackpathcdn.com": true,
".fastly.net": true,
".cloudflare.com": true,
".233v2.com": true,
".v2fly.org": true,
".telegram.org": true,
".amazon.com": true,
".googleapis.com": true,
".google-analytics.com": true,
".cloudflareinsights.com": true,
".intlify.dev": true,
".segment.io": true,
".shields.io": true,
".jsdelivr.net": true,
".z-library.sk": true,
".zlibrary*.se": true,
".discord.com": true,
".wikipedia-on-ipfs.org": true,
".chatgpt.com": false,
".oaiusercontent.com": true,
".huggingface.co": true,
".pixiv.org": true,
".fanbox.cc": true,
".onesignal.com": true,
".greasyfork.org": true,
".cn-greasyfork.org": true,
".notepad-plus-plus.org": true
},
"pac": {
"pacFileUpdateUrl": "https://xget.xi-xu.me/gh/gfwlist/gfwlist/raw/master/gfwlist.txt",
"enabled": true,
"autoUpdate": true,
"pacFilePath": "./extra/pac/pac.txt"
},
"name": "梯子",
"enabled": false,
"server": {},
"serverDefault": {
"ow-prod.docmirror.top": {
"port": 443,
"path": "X2dvX292ZXJfd2FsbF8",
"password": "dev_sidecar_is_666"
}
}
},
"free_eye": {
"Route": {
"timeout": 0.1,
"addrs": {
"IPv4": "8.8.8.8",
"IPv6": "2001:4860:4860::8888"
},
"port": 53
},
"DNS": {
"timeout": 3,
"allow": [
"baidu.cn",
"taobao.com",
"www.gov.cn"
],
"block": [
"wikipedia.org",
"youtube.com",
"facebook.com"
]
},
"TCP": {
"timeout": 3,
"addrs": {
"IPv4": {
"allow": [
"114.114.114.114",
"223.6.6.6"
],
"block": [
"8.8.8.8",
"1.1.1.1"
]
},
"IPv6": {
"allow": [
"2402:4e00::",
"2400:3200:baba::1"
],
"block": [
"2001:4860:4860::8888",
"2606:4700:4700::1111"
]
}
},
"ports": [
80,
443
]
},
"TLS": {
"timeout": 3,
"addrs": {
"IPv4": "172.67.148.147",
"IPv6": "2606:4700:3036::ac43:9493"
},
"snis": {
"allow": "baidu.cn",
"block": "wikipedia.org"
}
},
"name": "网络检测",
"statusOff": true,
"enabled": false,
"tip": "运行网络检测来评估当前网络环境",
"setting": {
"testsDir": "checkpoints",
"config": {
"Route": {
"timeout": 3,
"addrs": {
"IPv4": "8.8.8.8",
"IPv6": "2001:4860:4860::8888"
},
"port": 53
},
"DNS": {
"timeout": 3,
"allow": [
"baidu.com",
"google.com"
],
"block": [
"google.com",
"twitter.com",
"facebook.com",
"youtube.com"
]
},
"TCP": {
"timeout": 3,
"ports": [
80,
443
],
"addrs": {
"IPv4": {
"allow": [
"8.8.8.8"
],
"block": [
"142.250.80.4"
]
},
"IPv6": {
"allow": [
"2001:4860:4860::8888"
],
"block": [
"2607:f8b0:4005:0809:0000:0000:0000:200e"
]
}
}
},
"TLS": {
"timeout": 3,
"addrs": {
"IPv4": "8.8.8.8",
"IPv6": "2001:4860:4860::8888"
},
"snis": {
"allow": "google.com",
"block": "twitter.com"
}
}
}
}
},
"node": {
"name": "NPM加速",
"enabled": false,
"tip": "如果你没有安装nodejs则不需要启动它",
"startup": {
"variables": true
},
"setting": {
"command": "npm",
"strict-ssl": true,
"cafile": false,
"NODE_EXTRA_CA_CERTS": false,
"NODE_TLS_REJECT_UNAUTHORIZED": false,
"registry": "https://registry.npmjs.org",
"registryList": {
"taobao": {
"name": "taobao镜像",
"value": "https://registry.npmmirror.com"
},
"ustclug": {
"name": "中国科学技术大学镜像",
"value": "https://npmreg.proxy.ustclug.org"
}
},
"yarnRegistry": "default",
"yarnRegistryList": {
"taobao": {
"name": "taobao镜像",
"value": "https://registry.npmmirror.com"
}
}
},
"variables": {
"phantomjs_cdnurl": "https://npmmirror.com/mirrors/phantomjs",
"chromedriver_cdnurl": "https://npmmirror.com/mirrors/chromedriver",
"sass_binary_site": "https://npmmirror.com/mirrors/node-sass",
"ELECTRON_MIRROR": "https://npmmirror.com/mirrors/electron/",
"NVM_NODEJS_ORG_MIRROR": "https://npmmirror.com/mirrors/node",
"CHROMEDRIVER_CDNURL": "https://npmmirror.com/mirrors/chromedriver",
"OPERADRIVER": "https://npmmirror.com/mirrors/operadriver",
"ELECTRON_BUILDER_BINARIES_MIRROR": "https://npmmirror.com/mirrors/electron-builder-binaries/",
"PYTHON_MIRROR": "https://npmmirror.com/mirrors/python"
}
},
"pip": {
"name": "PIP加速",
"statusOff": true,
"tip": "如果你没有安装pip则不需要启动它",
"startup": {},
"setting": {
"command": "pip",
"trustedHost": "pypi.org",
"registry": "https://pypi.org/simple/",
"registryList": {
"aliyun": {
"name": "阿里镜像",
"value": "https://mirrors.aliyun.com/pypi/simple/"
},
"baidu": {
"name": "百度镜像",
"value": "https://mirror.baidu.com/pypi/simple/"
},
"douban": {
"name": "豆瓣镜像",
"value": "http://pypi.douban.com/simple/"
},
"sohu": {
"name": "搜狐镜像",
"value": "http://mirrors.sohu.com/Python/"
},
"ustclug": {
"name": "中科大镜像",
"value": "https://pypi.mirrors.ustc.edu.cn/simple/"
},
"bfsu": {
"name": "北京外国语大学镜像",
"value": "https://mirrors.bfsu.edu.cn/pypi/web/simple/"
},
"nju": {
"name": "南京大学镜像",
"value": "https://mirror.nju.edu.cn/pypi/web/simple/"
},
"tsinghua": {
"name": "清华大学镜像",
"value": "https://pypi.tuna.tsinghua.edu.cn/simple/"
},
"hust": {
"name": "华中科大镜像",
"value": "https://mirrors.hust.edu.cn/pypi/web/simple/"
},
"sdut": {
"name": "山东理工大学镜像",
"value": "http://pypi.sdutlinux.org/"
}
}
}
}
},
"proxy": {
"excludeDomesticDomainAllowList": true,
"remoteDomesticDomainAllowListFileUrl": "https://raw.githubusercontent.com/pluwen/china-domain-allowlist/refs/heads/main/allow-list.sorl",
"excludeIpList": {
"cn.": true,
".live.com": true,
"challenges.cloudflare.com": true,
"objects-origin.githubusercontent.com": true,
".kkgithub.com": true,
".cn": true,
"china": true,
".ghproxy.": true,
"ssh.github.com": true,
"www.deepl.com": true,
".csdn.net": true,
".so.com": true,
".baidu.com": true,
".baiducontent.com": true,
".bdimg.com": true,
".bdstatic.com": true,
".bdydns.com": true,
".tencent.com": true,
".qq.com": true,
".weixin.com": true,
".weixinbridge.com": true,
".wechat.com": true,
".idqqimg.com": true,
".gtimg.com": true,
".qpic.com": true,
".qlogo.com": true,
".myapp.com": true,
".aliyun.com": true,
".alipay.com": true,
".taobao.com": true,
".tmall.com": true,
".alipayobjects.com": true,
".dingtalk.com": true,
".mmstat.com": true,
".alicdn.com": true,
".hdslb.com": true,
"gitee.com": true,
".gitee.com": true,
".gitee.io": true,
".giteeusercontent.com": true,
".mozilla.org": true,
".mozilla.com": true,
".mozilla.net": true,
".firefox.com": true,
".firefox.org": true,
".mozillademos.org": true,
".mozillians.org": true,
".mozillians.net": true,
".mozillians.com": true,
".sonatype.org": true,
".maven.org": true,
".mvnrepository.com": true,
".apple.com": true,
".icloud.com": true,
".microsoft.com": true,
".windows.com": true,
".office.com": true,
".office.net": true,
".msn.com": true,
".wps.com": true,
".wps.net": true,
".ksord.com": true,
".qihoo.com": true,
".qihucdn.com": true,
".360.com": true,
".360safe.com": true,
".360buyimg.com": true,
".360buy.com": true,
".jd.com": true,
".jcloud.com": true,
".jcloudcs.com": true,
".jcloudcache.com": true,
".jcloudcdn.com": true,
".jcloudlb.com": true,
".bilibili.com": true,
".bilivideo.com": true,
".biliapi.net": true,
".10086.com": true,
".10086cloud.com": true,
".139.com": true,
".xunlei.com": true,
".icpapi.com": true,
".navicat.com": true,
"localhost": true,
"localhost.": true,
"127...": true,
"test.": true,
"10...": true,
"172.16..": true,
"172.17..": true,
"172.18..": true,
"172.19..": true,
"172.20..": true,
"172.21..": true,
"172.22..": true,
"172.23..": true,
"172.24..": true,
"172.25..": true,
"172.26..": true,
"172.27..": true,
"172.28..": true,
"172.29..": true,
"172.30..": true,
"172.31..": true,
"192.168..*": true
},
"enabled": true,
"name": "系统代理",
"use": "local",
"other": [],
"proxyHttp": false,
"setEnv": false,
"setCaBundle": false,
"autoUpdateDomesticDomainAllowList": true,
"domesticDomainAllowListFilePath": "./extra/proxy/domestic-domain-allowlist.txt"
}
}
Ⅰ. 请说明操作系统及DS的版本号:
Ⅱ. 问题描述:
使用 Dev-Sidecar 加速 git clone 任意 GitHub 仓库(包括很小的仓库),clone 开始传输后必现卡死。前两次 POST .../git-upload-pack 返回 200,第三次 POST 在代理侧超时 7000ms 后 ECONNRESET
Ⅲ. 期望的结果:
能正常git clone下载
Ⅳ. 如何复现问题?
Ⅴ. 请提供相关的错误日志,尽可能的详细:(日志文件在
${user.home}/.dev-sidecar/logs/目录下)点击查看日志
[2026-08-19T15:05:49.091] [ERROR] server - 连接超时: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7000 ms , rOptions: {
protocol: 'https:',
method: 'POST',
url: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
hostname: 'github.com',
port: 443,
path: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
headers: {
host: 'github.com',
'user-agent': 'git/2.43.0',
'accept-encoding': 'deflate, gzip, br, zstd',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'accept-language': 'en-US, *;q=0.9',
'git-protocol': 'version=2',
'content-length': '175',
connection: 'keep-alive'
},
agent: HttpsAgent {
_events: [Object: null prototype] {
free: [Array],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: true,
timeout: 20000,
checkServerIdentity: [Function: checkServerIdentity],
rejectUnauthorized: false,
freeSocketTimeout: 30000,
socketActiveTTL: 0,
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {
'github.com:443::::::::false:baidu.com:::::::::::::': [Array]
},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
agentKeepAliveTimeoutBuffer: 1000,
createSocketCount: 417,
createSocketCountLastCheck: 0,
createSocketErrorCount: 0,
createSocketErrorCountLastCheck: 0,
closeSocketCount: 416,
closeSocketCountLastCheck: 0,
errorSocketCount: 8,
errorSocketCountLastCheck: 0,
requestCount: 1056,
requestCountLastCheck: 0,
timeoutSocketCount: 334,
timeoutSocketCountLastCheck: 0,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(agentkeepalive#currentId): 417
},
compatibleConfig: { connect: { origin: {} }, request: { origin: {} } },
maxHeaderSize: 65536,
servername: 'baidu.com',
host: 'github.com',
lookup: [Function (anonymous)]
}
[2026-08-19T15:05:49.504] [ERROR] server - 连接超时: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7000 ms , rOptions: {
protocol: 'https:',
method: 'POST',
url: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
hostname: 'github.com',
port: 443,
path: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
headers: {
host: 'github.com',
'user-agent': 'git/2.43.0',
'accept-encoding': 'deflate, gzip, br, zstd',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'accept-language': 'en-US, *;q=0.9',
'git-protocol': 'version=2',
'content-length': '252',
connection: 'keep-alive'
},
agent: HttpsAgent {
_events: [Object: null prototype] {
free: [Array],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: true,
timeout: 20000,
checkServerIdentity: [Function: checkServerIdentity],
rejectUnauthorized: false,
freeSocketTimeout: 30000,
socketActiveTTL: 0,
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {
'github.com:443::::::::false:baidu.com:::::::::::::': [Array]
},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
agentKeepAliveTimeoutBuffer: 1000,
createSocketCount: 417,
createSocketCountLastCheck: 0,
createSocketErrorCount: 0,
createSocketErrorCountLastCheck: 0,
closeSocketCount: 416,
closeSocketCountLastCheck: 0,
errorSocketCount: 8,
errorSocketCountLastCheck: 0,
requestCount: 1056,
requestCountLastCheck: 0,
timeoutSocketCount: 335,
timeoutSocketCountLastCheck: 0,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(agentkeepalive#currentId): 418
},
compatibleConfig: { connect: { origin: {} }, request: { origin: {} } },
maxHeaderSize: 65536,
servername: 'baidu.com',
host: 'github.com',
lookup: [Function (anonymous)]
}
[2026-08-19T15:05:49.506] [ERROR] server - 代理请求错误: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7001 ms, error: Error: 连接超时: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, cost: 7000 ms
at Timeout._onTimeout (/opt/dev-sidecar/resources/app.asar/node_modules/@docmirror/mitmproxy/src/lib/proxy/mitmproxy/createRequestHandler.js:196:30)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7) , rOptions: {
protocol: 'https:',
method: 'POST',
url: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
hostname: 'github.com',
port: 443,
path: '/deepseek-ai/deepseek-harness.git/git-upload-pack',
headers: {
host: 'github.com',
'user-agent': 'git/2.43.0',
'accept-encoding': 'deflate, gzip, br, zstd',
'content-type': 'application/x-git-upload-pack-request',
accept: 'application/x-git-upload-pack-result',
'accept-language': 'en-US, *;q=0.9',
'git-protocol': 'version=2',
'content-length': '252',
connection: 'keep-alive'
},
agent: HttpsAgent {
_events: [Object: null prototype] {
free: [Array],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
options: [Object: null prototype] {
keepAlive: true,
timeout: 20000,
checkServerIdentity: [Function: checkServerIdentity],
rejectUnauthorized: false,
freeSocketTimeout: 30000,
socketActiveTTL: 0,
noDelay: true,
path: null
},
defaultPort: 443,
protocol: 'https:',
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {
'github.com:443::::::::false:baidu.com:::::::::::::': [Array]
},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
agentKeepAliveTimeoutBuffer: 1000,
createSocketCount: 419,
createSocketCountLastCheck: 0,
createSocketErrorCount: 0,
createSocketErrorCountLastCheck: 0,
closeSocketCount: 420,
closeSocketCountLastCheck: 0,
errorSocketCount: 9,
errorSocketCountLastCheck: 0,
requestCount: 1060,
requestCountLastCheck: 0,
timeoutSocketCount: 336,
timeoutSocketCountLastCheck: 0,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(agentkeepalive#currentId): 421
},
compatibleConfig: { connect: { origin: {} }, request: { origin: {} } },
maxHeaderSize: 65536,
servername: 'baidu.com',
host: 'github.com',
lookup: [Function (anonymous)]
}
[2026-08-19T15:05:49.507] [ERROR] server - proxy res error: POST ➜ https://github.com:443/deepseek-ai/deepseek-harness.git/git-upload-pack, error: Error: aborted
at TLSSocket.socketCloseListener (node:_http_client:553:19)
at TLSSocket.emit (node:events:521:24)
at node:net:350:12
at TCP.done (node:internal/tls/wrap:674:7) {
code: 'ECONNRESET'
}
Ⅵ. 有必要时,请提供
${user.home}/.dev-sidecar/running.json文件内容:点击查看运行参数
{
"intercepts": {
"github.com": {
"^(/[\w-.]+){2,}/?(\?.)?$": {
"tampermonkeyScript": "https://raw.giteeusercontent.com/wangliang181230/dev-sidecar-config/raw/main/tampermonkey.js",
"script": "https://raw.giteeusercontent.com/wangliang181230/dev-sidecar-config/raw/main/GithubEnhanced-High-Speed-Download.user.js",
"remark": "注:上面所使用的脚本地址,为高速镜像地址。",
"desc": "油猴脚本:高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载、添加 git clone 命令"
},
"^((/[^/]+){2,})/raw((/[^/]+)+\.(jpg|jpeg|png|gif))(\?.)?$": {
"proxy": "https://raw.githubusercontent.com${m[1]}${m[3]}",
"sni": "baidu.com",
"cacheDays": 7,
"desc": "仓库内图片,重定向改为代理,并缓存7天。"
},
"^((/[^/]+){2,})/raw((/[^/]+)+\.js)(\?.)?$": {
"proxy": "https://raw.githubusercontent.com${m[1]}${m[3]}",
"sni": "baidu.com",
"desc": "仓库内脚本,重定向改为代理,并设置响应头Content-Type。作用:方便script拦截器直接使用,避免引起跨域问题和脚本内容限制问题。",
"responseReplace": {
"headers": {
"content-type": "application/javascript; charset=utf-8"
}
}
},
".": {
"sni": "baidu.com"
},
"/fluidicon.png": {
"cacheDays": 365,
"desc": "Github那只猫的图片,缓存1年"
},
"^(/[^/]+){2}/pull/\d+/open_with_menu.$": {
"cacheDays": 7,
"desc": "PR详情页:标题右边那个Code按钮的HTML代码请求地址,感觉上应该可以缓存。暂时先设置为缓存7天"
}
},
"github.githubassets.com": {
".": {
"sni": "baidu.com"
}
},
"collector.github.com": {
".": {
"sni": "baidu.com"
}
},
".docker.com": {
".": {
"sni": "baidu.com"
}
},
"login.docker.com": {
"/favicon.ico": {
"proxy": "hub.docker.com",
"sni": "baidu.com",
"desc": "登录页面的ico,采用hub.docker.com的"
}
},
"ajax.googleapis.com": {
".": {
"proxy": "ajax.proxy.ustclug.org",
"backup": [
"gapis.geekzu.org"
],
"test": "ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"
}
},
"fonts.googleapis.com": {
".": {
"backup": [
"fonts.loli.net"
],
"proxy": "fonts.googleapis.cn",
"test": "https://fonts.googleapis.com/css?family=Oswald"
}
},
"fonts.gstatic.com": {
".": {
"proxy": "fonts-gstatic.proxy.ustclug.org",
"backup": [
"gstatic.loli.net"
],
"test": "https://fonts.googleapis.com/css?family=Oswald"
}
},
"api.github.com": {
".": {
"sni": "baidu.com"
},
"^/_private/browser/stats$": {
"success": true,
"desc": "github的访问速度分析上传,没有必要,直接返回成功"
}
},
"www.gstatic.com": {
"/recaptcha/.": {
"proxy": "www.recaptcha.net"
}
},
"camo.githubusercontent.com": {
"^[a-zA-Z0-9/]+(\?.)?$": {
"cacheDays": 365,
"desc": "图片,缓存1年"
}
},
"customer-stories-feed.github.com": {
".": {
"proxy": "customer-stories-feed.fastgit.org"
}
},
"user-images.githubusercontent.com": {
"^/.\.png(\?.)?$": {
"cacheDays": 365,
"desc": "用户在PR或issue等内容中上传的图片,缓存1年。注:每张图片都有唯一的ID,不会重复,可以安心缓存"
}
},
"private-user-images.githubusercontent.com": {
"^/.\.png(\?.)?$": {
"cacheDays": 30,
"desc": "用户在PR或issue等内容中上传的图片,缓存30天"
}
},
"avatars.githubusercontent.com": {
"^/u/\d+(\?.)?$": {
"cacheDays": 365,
"desc": "用户头像,缓存1年"
}
},
"www.google.com": {
"/recaptcha/.": {
"proxy": "www.recaptcha.net"
}
},
"themes.googleapis.com": {
".": {
"proxy": "themes.loli.net",
"backup": [
"themes.proxy.ustclug.org"
]
}
},
"themes.googleusercontent.com": {
".": {
"proxy": "google-themes.proxy.ustclug.org"
}
},
"clients*.google.com": {
".": {
"abort": false,
"desc": "设置abort:true可以快速失败,节省时间"
}
},
"www.googleapis.com": {
".": {
"abort": false,
"desc": "设置abort:true可以快速失败,节省时间"
}
},
"lh*.googleusercontent.com": {
".": {
"abort": false,
"desc": "设置abort:true可以快速失败,节省时间"
}
},
".s3.1amazonaws1.com": {
"/sqlite3/.": {
"redirect": "npmmirror.com/mirrors"
}
},
".carbonads.com": {
"/carbon.": {
"abort": true,
"desc": "广告拦截"
}
},
".buysellads.com": {
"/ads/.": {
"abort": true,
"desc": "广告拦截"
}
}
},
"preSetIpList": {
"github.com": {
"4.237.22.38": true,
"20.26.156.215": true,
"20.87.245.0": true,
"20.201.28.151": true,
"140.82.113.3": true,
"140.82.114.4": true,
"140.82.116.3": true,
"140.82.116.4": true,
"140.82.121.3": true,
"140.82.121.4": true,
"20.200.245.247": true,
"20.27.177.113": true,
"20.205.243.166": true
},
"hub.docker.com": {
"44.221.37.199": true,
"52.44.227.212": true,
"54.156.140.159": true
},
"sessions-bugsnag.docker.com": {
"44.221.37.199": true,
"52.44.227.212": true,
"54.156.140.159": true
},
"api.github.com": {
"20.26.156.210": true,
"20.27.177.116": true,
"20.87.245.6": true,
"20.200.245.245": true,
"20.201.28.148": true,
"20.205.243.168": true,
"20.248.137.49": true,
"140.82.112.5": true,
"140.82.113.6": true,
"140.82.116.6": true,
"140.82.121.6": true
},
"codeload.github.com": {
"20.26.156.216": true,
"20.27.177.114": true,
"20.87.245.7": true,
"20.200.245.246": true,
"20.201.28.149": true,
"20.205.243.165": true,
"20.248.137.55": true,
"140.82.113.9": true,
"140.82.114.10": true,
"140.82.116.10": true,
"140.82.121.9": true
},
".githubusercontent.com": {
"146.75.92.133": true,
"199.232.88.133": true,
"199.232.144.133": true
},
"viewscreen.githubusercontent.com": {
"140.82.112.21": true,
"140.82.112.22": true,
"140.82.113.21": true,
"140.82.113.22": true,
"140.82.114.21": true,
"140.82.114.22": true
},
"github.io": {
"185.199.108.153": true,
"185.199.109.153": true,
"185.199.110.153": true,
"185.199.111.153": true
},
".githubassets.com": {
"185.199.108.154": true,
"185.199.109.154": true,
"185.199.110.154": true,
"185.199.111.154": true
},
"^(analytics|ghcc)\.githubassets\.com$": {
"185.199.108.153": true,
"185.199.110.153": true,
"185.199.109.153": true,
"185.199.111.153": true
},
".pixiv.net": {
"210.140.139.154": true,
"210.140.139.157": true,
"210.140.139.160": true
}
},
"whiteList": {
"cn.": true,
"192.168.": true,
".cn": true,
"china": true,
".dingtalk.com": true,
".apple.com": true,
".microsoft.com": true,
".alipay.com": true,
".qq.com": true,
".baidu.com": true
},
"dns": {
"providers": {
"safe360": {
"server": "tls://dot.360.cn",
"forSNI": true
},
"aliyun": {
"server": "tls://dns.alidns.com"
},
"cloudflare": {
"server": "https://1.1.1.1/dns-query"
},
"quad9": {
"server": "https://9.9.9.9/dns-query"
},
"rubyfish": {
"server": "https://rubyfish.cn/dns-query"
}
},
"mapping": {
".github.com": "quad9",
"github.com": "quad9",
".github.io": "quad9",
".docker.com": "quad9",
".stackoverflow.com": "quad9",
".electronjs.org": "quad9",
".amazonaws.com": "quad9",
".yarnpkg.com": "quad9",
".cloudfront.net": "quad9",
".cloudflare.com": "quad9",
"img.shields.io": "quad9",
".vuepress.vuejs.org": "quad9",
".gh.docmirror.top": "quad9",
".v2ex.com": "quad9",
".pypi.org": "quad9",
".jetbrains.com": "quad9",
".azureedge.net": "quad9"
},
"familyMapping": {
".jetbrains.com": "4",
".azureedge.net": "4",
".stackoverflow.com": "4",
".github.com": "4",
"github.com": "4",
".github.io": "4",
".docker.com": "4",
".electronjs.org": "4",
".amazonaws.com": "4",
".yarnpkg.com": "4",
".cloudfront.net": "4",
".cloudflare.com": "4",
"img.shields.io": "4",
".vuepress.vuejs.org": "4",
".gh.docmirror.top": "4",
".v2ex.com": "4",
".pypi.org": "4"
},
"speedTest": {
"interval": 300000,
"hostnameList": [
"github.com"
],
"dnsProviders": [
"cloudflare",
"safe360",
"rubyfish"
],
"enabled": true
}
},
"enabled": true,
"host": "127.0.0.1",
"port": 31181,
"fakeServerMaxLength": 100,
"setting": {
"NODE_TLS_REJECT_UNAUTHORIZED": true,
"verifySsl": true,
"script": {
"enabled": true,
"defaultDir": "./extra/scripts/"
},
"userBasePath": "/home/kale/.dev-sidecar",
"rootCaFile": {
"certPath": "/home/kale/.dev-sidecar/dev-sidecar.ca.crt",
"keyPath": "/home/kale/.dev-sidecar/dev-sidecar.ca.key.pem"
},
"defaultTimeout": 20000,
"defaultKeepAliveTimeout": 30000,
"timeoutMapping": {
"github.com": {
"timeout": 20000,
"keepAliveTimeout": 30000
}
},
"lowSpeedDelay": 200
},
"compatible": {
"connect": {},
"request": {}
},
"intercept": {
"enabled": true
},
"app": {
"metaInfo": {
"updateLog": "GUI v2.0.2自带配置",
"version": 202604122348,
"id": "internal"
},
"theme": "light",
"remoteConfig": {
"url": "https://raw.giteeusercontent.com/wangliang181230/dev-sidecar-config/raw/main/remote_config.json",
"enabled": true,
"personalUrl": ""
},
"mode": "default",
"autoStart": {
"enabled": false
},
"startShowWindow": true,
"needCheckHideWindow": true,
"showHideShortcut": "Alt + S",
"windowSize": {
"width": 900,
"height": 750
},
"autoChecked": true,
"skipPreRelease": true,
"dock": {
"hideWhenWinClose": false
},
"closeStrategy": 0,
"showShutdownTip": true,
"logFileSavePath": "/home/kale/.dev-sidecar/logs",
"keepLogFileCount": 15,
"maxLogFileSize": 1,
"maxLogFileSizeUnit": "GB"
},
"plugin": {
"git": {
"enabled": true,
"name": "Git.exe代理",
"tip": "如果你没有安装git命令行则不需要启动它",
"setting": {
"sslVerify": true,
"noProxyUrls": {
"https://gitee.com": true,
"https://e.coding.net": true,
"https://codeup.aliyun.com": true
}
}
},
"overwall": {
"targets": {
".github.com": true,
"github.com": true,
".gitbook.io": true,
".nodejs.org": true,
".npmjs.com": true,
".wikimedia.org": true,
".v2ex.com": true,
".azureedge.net": true,
".cloudfront.net": true,
".bing.com": true,
".discourse-cdn.com": true,
".gravatar.com": true,
".docker.com": true,
".vueuse.org": true,
".elastic.co": true,
".optimizely.com": true,
".stackpathcdn.com": true,
".fastly.net": true,
".cloudflare.com": true,
".233v2.com": true,
".v2fly.org": true,
".telegram.org": true,
".amazon.com": true,
".googleapis.com": true,
".google-analytics.com": true,
".cloudflareinsights.com": true,
".intlify.dev": true,
".segment.io": true,
".shields.io": true,
".jsdelivr.net": true,
".z-library.sk": true,
".zlibrary*.se": true,
".discord.com": true,
".wikipedia-on-ipfs.org": true,
".chatgpt.com": false,
".oaiusercontent.com": true,
".huggingface.co": true,
".pixiv.org": true,
".fanbox.cc": true,
".onesignal.com": true,
".greasyfork.org": true,
".cn-greasyfork.org": true,
".notepad-plus-plus.org": true
},
"pac": {
"pacFileUpdateUrl": "https://xget.xi-xu.me/gh/gfwlist/gfwlist/raw/master/gfwlist.txt",
"enabled": true,
"autoUpdate": true,
"pacFilePath": "./extra/pac/pac.txt"
},
"name": "梯子",
"enabled": false,
"server": {},
"serverDefault": {
"ow-prod.docmirror.top": {
"port": 443,
"path": "X2dvX292ZXJfd2FsbF8",
"password": "dev_sidecar_is_666"
}
}
},
"free_eye": {
"Route": {
"timeout": 0.1,
"addrs": {
"IPv4": "8.8.8.8",
"IPv6": "2001:4860:4860::8888"
},
"port": 53
},
"DNS": {
"timeout": 3,
"allow": [
"baidu.cn",
"taobao.com",
"www.gov.cn"
],
"block": [
"wikipedia.org",
"youtube.com",
"facebook.com"
]
},
"TCP": {
"timeout": 3,
"addrs": {
"IPv4": {
"allow": [
"114.114.114.114",
"223.6.6.6"
],
"block": [
"8.8.8.8",
"1.1.1.1"
]
},
"IPv6": {
"allow": [
"2402:4e00::",
"2400:3200:baba::1"
],
"block": [
"2001:4860:4860::8888",
"2606:4700:4700::1111"
]
}
},
"ports": [
80,
443
]
},
"TLS": {
"timeout": 3,
"addrs": {
"IPv4": "172.67.148.147",
"IPv6": "2606:4700:3036::ac43:9493"
},
"snis": {
"allow": "baidu.cn",
"block": "wikipedia.org"
}
},
"name": "网络检测",
"statusOff": true,
"enabled": false,
"tip": "运行网络检测来评估当前网络环境",
"setting": {
"testsDir": "checkpoints",
"config": {
"Route": {
"timeout": 3,
"addrs": {
"IPv4": "8.8.8.8",
"IPv6": "2001:4860:4860::8888"
},
"port": 53
},
"DNS": {
"timeout": 3,
"allow": [
"baidu.com",
"google.com"
],
"block": [
"google.com",
"twitter.com",
"facebook.com",
"youtube.com"
]
},
"TCP": {
"timeout": 3,
"ports": [
80,
443
],
"addrs": {
"IPv4": {
"allow": [
"8.8.8.8"
],
"block": [
"142.250.80.4"
]
},
"IPv6": {
"allow": [
"2001:4860:4860::8888"
],
"block": [
"2607:f8b0:4005:0809:0000:0000:0000:200e"
]
}
}
},
"TLS": {
"timeout": 3,
"addrs": {
"IPv4": "8.8.8.8",
"IPv6": "2001:4860:4860::8888"
},
"snis": {
"allow": "google.com",
"block": "twitter.com"
}
}
}
}
},
"node": {
"name": "NPM加速",
"enabled": false,
"tip": "如果你没有安装nodejs则不需要启动它",
"startup": {
"variables": true
},
"setting": {
"command": "npm",
"strict-ssl": true,
"cafile": false,
"NODE_EXTRA_CA_CERTS": false,
"NODE_TLS_REJECT_UNAUTHORIZED": false,
"registry": "https://registry.npmjs.org",
"registryList": {
"taobao": {
"name": "taobao镜像",
"value": "https://registry.npmmirror.com"
},
"ustclug": {
"name": "中国科学技术大学镜像",
"value": "https://npmreg.proxy.ustclug.org"
}
},
"yarnRegistry": "default",
"yarnRegistryList": {
"taobao": {
"name": "taobao镜像",
"value": "https://registry.npmmirror.com"
}
}
},
"variables": {
"phantomjs_cdnurl": "https://npmmirror.com/mirrors/phantomjs",
"chromedriver_cdnurl": "https://npmmirror.com/mirrors/chromedriver",
"sass_binary_site": "https://npmmirror.com/mirrors/node-sass",
"ELECTRON_MIRROR": "https://npmmirror.com/mirrors/electron/",
"NVM_NODEJS_ORG_MIRROR": "https://npmmirror.com/mirrors/node",
"CHROMEDRIVER_CDNURL": "https://npmmirror.com/mirrors/chromedriver",
"OPERADRIVER": "https://npmmirror.com/mirrors/operadriver",
"ELECTRON_BUILDER_BINARIES_MIRROR": "https://npmmirror.com/mirrors/electron-builder-binaries/",
"PYTHON_MIRROR": "https://npmmirror.com/mirrors/python"
}
},
"pip": {
"name": "PIP加速",
"statusOff": true,
"tip": "如果你没有安装pip则不需要启动它",
"startup": {},
"setting": {
"command": "pip",
"trustedHost": "pypi.org",
"registry": "https://pypi.org/simple/",
"registryList": {
"aliyun": {
"name": "阿里镜像",
"value": "https://mirrors.aliyun.com/pypi/simple/"
},
"baidu": {
"name": "百度镜像",
"value": "https://mirror.baidu.com/pypi/simple/"
},
"douban": {
"name": "豆瓣镜像",
"value": "http://pypi.douban.com/simple/"
},
"sohu": {
"name": "搜狐镜像",
"value": "http://mirrors.sohu.com/Python/"
},
"ustclug": {
"name": "中科大镜像",
"value": "https://pypi.mirrors.ustc.edu.cn/simple/"
},
"bfsu": {
"name": "北京外国语大学镜像",
"value": "https://mirrors.bfsu.edu.cn/pypi/web/simple/"
},
"nju": {
"name": "南京大学镜像",
"value": "https://mirror.nju.edu.cn/pypi/web/simple/"
},
"tsinghua": {
"name": "清华大学镜像",
"value": "https://pypi.tuna.tsinghua.edu.cn/simple/"
},
"hust": {
"name": "华中科大镜像",
"value": "https://mirrors.hust.edu.cn/pypi/web/simple/"
},
"sdut": {
"name": "山东理工大学镜像",
"value": "http://pypi.sdutlinux.org/"
}
}
}
}
},
"proxy": {
"excludeDomesticDomainAllowList": true,
"remoteDomesticDomainAllowListFileUrl": "https://raw.githubusercontent.com/pluwen/china-domain-allowlist/refs/heads/main/allow-list.sorl",
"excludeIpList": {
"cn.": true,
".live.com": true,
"challenges.cloudflare.com": true,
"objects-origin.githubusercontent.com": true,
".kkgithub.com": true,
".cn": true,
"china": true,
".ghproxy.": true,
"ssh.github.com": true,
"www.deepl.com": true,
".csdn.net": true,
".so.com": true,
".baidu.com": true,
".baiducontent.com": true,
".bdimg.com": true,
".bdstatic.com": true,
".bdydns.com": true,
".tencent.com": true,
".qq.com": true,
".weixin.com": true,
".weixinbridge.com": true,
".wechat.com": true,
".idqqimg.com": true,
".gtimg.com": true,
".qpic.com": true,
".qlogo.com": true,
".myapp.com": true,
".aliyun.com": true,
".alipay.com": true,
".taobao.com": true,
".tmall.com": true,
".alipayobjects.com": true,
".dingtalk.com": true,
".mmstat.com": true,
".alicdn.com": true,
".hdslb.com": true,
"gitee.com": true,
".gitee.com": true,
".gitee.io": true,
".giteeusercontent.com": true,
".mozilla.org": true,
".mozilla.com": true,
".mozilla.net": true,
".firefox.com": true,
".firefox.org": true,
".mozillademos.org": true,
".mozillians.org": true,
".mozillians.net": true,
".mozillians.com": true,
".sonatype.org": true,
".maven.org": true,
".mvnrepository.com": true,
".apple.com": true,
".icloud.com": true,
".microsoft.com": true,
".windows.com": true,
".office.com": true,
".office.net": true,
".msn.com": true,
".wps.com": true,
".wps.net": true,
".ksord.com": true,
".qihoo.com": true,
".qihucdn.com": true,
".360.com": true,
".360safe.com": true,
".360buyimg.com": true,
".360buy.com": true,
".jd.com": true,
".jcloud.com": true,
".jcloudcs.com": true,
".jcloudcache.com": true,
".jcloudcdn.com": true,
".jcloudlb.com": true,
".bilibili.com": true,
".bilivideo.com": true,
".biliapi.net": true,
".10086.com": true,
".10086cloud.com": true,
".139.com": true,
".xunlei.com": true,
".icpapi.com": true,
".navicat.com": true,
"localhost": true,
"localhost.": true,
"127...": true,
"test.": true,
"10...": true,
"172.16..": true,
"172.17..": true,
"172.18..": true,
"172.19..": true,
"172.20..": true,
"172.21..": true,
"172.22..": true,
"172.23..": true,
"172.24..": true,
"172.25..": true,
"172.26..": true,
"172.27..": true,
"172.28..": true,
"172.29..": true,
"172.30..": true,
"172.31..": true,
"192.168..*": true
},
"enabled": true,
"name": "系统代理",
"use": "local",
"other": [],
"proxyHttp": false,
"setEnv": false,
"setCaBundle": false,
"autoUpdateDomesticDomainAllowList": true,
"domesticDomainAllowListFilePath": "./extra/proxy/domestic-domain-allowlist.txt"
}
}