my session sometimes bad. Thw terminal says, that a have an error 404(auth key not found). And this error prints a lot, as i think, client trying to connect to this session, but it isnt be good.
How can i except this error, when this error is showing? Thanks, guys!
Show the errors as they are with the logs. and do you have this issue with a single session of your own, does it happen at start-up or at certain point of run
Errors do not appear, the script simply "freezes", trying to connect to an invalid session. I can't even say it.
And this error is issued only if the problem is EXACTLY in the session
I think we need to somehow check whether there are Auth_key in this session You can tell if there is a way to check if the session is generated correctly
It is not that. you can't establish connection to server if there is no authKey. it's not that the key is invalid, it's a buffer error after the connection is established. and you sound like you use mass sessions and not a single one of your own, for the latter, just re-login it may also be the exported authorizations or something if you download files
So, what if you just need to skip session data that is not collected correctly and they do not have an AuthKey? In general, I was interested in this at first.
i encourage you to debug this one and see if you can figure it out, so everyone else can benefit from a fix i think i've seen that (when some have sent me their session to look into it). iirc telethon works fine - it connects and waits for the network but if telegram holds the connection without sending anything, welp
I can send a couple of sessions to study if needed. As far as I understand, the script freezes, I need this freeze to stop and the loop end. But, due to the fact that the creak is waiting for an answer from function. I dont understand, what happens 😅
Обсуждают сегодня