-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug?]: 发送短视频消息报错Upload resources for VideoEntity failed #432
Labels
bug?
Maybe it's a bug
Comments
这个问题的原因找到了,因为指定的url返回的302,需要forward才能获取base64,另外发现新的问题,发送的视频偶尔出现资源已过期,也没报错 |
Lagrange后台日志会有
但是直接用浏览器访问地址,返回
|
请尝试更新最新版本 |
+1 |
目前 VideoEntity 只支持小于 1M 的视频(忘了 owner 修复了没有 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请确保您已阅读以上注意事项,并勾选下方的确认框。
Lagrange项目
OneBot
所使用/依赖的Lagrange项目对应的commit
839c225
运行环境
Windows
运行架构
x64
连接方式
反向 WebSocket
重现步骤
bot发送短视频给用户时,会报错Upload resources for VideoEntity failed,message为{"type": "video", "data": { "file": "https://aweme.snssdk.com/aweme/v1/play/?video_id=v0d00fg10000cnc5mejc77u07dfmt3ug&ratio=1080p&line=0"}}
期望的结果是什么?
正确发送短视频
实际的结果是什么?
发送失败,报错Upload resources for VideoEntity failed
简单的复现代码/链接(可选)
No response
Trace 级别日志记录(可选)
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: