wiz0u / WTelegramClient

Telegram Client API (MTProto) library written 100% in C# and .NET
https://wiz0u.github.io/WTelegramClient/
MIT License
996 stars 164 forks source link

Connecting to 149.154.167.50:443... Fail #98

Closed 372364996 closed 2 years ago

372364996 commented 2 years ago

Connecting to 149.154.167.50:443... SocketException TimedOut (10060): 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 0>Disposing the client Unhandled exception. System.Net.Sockets.SocketException (10060): 由于连接方在一段时间后没有正确答复或连接的主机没有反应 ,连接尝试失败。 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Net.Sockets.TcpClient.CompleteConnectAsync(Task task) at WTelegram.Client.DefaultTcpHandler(String host, Int32 port) at WTelegram.Client.DoConnectAsync() at WTelegram.Client.DoConnectAsync() at WTelegram.Client.ConnectAsync() at WTelegram.Client.LoginUserIfNeeded(CodeSettings settings, Boolean reloginOnFailedResume) at WTelegramClientTest.ProgramGetAllChats.Main(String[] ) in D:\code\WTelegramClient\Demo\Program.cs:line 29 at WTelegramClientTest.ProgramGetAllChats.

(String[] )

wiz0u commented 2 years ago

So? Your computer can't access this internet address? You have restricted or unavailable internet connection? Why would you consider it a problem with this library and open a Github issue here? Call your ISP or try using a VPN or Proxy or MTProxy to workaround your problem.

372364996 commented 2 years ago

Thank you, sir. It's really the reason for my network. Problem solved.