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

[重要]关于上传失败 #43

Open
MarSeventh opened this issue Sep 9, 2024 · 19 comments
Open

[重要]关于上传失败 #43

MarSeventh opened this issue Sep 9, 2024 · 19 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@MarSeventh
Copy link
Owner

MarSeventh commented Sep 9, 2024

这两天出现了不少上传失败的issue,这里举几个可能的原因,出问题的麻烦自查一下:
1.TG_BOT_TOKENTG_CHAT_ID未正确配置
2.未绑定KV数据库(我的原因,转移到telegram后KV数据库必须绑定,否则无法正常工作,已经catch了未配置KV情况下的error。文档中配置KV数据库也变成了必选项。)
3.未更新至最新版
4.其他问题会在文档第5节持续更新

@MicroMatrixOrg
Copy link

大佬,这个具体的工作流程和API能分享下吗?我也想开发。

@MarSeventh
Copy link
Owner Author

大佬,这个具体的工作流程和API能分享下吗?我也想开发。

你可以帮我整理(,这段时间抽不出身来做了,以后可能会考虑。

@MarSeventh MarSeventh added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 9, 2024
@geekqq
Copy link

geekqq commented Sep 9, 2024

我也出现了上传失败的情况。
1.TG_BOT_TOKEN和TG_CHAT_ID未正确配置
BOT TOKEN很好搞。但是这个TG_CHAT_ID是不是应该是截图中的频道ID?-1 开头的那个数字
?
image

@MarSeventh
Copy link
Owner Author

我也出现了上传失败的情况。
1.TG_BOT_TOKEN和TG_CHAT_ID未正确配置
BOT TOKEN很好搞。但是这个TG_CHAT_ID是不是应该是截图中的频道ID?-1 开头的那个数字
?
image

是的

@Jiushuself
Copy link

为什么我还是上传失败啊,检查了几遍。TG_BOT_TOKEN和TG_CHAT_ID反复检查了几遍,把有关的问题都排除了一下还是不行。

@MarSeventh
Copy link
Owner Author

为什么我还是上传失败啊,检查了几遍。TG_BOT_TOKEN和TG_CHAT_ID反复检查了几遍,把有关的问题都排除了一下还是不行。

检查BOT是不是管理员,检查kv数据库配置

@Jiushuself
Copy link

检查了,排除了,还是有问题,如下图
36fdb1cf2c079b2226671b0cbb02bdb
0afb2f92a0b5623ae7a779c8999dcbc
d7e0914c955060fbf6c8d8c5d2b514c

@geekqq
Copy link

geekqq commented Sep 10, 2024 via email

@Jiushuself
Copy link

我的已经没问题了。 stonehoo

On Mon, Sep 9, 2024 at 7:56 PM Jiushuself @.> wrote: 检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb.png (view on web) https://github.com/user-attachments/assets/785aa30b-fb5a-4e16-bc48-d0781fa1dec7 0afb2f92a0b5623ae7a779c8999dcbc.png (view on web) https://github.com/user-attachments/assets/fab7257c-bab0-438e-b48e-1ac6af14e213 d7e0914c955060fbf6c8d8c5d2b514c.jpg (view on web) https://github.com/user-attachments/assets/66608b58-e6e0-447a-8ddc-e6c9db0f35d1 — Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMW3BPYIBAIYDJK2H2QHYIDZVZNUNAVCNFSM6AAAAABN4EOHGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZGUYDQOBSGI . You are receiving this because you commented.Message ID: @.>

大佬给我看看问题出在哪里

@MarSeventh
Copy link
Owner Author

我的已经没问题了。 stonehoo

On Mon, Sep 9, 2024 at 7:56 PM Jiushuself @.> wrote: 检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb.png (view on web) https://github.com/user-attachments/assets/785aa30b-fb5a-4e16-bc48-d0781fa1dec7 0afb2f92a0b5623ae7a779c8999dcbc.png (view on web) https://github.com/user-attachments/assets/fab7257c-bab0-438e-b48e-1ac6af14e213 d7e0914c955060fbf6c8d8c5d2b514c.jpg (view on web) https://github.com/user-attachments/assets/66608b58-e6e0-447a-8ddc-e6c9db0f35d1 — Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMW3BPYIBAIYDJK2H2QHYIDZVZNUNAVCNFSM6AAAAABN4EOHGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZGUYDQOBSGI . You are receiving this because you commented.Message ID: _@**.**_>

大佬给我看看问题出在哪里

如果TG频道里面都没有出现图片,大概率是TG配置有问题。

@sucooer
Copy link

sucooer commented Sep 10, 2024

我的已经没问题了。 stonehoo

On Mon, Sep 9, 2024 at 7:56 PM Jiushuself @.> wrote: 检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb.png (view on web) https://github.com/user-attachments/assets/785aa30b-fb5a-4e16-bc48-d0781fa1dec7 0afb2f92a0b5623ae7a779c8999dcbc.png (view on web) https://github.com/user-attachments/assets/fab7257c-bab0-438e-b48e-1ac6af14e213 d7e0914c955060fbf6c8d8c5d2b514c.jpg (view on web) https://github.com/user-attachments/assets/66608b58-e6e0-447a-8ddc-e6c9db0f35d1 — Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMW3BPYIBAIYDJK2H2QHYIDZVZNUNAVCNFSM6AAAAABN4EOHGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZGUYDQOBSGI . You are receiving this because you commented.Message ID: _@**.**_>

大佬给我看看问题出在哪里

如果TG频道里面都没有出现图片,大概率是TG配置有问题。

发现一个问题,图片上传后体积会变大,90k的图片变成了400多k

@LuweiLee
Copy link

预览里的变量我没添加也能成功。

@LuweiLee
Copy link

我的已经没问题了。 stonehoo

On Mon, Sep 9, 2024 at 7:56 PM Jiushuself @.> wrote: 检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb.png (view on web) https://github.com/user-attachments/assets/785aa30b-fb5a-4e16-bc48-d0781fa1dec7 0afb2f92a0b5623ae7a779c8999dcbc.png (view on web) https://github.com/user-attachments/assets/fab7257c-bab0-438e-b48e-1ac6af14e213 d7e0914c955060fbf6c8d8c5d2b514c.jpg (view on web) https://github.com/user-attachments/assets/66608b58-e6e0-447a-8ddc-e6c9db0f35d1 — Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMW3BPYIBAIYDJK2H2QHYIDZVZNUNAVCNFSM6AAAAABN4EOHGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZGUYDQOBSGI . You are receiving this because you commented.Message ID: _@**.**_>

大佬给我看看问题出在哪里

预览变量删掉试试

@LuweiLee
Copy link

https://luckyting.top/index.php/archives/20/

我也写了篇教程文章

@LuweiLee
Copy link

检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb 0afb2f92a0b5623ae7a779c8999dcbc d7e0914c955060fbf6c8d8c5d2b514c

参考我文章,你的cf变量少了三个,验证码,和后台管理账号和密码。
https://luckyting.top/index.php/archives/20/

@Jiushuself
Copy link

检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb 0afb2f92a0b5623ae7a779c8999dcbc d7e0914c955060fbf6c8d8c5d2b514c

参考我文章,你的cf变量少了三个,验证码,和后台管理账号和密码。 https://luckyting.top/index.php/archives/20/

谢谢,我已经解决了,问题是频道添加的机器人写的是username而不是机器人的名称,导致一直不成功

@xingyunzhou
Copy link

检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb 0afb2f92a0b5623ae7a779c8999dcbc d7e0914c955060fbf6c8d8c5d2b514c

参考我文章,你的cf变量少了三个,验证码,和后台管理账号和密码。 https://luckyting.top/index.php/archives/20/

谢谢,我已经解决了,问题是频道添加的机器人写的是username而不是机器人的名称,导致一直不成功

没理解“问题是频道添加的机器人写的是username而不是机器人的名称”什么意思。。。我这也是上传失败!

@Jiushuself
Copy link

检查了,排除了,还是有问题,如下图 36fdb1cf2c079b2226671b0cbb02bdb 0afb2f92a0b5623ae7a779c8999dcbc d7e0914c955060fbf6c8d8c5d2b514c

参考我文章,你的cf变量少了三个,验证码,和后台管理账号和密码。 https://luckyting.top/index.php/archives/20/

谢谢,我已经解决了,问题是频道添加的机器人写的是username而不是机器人的名称,导致一直不成功

没理解“问题是频道添加的机器人写的是username而不是机器人的名称”什么意思。。。我这也是上传失败!

创建机器人的时候,第一步让你输入机器人的名称name,第二步让你输入使用这个机器人的username,接着才给你返回token,那么在频道中添加的机器人就是第一个输入的name(机器人名称),而不是username

@SinMu-L
Copy link

SinMu-L commented Sep 29, 2024

可能和机器人在Channel中的权限有关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants