sochix / TLSharp

Telegram client library implemented in C#
1.01k stars 380 forks source link

Telegram server replied requesting a migration to DataCenter 4 when this connection was already using this DataCenter #850

Open mostafahk opened 5 years ago

mostafahk commented 5 years ago

I got this error and worked on it about 10 Hours. I fixed problem by capturing IP address of DC4 and change server IP to it. DC

System.Net.Sockets.TcpClient GetClientTcp(string a, int p) { return new System.Net.Sockets.TcpClient("149.154.167.92", 443); }

knocte commented 5 years ago

Can you create a PullRequest with your fix please? Thanks

mostafahk commented 5 years ago

OK As soon as possible.

amirvenus commented 3 years ago

I got this error and worked on it about 10 Hours. I fixed problem by capturing IP address of DC4 and change server IP to it. DC

System.Net.Sockets.TcpClient GetClientTcp(string a, int p) { return new System.Net.Sockets.TcpClient("149.154.167.92", 443); }

I have this issue even today.

Could you please submit your PR?