The socket error 0x05, socket error 0x06, socket error 0x02, and so on occur due to a proxy connection error, since the program cannot get a response to the sent command through the proxy stream, usually this problem has 3 reasons
- Proxies are no longer valid
- Your device uses a VPN, ProxyFire, or other similar apps
- Roskomnadzor blocks access (this happens only on ru proxy)
1.to solve the problem, we first recommend checking the proxy through a checker that is not in the program, since it checks for connection to the telegram server from your device, which means that it will not allow you to accurately identify the cause of the problem, such as point 2 or 3. You can use a free checker from
https://proxy6.net/checker. If the proxy is not valid, then you need to replace it. (Does not apply to proxying through tor streams open on the local device and having a similar address 127.0.0.1 , as these addresses are input to the tor network, but not the real addresses through which request will be the final service)
2. Here it really is simple, if the test showed the validity of proxies, and there is no connection, the problem lies in the application which closes the Telegram soft access to ports on the proxy.
3. the most annoying problem, and difficult to catch, since you do not know in advance which DC telegram server you will connect to and whether it is in the Roskomnadzor blacklist. Unfortunately, the only way to solve this problem is to use proxies that are not related to Russia, or to replace them with a top proxy.
You can see the options for displaying connection errors in the form of screenshots below, since the response to the request from the program does not always come in the same form, although it may mean the same problem