View Single Post
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#71
Originally Posted by michaaa62 View Post
Do i have to register first with some android or iphone device?
This is the output i get
Code:
[1|user@Nokia-N900|~]telegram -k /etc/telegram/server.pub -v
Telegram-client version 0.01-beta, Copyright (C) 2013 Vitaly Valtman
Telegram-client comes with ABSOLUTELY NO WARRANTY; for details type `show_license'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show_license' for details.
libconfig not enabled
 *** public key '/etc/telegram/server.pub' loaded successfully
 *** connect to 173.240.5.1:443 successful
 *** outbound connection #3 becomes ready
 *** Starting authorization for DC #1: 173.240.5.1:443
 *** try write: fd = 3
 *** Sent 42 bytes to 3
 *** try read: fd = 3
 *** Received 85 bytes from 3
 *** outbound rpc connection #3 : received rpc answer 0 with 84 content bytes
 *** process_respq_answer(), len=84
 *** p1 = 1258950227, p2 = 1699277257, 28870 iterations
 *** try write: fd = 3
 *** Sent 333 bytes to 3
 *** try read: fd = 3
 *** Received 5 bytes from 3
 *** outbound rpc connection #3 : received rpc answer -404 with 4 content bytes
 *** process_dh_answer(), len=4
telegram: mtproto-client.c:549: process_dh_answer: Assertion `len >= 116' failed.
 *** 0 * 0 = 2139305488436087339SIGABRT received
No libexec. Backtrace disabled
There seems to be a length check, that is failing?
Works well for me, maybe you are missing some library (libconfig, libreadline, libssl, are required). No need to use another device to register, registration works on this client.
 

The Following User Says Thank You to NerdKnight For This Useful Post: