Comments (7)
+1
from pagermaid-pyro.
目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。
另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。
from pagermaid-pyro.
目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。 另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。
我的vps内存1G的。原先最早的是我用python写了个自动运行的脚本,没有掉线过。
from pagermaid-pyro.
目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。 另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。
我的vps内存1G的。原先最早的是我用python写了个自动运行的脚本,没有掉线过。
求分享脚本~
from pagermaid-pyro.
目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。 另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。
我的vps内存1G的。原先最早的是我用python写了个自动运行的脚本,没有掉线过。
求分享脚本~
上面的重现步骤那里的链接
from pagermaid-pyro.
提供一个关于断线的日志:exception.一串数字.pgp.txt
File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/advanced/invoke.py", line 79, in invoke
r = await self.session.invoke(
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 412, in invoke
return await self.invoke(query, retries - 1, timeout)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 412, in invoke
return await self.invoke(query, retries - 1, timeout)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 412, in invoke
return await self.invoke(query, retries - 1, timeout)
[Previous line repeated 7 more times]
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 402, in invoke
raise e from None
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 389, in invoke
return await self.send(query, timeout=timeout)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 340, in send
raise e
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 337, in send
await self.connection.send(payload)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/connection/connection.py", line 69, in send
await self.protocol.send(data)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/connection/transport/tcp/tcp_abridged.py", line 38, in send
await super().send(
File "/usr/local/lib/python3.10/dist-packages/pyrogram/connection/transport/tcp/tcp.py", line 105, in send
raise OSError(e)
OSError: Connection lost
-----END TRACEBACK-----
Error: "Connection lost".
from pagermaid-pyro.
fixed in v1.4.5
from pagermaid-pyro.
Related Issues (20)
- [Bug]: mixpanel 异步杀手
- [Bug]: python3 -m pagermaid 執行錯誤 HOT 5
- [Bug]: docker compose HOT 1
- [Bug]: Openwrt里docker安装不能登陆账号,报错了
- [Bug]: 在 python 3.12 下无法运行 HOT 1
- [Feat]: Add timezone to config.yml
- [Feat]: 新号会死号 HOT 23
- [Bug]: HOT 2
- [Feat]: 网页登录
- [Bug]: 在python3.12下运行的时候,按CTRL+c终止运行时会产生报错 HOT 1
- 英国的giffgaff卡,区号为+44的号码在部署的时候提示号码不正确。。。 HOT 6
- [Bug]: 请问,甲骨文的amd机器是不是无法部署,我无论用脚本还是原版分部部署都没成功 HOT 1
- [Bug]: 在web临时关闭插件提示:操作失败 HOT 1
- [Bug]: 甲骨文的ARM机器上无法登录 HOT 1
- [Feat]: 为 userbot 增加类似 /command@bot 语法,防止在 userbot 和 bot 过多的群一呼百应 HOT 1
- docker-compose.yml 搭建报错,无法运行! [Bug]: OSError: [Errno 18] Invalid cross-device link: 'config.yml' -> 'data/config.yml' HOT 2
- [Bug]: 怀疑内存泄漏,过段时间就卡死 HOT 1
- [Bug]: 在docker中部署会出现内存和CPU占用满的情况
- [Feat]: Better initialization process in container environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagermaid-pyro.