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

[error] Got nothing in the socket in DC 4.0, reconnecting... #60

Closed
artin opened this issue Mar 13, 2021 · 3 comments
Closed

[error] Got nothing in the socket in DC 4.0, reconnecting... #60

artin opened this issue Mar 13, 2021 · 3 comments

Comments

@artin
Copy link

artin commented Mar 13, 2021

Hello ,
Every few days I am restarting TelegramApiServer to free up memory usage caused by memory leak,
But it didn't start like always
It keep showing Following error in infinite loop
upgrading TelegramApiServer didn't help ...
Do you have any Idea ?
Thanks

.....
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
[2021-03-13 18:03:51] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers, on DC 4.0, sending state request
[2021-03-13 18:03:51] [warning] OK!
[2021-03-13 18:03:51] [error] Got nothing in the socket in DC 4.0, reconnecting...
[2021-03-13 18:03:51] [warning] Reconnecting to DC 4 (0) from existing
[2021-03-13 18:03:51] [warning] Connecting to DC 4.0
[2021-03-13 18:03:51] [warning] Connected to DC 4.0!
......

@artin
Copy link
Author

artin commented Mar 13, 2021

Weird error messages and even more weird solution !
After re-creating telegram sessions problem fixed ! :|

@artin artin closed this as completed Mar 13, 2021
@xtrime-ru
Copy link
Owner

Yes, Looks like some data in session gets corrupted.

@anguschiu1
Copy link

@artin Have you still experienced same problem since then?
I am consistently encountering the problem with similar error and docker failed to spin up. I have tried to use new Telegram account with fresh App api_id / App api_hash, but problem persists.

telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 2.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getConfig,  on DC 2.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
telegram-api-server        | [2021-07-11 05:45:56] [error] Got nothing in the socket in DC 5.0, reconnecting...
telegram-api-server        | [2021-07-11 05:45:56] [warning] Reconnecting to DC 5 (0) from existing
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connecting to DC 5.0
telegram-api-server        | [2021-07-11 05:45:56] [error] Got nothing in the socket in DC 2.0, reconnecting...
telegram-api-server        | [2021-07-11 05:45:56] [warning] Reconnecting to DC 2 (0) from existing
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connecting to DC 2.0
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 5.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers,  on DC 5.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 2.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getConfig,  on DC 2.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
telegram-api-server        | [2021-07-11 05:45:56] [error] Got nothing in the socket in DC 5.0, reconnecting...
telegram-api-server        | [2021-07-11 05:45:56] [warning] Reconnecting to DC 5 (0) from existing
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connecting to DC 5.0
telegram-api-server        | [2021-07-11 05:45:56] [error] Got nothing in the socket in DC 2.0, reconnecting...
telegram-api-server        | [2021-07-11 05:45:56] [warning] Reconnecting to DC 2 (0) from existing
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connecting to DC 2.0
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 5.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers,  on DC 5.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 2.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getConfig,  on DC 2.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
telegram-api-server        | [2021-07-11 05:45:56] [error] Got nothing in the socket in DC 5.0, reconnecting...
telegram-api-server        | [2021-07-11 05:45:56] [warning] Reconnecting to DC 5 (0) from existing
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connecting to DC 5.0
telegram-api-server        | [2021-07-11 05:45:56] [error] Got nothing in the socket in DC 2.0, reconnecting...
telegram-api-server        | [2021-07-11 05:45:56] [warning] Reconnecting to DC 2 (0) from existing
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connecting to DC 2.0
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 5.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getTermsOfServiceUpdate, users.getUsers,  on DC 5.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
telegram-api-server        | [2021-07-11 05:45:56] [warning] Connected to DC 2.0!
telegram-api-server        | [2021-07-11 05:45:56] [error] Still missing help.getConfig,  on DC 2.0, sending state request
telegram-api-server        | [2021-07-11 05:45:56] [warning] OK!
....

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

3 participants