PaddleOCR
PaddleOCR copied to clipboard
ai studio上paddleocrvl api并发调用 返回429,后来在调用返回403
🔎 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
是稳定复现的吗,目前ai studio调用量较大,如果是偶现问题,可能和服务端排队有关
是稳定复现的吗,目前ai studio调用量较大,如果是偶现问题,可能和服务端排队有关
感谢回复,是稳定复现的,今天也调用了,目前一直是403了,昨天测试5进程并发,10进程并发都没问题,15进程并发时开始报错,后来一直时429,又尝试单次调用了几次,变成403了,我应该怎么能继续使用呢
使用的api调用方式是官方文档提供的
您好,429是限流了,每个用户每个服务每天支持100次调用。403的话看起来是token传入的不对,可以检测一下传入的token哈
好的,感谢