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

TG API Throttle #3

Open
pouling opened this issue Jun 8, 2022 · 1 comment
Open

TG API Throttle #3

pouling opened this issue Jun 8, 2022 · 1 comment

Comments

@pouling
Copy link

pouling commented Jun 8, 2022

Try to run the command python3 feeder.py --getall
everything start, but after a while I start seeing error like that

ERROR [api.py:116 - _check_response() ] Something went wrong (401): {'reason': 'Max Connection Attempts reached, Please wait 299s', 'status': 'error'}

and it crash after saying this

-752095614
Traceback (most recent call last):
File "feeder.py", line 155, in
client.loop.run_until_complete(get_entity_messages(client, entity, min_id=min_id, max_id=max_id))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "feeder.py", line 77, in get_entity_messages
await telegram.get_all_channel_messages(client, entity, pyail, min_id=min_id, max_id=max_id, feeder_uuid=feeder_uuid)
File "/home/********/ail-feeder-telegram/bin/telegram.py", line 199, in get_all_channel_messages
dict_meta['channel_id'] = message.input_chat.channel_id
AttributeError: 'InputPeerChat' object has no attribute 'channel_id'

@oencarnacion
Copy link

Same problem, any news? @pouling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants