Skip to content

[BUG] 云盘空间不足导致的歌曲上传失败没有被很好的catch #169

@Ovler-Young

Description

@Ovler-Young

请至少提供以下信息,帮助排查问题

后端日志如下:

ERROR  requestWyyApi failed:  {
 status: 506,
 body: {
   code: 506
 },
 cookie: []
}

ERROR  requestWyyApi respond non 200, response:  false

ERROR  request failed. false

ERROR  upload song failed, uid: [REDACTED], path: /tmp/melody-tmp-songs/[FILENAME].mp3

INFO upload song failed, try again: /tmp/melody-tmp-songs/[FILENAME].mp3

复现步骤

  1. 用尽网易云云盘空间
  2. 继续尝试上传云盘
  3. 遇到506问题

目前尝试通过 #168 来缓解空间压力。

希望改进:

  • 当遇到 506 时,提示用户可能是云盘空间不足
  • 识别并归类为永久性失败,避免无意义的重试

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions