ERROR: auth_key_id should be NULL
I followed every step to make it work. I'm using Commit 76824c29a6 on Ubuntu 14.04.2 LTS.
After the command
./telegram-cli -k tg-server.pub -c telegram.config
I get
/usr/src/tg/zabbix# ./telegram-cli -k tg-server.pub -c telegram.config change_user_group: can't find the user telegramd to switch to Telegram-cli version 1.2.0, Copyright (C) 2013-2015 Vitaly Valtman Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type
show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details. Telegram-cli uses libtgl version 1.2.0 No binlog found. Creating new one *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL *** ERROR: auth_key_id should be NULL telegram-cli: tgl/mtproto-client.c:1247: tc_becomes_ready: Assertion `0' failed. SIGNAL received
Having telegram.config edited like:
default_profile = "zabbix";
zabbix = {
config_directory = "/usr/src/tg/zabbix/";
test = false;
#msg_num = true;
binlog_enabled = true;
log_level = 2;
};
I'm able to type my cell phone, but then I receive a SMS on it saying:
You are using an outdated app that doesn't support 2-step verification. Please update your app to log in to Telegram.
Use test branch if you have password.