PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

ai studio上paddleocrvl api并发调用 返回429,后来在调用返回403

Open Aristomd opened this issue 2 months ago • 3 comments

🔎 Search before asking

  • [x] I have searched the PaddleOCR Docs and found no similar bug report.
  • [x] I have searched the PaddleOCR Issues and found no similar bug report.
  • [x] I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

多进程并发调用响应出错

🏃‍♂️ Environment (运行环境)

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

无 assert response.status_code == 200 AssertionError 403

Aristomd avatar Oct 28 '25 08:10 Aristomd

是稳定复现的吗,目前ai studio调用量较大,如果是偶现问题,可能和服务端排队有关

changdazhou avatar Oct 29 '25 02:10 changdazhou

是稳定复现的吗,目前ai studio调用量较大,如果是偶现问题,可能和服务端排队有关

感谢回复,是稳定复现的,今天也调用了,目前一直是403了,昨天测试5进程并发,10进程并发都没问题,15进程并发时开始报错,后来一直时429,又尝试单次调用了几次,变成403了,我应该怎么能继续使用呢

Aristomd avatar Oct 29 '25 02:10 Aristomd

使用的api调用方式是官方文档提供的

Aristomd avatar Oct 29 '25 02:10 Aristomd

您好,429是限流了,每个用户每个服务每天支持100次调用。403的话看起来是token传入的不对,可以检测一下传入的token哈

changdazhou avatar Oct 30 '25 06:10 changdazhou

好的,感谢

Aristomd avatar Oct 31 '25 02:10 Aristomd