10206
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
I moved this discussion to the off-topic group.
Читать полностью…
The DPI is 50/50. Sometimes it decides to block stuff, sometimes it doesnt.
Читать полностью…
if it will have problems there i will run it with logging.DEBUG and see what happens then
Читать полностью…
I see systemd services in my nightmares. No, I haven't tried that yet. Trying to run on a different server in a less strict network environment (a VPS in Germany instead of my file server in Russia). Also the network mode was set to host so docker shouldn't have used any virtual interfaces.
Читать полностью…
There is nothing wrong in the bot code, must be something else. Have you tried running without docker, just to see if you can replicate the problem?
Читать полностью…
trust_env variable makes it inherit http_proxy
Читать полностью…
Just put the proxy in the aiohttp client.
Also move your http session outside and just reuse it.
session = aiohttp.ClientSession()Читать полностью…
# Inside your functions since it’s reusable.
async with session.get() as resp:
return resp
Ah, looks like 5 minutes and 30 seconds on binding to socket.
Читать полностью…
Yeah but it’s 200 OK so I think the problem is in the processing.
Читать полностью…
both admins, separate groups though, one has an upgraded username and one doesn't
Читать полностью…
Is anyone else noticing bot message edits showing in recent actions? For some reason on one bot it's not showing any recent actions but on the main bot it's causing a lot of recent actions
Читать полностью…
Where can I find source code for a Telegram shop bot? If you have any links or GitHub repositories, I'd really appreciate it if you could share them.
Читать полностью…
Can a bot know which user is its owner, as in the person who created it though botfather?
Читать полностью…
Which vps provides unmetered bandwidth and port speed more than 1gpps and cheap price
Читать полностью…
If your thesis is right (blocked by ISP) you should not see the 200 response or you should see error log messages.
Читать полностью…
Indeed, but just for debug only, you can run directly the python process and monitor for a day or two
Читать полностью…
First rule of debugging is strip any unnecessary part
Читать полностью…
Ahh I dont use that since I have to retry the request with other proxy if it fails.
Читать полностью…
You can also put the proxy inside the ClientSession() using TCPConnector
Читать полностью…
Doesnt aiohttp session require with? I remember trying it that way years ago but it didnt work :(
Читать полностью…
But that would mean A LOT of requests get piled up that it got stuck yesterday at 17.
Читать полностью…
It may be that klipy api is getting randomly blocked by my ISP and the requests to it get stuck? I need some more logging to be sure. Aiohttp doesnt trust http_proxy env var by default according to google
Читать полностью…
i hope it's not another case of upgraded usernames giving unintended side effects
Читать полностью…
I moved this discussion to the off-topic group.
Читать полностью…
Ah I have discovered the @BotSupport account
Читать полностью…