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

M-x telega telega-server error: Valid api_id must be provided. Can be obtained at https://my.telegram.org [2 times] #374

Closed
liuliancao opened this issue Sep 23, 2022 · 5 comments

Comments

@liuliancao
Copy link

M-x telega no message and login info

Telega Setup

OS: Debian GNU/Linux bookworm/sid
Emacs: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0), modified by Debian
Telega: telega v0.8.44 (TDLib v1.8.6) (telega-server v0.8.0)

Current Behavior

M-x telega failed

Steps to Reproduce

  1. my config
  2. (use-package telega :ensure t :config (setq telega-proxies (list '(:server "127.0.0.1" :port 1089 :enable t :type (:@type "proxyTypeSocks5")))) )
    3.M-x telega i have a tip called setTdLib or api_id related, but i dont know how to set , where to set

Possible Solution

What will i do when i finish install telega-server, telega, tdlib, i have newed an app in telegam and i have app_id, but where can i set, like a json?

@liuliancao
Copy link
Author

[ 3][t 4][1663945000.491847515][Td.cpp:2947][#1][!Td][&td_requests] Receive request 1: setTdlibParameters {
use_test_dc = false
database_directory = ""
files_directory = ""
database_encryption_key = bytes [0] { }
use_file_database = false
use_chat_info_database = false
use_message_database = false
use_secret_chats = false
api_id = 0
api_hash = ""
system_language_code = ""
device_model = ""
system_version = ""
application_version = ""
enable_storage_optimizer = false
ignore_file_names = false
}
[ 3][t 4][1663945000.491930484][Td.cpp:4014][#1][!Td][&td_requests] Sending error for request 1: error { code = 400 message = "Valid api_id must be provided. Can be obtained at https://my.telegram.org" }
[ 3][t 0][1663945000.491963863][Client.cpp:293][&td_requests] End to wait for updates, returning object 1 0x56036bcb70c0
[ 3][t 0][1663945000.491998672][Client.cpp:280][&td_requests] Begin to wait for updates with timeout 10.000000

some of log in .telega/telega-server.log

@zevlg
Copy link
Owner

zevlg commented Sep 23, 2022

TDLib 1.8.6 is not yet supported

@liuliancao
Copy link
Author

i checked v1.8.4 from git log of tdlib and i finished build tdlib, it worked, thx a lot!

@iT-Boyer
Copy link

i have this issue in debian :
截屏2023-02-15 19 37 54

@zevlg
Copy link
Owner

zevlg commented Feb 15, 2023

i have this issue in debian : 截屏2023-02-15 19 37 54

Update your telega, TDLib 1.8.11 is supported only since telega v0.8.110

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