mtproto: Handshaking Failure: TL_invokeWithLayer Timeout(10.000000 s)

2018/05/04 09:52:02 MAIN: load authentication
2018/05/04 09:52:02 [MM 1957114261] start
2018/05/04 09:52:02 [MM 1957114261] loadsession of  +86*********
2018/05/04 09:52:02 [0-4060730080273079382] dial TCP to 149.154.167.50:443
2018/05/04 09:52:02 [0-4060730080273079382] send: start
2018/05/04 09:52:02 [0-4060730080273079382] read: start
2018/05/04 09:52:02 [0-4060730080273079382] send *mtproto.ReqInvokeWithLayer: {"Layer":71,"Query":{"type_url":"type.googleapis.com/mtproto.ReqInitConnection","value":"***********************"}}
2018/05/04 09:52:02 [0-4060730080273079382] read: type: <nil>, data: <nil>, err: Server response error: -404
2018/05/04 09:52:02 [0-4060730080273079382] read: unknown error, Server response error: -404. reconnect to 149.154.167.50:443
2018/05/04 09:52:02 [0-4060730080273079382] notify Event, mtproto.refreshSession: {}, to [0xc4200a8120]
2018/05/04 09:52:02 [MM 1957114261] refreshSession  4060730080273079382
2018/05/04 09:52:03 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:04 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:05 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:06 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:07 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:08 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:09 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:10 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:11 [MM 1957114261] spinlocked. Session(4060730080273079382) is waiting for a response from either invokeWithLayer or updatesGetState.
2018/05/04 09:52:12 [MM 1957114261] connect failure: Handshaking Failure: TL_invokeWithLayer Timeout(10.000000 s)
2018/05/04 09:52:12 [0-4060730080273079382] send <nil>: null
2018/05/04 09:52:12 [0-4060730080273079382] send <nil>: null
2018/05/04 09:52:12 [0-4060730080273079382] send: stop
2018/05/04 09:52:12 [0-4060730080273079382] read: wait for inner routine ...
2018/05/04 09:52:12 [0-4060730080273079382] read: stop
2018/05/04 09:52:12 [0-4060730080273079382] notify Event, mtproto.SessionDiscarded: {}, to [0xc4200a8120]
2018/05/04 09:52:12 [MM 1957114261] session discarded  4060730080273079382

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 30 (16 by maintainers)

Commits related to this issue

Most upvoted comments

@Vannnnish I think it should be 149.154.167.50:443 , not 149.154.167.5:443. And please do not upload your api_id/hash and phone number.

Thanks a lot for the fast replies and… congratulations! I can confirm that IT WORKS, I managed to successfully authenticate on a new session! πŸ‘ πŸ₯‡

This magically started working for me - no code changes. Gotta love that 😦

On a different note, I added functionality to support 2fa via password to the Conn. Once i clean it up a bit, i will send it your way.