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

Could not find adequate dc_option for DC -2 #298

Open
1wizard opened this issue Nov 9, 2024 · 0 comments
Open

Could not find adequate dc_option for DC -2 #298

1wizard opened this issue Nov 9, 2024 · 0 comments

Comments

@1wizard
Copy link

1wizard commented Nov 9, 2024

Hello.

Sometimes in exception logs i find this:

WTelegram.WTException: Could not find adequate dc_option for DC -2
   at WTelegram.Client.GetOrCreateDCSession(Int32 dcId, Flags flags)
   at WTelegram.Client.GetClientForDC(Int32 dcId, Boolean connect)
   at WTelegram.Client.DownloadFileAsync(InputFileLocationBase fileLocation, Stream outputStream, Int32 dc_id, Int64 fileSize, ProgressCallback progress)
   at WTelegram.Client.DownloadProfilePhotoAsync(IPeerInfo peer, Stream outputStream, Boolean big, Boolean miniThumb)

I am wondering where it even found dc -2, but it anyway have to fallback to correct DC as i understand.

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

1 participant