mandrake888
mandrake888
thanx dude i was stuck in the acces token stuff until i read the faq that say the token is provided by the browser cookies using f12
# Telegram API Configuration APP_ID=37808012 APP_HASH=8b556736c4gf5e10r09dc4t744b5e7cb JWT_SECRET=6672389084:AAEYL56u7Q_lInLkwFB8beMZqShZDY2Ue88 DATABASE_URL=postgres://clarence:[email protected]/telegram_bot_db PORT=8030
i already change everything no data is correct i meant is altered on purpose those numbers are different that the real one
{"level":"debug","ts":"2024-01-04T02:37:26.726Z","logger":"uploads","msg":"uploading file","fileName":"Anaconda.mkv","partName":"dcc5d85f960a41878dc150cc85c03889","bot":"6651321184","botNo":0,"chunkNo":2,"partSize":508637545} {"level":"info","ts":"2024-01-04T02:39:16.128Z","msg":"/api/uploads/0aec2d1dd8d0d8e439446cfabdf8859d","status":200,"method":"GET","path":"/api/uploads/0aec2d1dd8d0d8e439446cfabdf8859d","query":"","ip":"192.168.1.15","user-agent":"rclone/v1.65.3","latency":0.238433974,"time":"2024-01-04T02:39:16Z"} {"level":"debug","ts":"2024-01-04T02:39:39.416Z","logger":"uploads","msg":"upload finished","fileName":"Anaconda.mkv","partName":"2b3f1f1e0ee64be4b11c28b2e67020d5","chunkNo":2} {"level":"info","ts":"2024-01-04T02:39:39.416Z","msg":"/api/uploads/0aec2d1dd8d0d8e439446cfabdf8859d","status":201,"method":"POST","path":"/api/uploads/0aec2d1dd8d0d8e439446cfabdf8859d","query":"channelId=2060022017&encrypted=false&fileName=Anaconda.mkv&partName=2b3f1f1e0ee64be4b11c28b2e67020d5&partNo=2","ip":"192.168.1.15","user-agent":"rclone/v1.65.3","latency":508.328979927,"time":"2024-01-04T02:39:39Z"} {"level":"error","ts":"2024-01-04T02:39:50.895Z","logger":"uploads","msg":"uploadFile","error":"callback: upload part: send upload part 0 RPC: retry middleware skip: rpcDoRequest: rpc error code 400: FILE_PART_EMPTY","errorVerbose":"callback:\n github.com/gotd/td/telegram.(*Client).Run.func3\n github.com/gotd/[email protected]/telegram/connect.go:151\n - upload part:\n github.com/gotd/td/telegram/uploader.(*Uploader).bigLoop.func2\n github.com/gotd/[email protected]/telegram/uploader/big.go:109\n...
I tried it with the flag apparently the file is passed but it only remains recorded as if it was but in reality it does not work because when trying...
I know I didn't do it right, that's why I'm asking to fix it.
well in Postgres the env file is set up like this but it is not the real data for security purposes APP_ID=37808012 APP_HASH=8b556736c4gf5e10r09dc4t744b5e7cb JWT_SECRET=6672389084:AAEYL56u7Q_lInLkwFB8beMZqShZDY2Ue88 DATABASE_URL=postgres://clarence:[email protected]/telegram_bot_db PORT=8068 ENV=true in rclone I...
{"level":"error","ts":"2024-01-04T13:37:37.792-0500","msg":"failed to clean pending files","user":1745817146,"error":"callback: retry middleware skip: rpcDoRequest: rpc error code 400: CHANNEL_INVALID","errorVerbose":"callback:\n github.com/gotd/td/telegram.(*Client).Run.func3\n github.com/gotd/[email protected]/telegram/connect.go:151\n - retry middleware skip:\n github.com/divyam234/teldrive/internal/retry.(*retry).Handle.retry.Handle.func1\n github.com/divyam234/teldrive/internal/retry/retry.go:34\n - rpcDoRequest:\n github.com/gotd/td/internal/mtproto.(*Conn).Invoke\n github.com/gotd/[email protected]/internal/mtproto/rpc.go:44\n - rpc error code...
iam trying since the first day but without succes of upload bigger file than an mp3 INFO /api/auth/session {"status": 200, "method": "GET", "path": "/api/auth/session", "query": "", "ip": "127.0.0.1", "user-agent": "Mozilla/5.0...