Git Product home page Git Product logo

Comments (7)

lv4lv avatar lv4lv commented on August 22, 2024

+1

from pagermaid-pyro.

LevineWoo avatar LevineWoo commented on August 22, 2024

目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。
另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。

from pagermaid-pyro.

MicroMatrixOrg avatar MicroMatrixOrg commented on August 22, 2024

目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。 另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。

我的vps内存1G的。原先最早的是我用python写了个自动运行的脚本,没有掉线过。

from pagermaid-pyro.

lv4lv avatar lv4lv commented on August 22, 2024

目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。 另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。

我的vps内存1G的。原先最早的是我用python写了个自动运行的脚本,没有掉线过。

求分享脚本~

from pagermaid-pyro.

MicroMatrixOrg avatar MicroMatrixOrg commented on August 22, 2024

目前我测试的情况是,要完全保证与tg服务器连通性,比如软路由用机场线路的,机场线路断线不行。 另外的是负载不能太高,不然会挤占或排队太久也会掉线。我目前是换了一台境外小鸡运行就没这样的情况了。

我的vps内存1G的。原先最早的是我用python写了个自动运行的脚本,没有掉线过。

求分享脚本~

上面的重现步骤那里的链接

from pagermaid-pyro.

lv4lv avatar lv4lv commented on August 22, 2024

提供一个关于断线的日志: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.

omg-xtao avatar omg-xtao commented on August 22, 2024

fixed in v1.4.5

from pagermaid-pyro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.