Skip to content

无法上传 #684

Open
Open

Description

@abcd2624
  • 你是否在现有 Issue列表 中搜索过相同问题,但未找到?

Ⅰ. 请说明操作系统及DS的版本号:

  1. 操作系统:win11
  2. DS版本号:2.2.0

Ⅱ. 问题描述:

上传显示Something went really wrong, and we can’t process that file.

Ⅲ. 期望的结果:

可以上传

Ⅳ. 如何复现问题?

开着软件上传文件

Ⅴ. 请提供相关的错误日志,尽可能的详细:(日志文件在 ${user.home}/.dev-sidecar/logs/ 目录下)

没有错误日志

点击查看日志

Ⅵ. 有必要时,请提供 ${user.home}/.dev-sidecar/running.json 文件内容:

点击查看运行参数
{
	"intercepts": {
		"github.com": {
			"^(/[\\w-.]+){2,}/?(\\?.*)?$": {
				"tampermonkeyScript": "https://gitee.com/wangliang181230/dev-sidecar-config/raw/main/tampermonkey.js",
				"script": "https://gitee.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.lug.ustc.edu.cn",
				"backup": [
					"gapis.geekzu.org"
				],
				"test": "ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"
			}
		},
		"fonts.googleapis.com": {
			".*": {
				"proxy": "fonts.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": {},
	"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": {},
		"familyMapping": {},
		"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": "C:\\Users\\Administrator\\.dev-sidecar",
		"rootCaFile": {
			"certPath": "C:\\Users\\Administrator\\.dev-sidecar\\dev-sidecar.ca.crt",
			"keyPath": "C:\\Users\\Administrator\\.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"
		},
		"remoteConfig": {
			"url": "https://gitee.com/wangliang181230/dev-sidecar-config/raw/main/remote_config.json",
			"enabled": true,
			"personalUrl": ""
		},
		"closeStrategy": 2,
		"mode": "default",
		"autoStart": {
			"enabled": false
		},
		"startShowWindow": true,
		"needCheckHideWindow": true,
		"showHideShortcut": "Alt + S",
		"windowSize": {
			"width": 900,
			"height": 750
		},
		"theme": "dark",
		"autoChecked": true,
		"skipPreRelease": true,
		"dock": {
			"hideWhenWinClose": false
		},
		"showShutdownTip": true,
		"logFileSavePath": "C:\\Users\\Administrator\\.dev-sidecar\\logs",
		"keepLogFileCount": 15,
		"maxLogFileSize": 1,
		"maxLogFileSizeUnit": "GB"
	},
	"plugin": {
		"overwall": {
			"targets": {
				"*.github.com": true,
				"*github*.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
			},
			"pac": {
				"pacFileUpdateUrl": "https://raw.githubusercontent.com/gfwlist/gfwlist/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"
				}
			}
		},
		"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
				}
			}
		},
		"node": {
			"enabled": true,
			"setting": {
				"registry": "https://registry.npmmirror.com",
				"yarnRegistry": "https://registry.npmmirror.com",
				"command": "npm",
				"strict-ssl": true,
				"cafile": false,
				"NODE_EXTRA_CA_CERTS": false,
				"NODE_TLS_REJECT_UNAUTHORIZED": false,
				"registryList": {
					"taobao": {
						"name": "taobao镜像",
						"value": "https://registry.npmmirror.com"
					},
					"ustclug": {
						"name": "中国科学技术大学镜像",
						"value": "https://npmreg.proxy.ustclug.org"
					}
				},
				"yarnRegistryList": {
					"taobao": {
						"name": "taobao镜像",
						"value": "https://registry.npmmirror.com"
					}
				}
			},
			"name": "NPM加速",
			"tip": "如果你没有安装nodejs则不需要启动它",
			"startup": {
				"variables": true
			},
			"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": {
			"setting": {
				"trustedHost": "mirrors.aliyun.com",
				"registry": "https://mirrors.aliyun.com/pypi/simple/",
				"command": "pip",
				"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/"
					}
				}
			},
			"name": "PIP加速",
			"statusOff": true,
			"tip": "如果你没有安装pip则不需要启动它",
			"startup": {}
		}
	},
	"proxy": {
		"excludeDomesticDomainAllowList": true,
		"remoteDomesticDomainAllowListFileUrl": "https://raw.githubusercontent.com/pluwen/china-domain-allowlist/refs/heads/main/allow-list.sorl",
		"excludeIpList": {},
		"enabled": true,
		"name": "系统代理",
		"use": "local",
		"other": [],
		"proxyHttp": false,
		"setEnv": false,
		"setCaBundle": false,
		"autoUpdateDomesticDomainAllowList": true,
		"domesticDomainAllowListFilePath": "./extra/proxy/domestic-domain-allowlist.txt"
	}
}

Activity

  1. Vingturbo commented on Aug 17, 2026

    @Vingturbo

    这个问题,如果我没记错,好久了

  2. cute-omega commented on Aug 18, 2026

    @cute-omega
    Collaborator

    什么上传
    往哪上传
    叽里咕噜说什么呢

  3. added
    Waiting for a reply/降级保留issue/inactive对于open issue,是等待用户于3天内回复的问题,无回复将被关闭;对于closed issue,这是代表问题虽然因不活跃而关闭,但仅仅是被降级,仍然允许回复并可以视情况再次打开
    on Aug 18, 2026
  4. Vingturbo commented on Aug 18, 2026

    @Vingturbo

    意思是,无法向github releases上传文件

  5. cute-omega commented on Aug 18, 2026

    @cute-omega
    Collaborator

    配置版本信息?(不知道这是啥就发个ds底栏的截图)

  6. Vingturbo commented on Aug 18, 2026

    @Vingturbo

    其实你完全可以自己稍微测试一下,这似乎是一个很早的问题了

  7. cute-omega commented on Oct 22, 2026

    @cute-omega
    Collaborator

    2.3.2还有吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingWaiting for a reply/降级保留issue/inactive对于open issue,是等待用户于3天内回复的问题,无回复将被关闭;对于closed issue,这是代表问题虽然因不活跃而关闭,但仅仅是被降级,仍然允许回复并可以视情况再次打开

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions