Skip to content
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

无法正确创建弹幕文件 #9

Open
GrassBlock1 opened this issue Feb 21, 2022 · 2 comments
Open

无法正确创建弹幕文件 #9

GrassBlock1 opened this issue Feb 21, 2022 · 2 comments

Comments

@GrassBlock1
Copy link

按照readme设置之后无法成功发送弹幕

F12 开发者控制台显示
{"code":0,"msg":"Danmaku not completed:","0":{"token":"tokendem0","id":"nv-danmutest-35934","author":"guest","time":0,"text":"ggjgbm","color":13959417,"type":1}}
而我查阅了SCF后台的触发日志,发现对于创建弹幕文件的请求为403,如以下的pastebin所示:
https://pastebin.com/XBiaTebq

我猜测是腾讯云对于私有读写的权限更改所造成的http标头不正确导致的,有什么解决办法吗?在此感谢。

@TennousuAthena
Copy link
Owner

尝试将bucket权限改为公有读写

@GrassBlock1
Copy link
Author

尝试将bucket权限改为公有读写

更改后问题似乎解决了(安全性未知) 但是现在又出现获取不到 danmuku id 的 情况...

Warning: file_get_contents(https://d*********.myqcloud.com/data/.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

 in /var/user/danmaku.php on line 111 

(需要另开issue请提出)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants