easysoft / easysoft/zui

文件上传-七牛:上传100%后,自动重新上传

Open
#155 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.8k
Forks
678
Avg merge
6d 21h
Merged PRs (30d)
7

Description

使用ZUI版本:1.9.1

查看Network发现

Request URL: http://upload.qiniu.com/
Request Method: POST
Status Code: 400 Bad Request
Response
{"error":"incorrect region, please use up-z2.qiniup.com"}

提供了uptoken,domain,domain也就是七牛融合 CDN 测试域名也还在有效期,流量也没超出,上传时一切正常,就是100%后就自动重新上传了

qiniu: {
	domain: 'http://pyfkzo66m.bkt.clouddn.com',
	uptoken : 'xxxxx'
},

求解决,谢谢

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

Start by reproducing the upload with the reported ZUI 1.9.1 configuration and inspect the upload component's Qiniu request handling. Compare the requested upload endpoint with Qiniu's region error, and verify that a successful upload completes once without an automatic retry.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.