Socket protect error udp

Hi everyone

Jippy

OpenVpn Newbie
Posts: 3
Joined: Wed Oct 28, 2020 2:54 am

OpenVPN W10 socket protect error

Hi everyone

I have a strange one where I can’t get one computer out of 6 or 7 machines so far to connect to my VPN hosted through my Synology NAS. All the machines run Windows 10 Home and are either a desktop machine I custom assembled, or a variant of a Lenovo Yoga or Thinkpad laptop. I was also able to connect my Android phone without issue, there is just this one machine (one of the Lenovo’s) that just won’t connect.

I have tried allowing an exception to the firewall, disabling the firewall altogether, disabling the anti-virus, checking all the settings against the other machines, flushing the DNS, disabling IPv6 and short of throwing the computer in the bin and buying a new one, tried just about all else.

The log is showing a «socket_protect error (UDP)» and it just attempts to reconnect, brings this error, disconnects, attempts again, rinse and repeat. It has declining so quickly that it feels like it is a firewall issue, however as I mentioned, I disabled that and it did not change anything. The log on the server end is not even showing an attempt by this username to log in which helps cement the suspiction it is being blocked at the local machine end.

It is frustrating that it is just this one machine so far in isolation doing this.

Does anyone have any ideas as to what is causing this?

My configuration (although I doubt this is the issue as it is working on all the other machines):

VPN Config

dev tun
tls-client

Remote was here and removed

# The «float» tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the —remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)

#float

# If redirect-gateway is enabled, the client will redirect it’s
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)

#redirect-gateway def1

# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.

#dhcp-option DNS DNS_IP_ADDRESS

pull

# If you want to connect by Server’s IPv6 address, you should use
# «proto udp6» in UDP mode or «proto tcp6-client» in TCP mode
proto udp

script-security 2

comp-lzo

reneg-sec 0

cipher AES-256-CBC

auth SHA512

auth-user-pass
<ca>
——BEGIN CERTIFICATE——
MIIDSjCCAjKgAwIBAgIQRK+wgNajJ7qJMDmGLvhAazANBgkqh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MDAuBggrBgEFBQcC
ARYiaHR0cDovL2Nwcy5yb290LXgxLmxldHNlbmNyeXB0Lm9yZzA8BgNVHR8ENTAz
MDGgL6AthitodHRwOi8vY3JsLmlkZW50cnVzdC5jb20vRFNUUk9PVENBWDNDUkwu
Y3JsMB0GA1UdDgQWBBSoSmpjBH3duubRObemRWXv86jsoTANBgkqhkiG9w0BAQsF
AAOCAQEA3TPXEfNjWDjdGBX7CVW+dla5cEilaUcne8IkCJLxWh9KEik3JHRRHGJo
uM2VcGfl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/
wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu
X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG
PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6
KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==
——END CERTIFICATE——

</ca>

[oconf=][/oconf]


makiavelli

OpenVpn Newbie
Posts: 1
Joined: Fri Oct 30, 2020 8:01 am

Re: OpenVPN W10 socket protect error

Post

by makiavelli » Fri Oct 30, 2020 8:06 am

Hello,

I have exactly the same issue on my home network as well. I have OpenVPN server configured on EC2 instance, and only 1 out of 3 machines can’t connect to it. All 3 machines are running macOS Catalina 10.15.3 OS and all 3 machines are using native OpenVPN Connect client software

Here is the log from the client side software:
Transport error: socket_protect error

There are no logs falling on server side


Jippy

OpenVpn Newbie
Posts: 3
Joined: Wed Oct 28, 2020 2:54 am

Re: OpenVPN W10 socket protect error

Post

by Jippy » Fri Oct 30, 2020 11:49 pm

I have sorted my machine out, I don’t know what went wrong. I just uninstalled and reinstalled OpenVPN, nothing different about how it installed, used the same certificate and config file, it connected. Very strange! Have you tried that makiavella? It seems very basic «turn it off and on again» type stuff but surprisingly, it actually worked this time!!!


cika8

OpenVpn Newbie
Posts: 2
Joined: Mon Dec 28, 2020 10:35 am

Re: OpenVPN W10 socket protect error

Post

by cika8 » Mon Dec 28, 2020 10:57 am

Hi there. :)
I had the same problem. It’s OpenVPN on Synology server, and we have 10 clients on it. We configured VPN on all 10 clients, and everything was perfect, no drops, disconnects, etc…
After few days I wanted to connect to VPN — it stucks (trying to connect)… Checked everything, Firewall, router, asked IT on workplace, asked ISP, even tried to make hotspot from another ISP, installed ProtonVPN to give me another IP and the result is that I couldn’t connect to VPN with 4 different IPs (even I tried with another OpenVPN account).
After that I installed OpenVPN on Android and successfully connects from Mobile? With same ISP, same IP which PC uses (I mean dynamic IP, not private) and same config file, same account.
When I went to log it says: «Transport Error: socket_protect error (UDP)» and spent 2h on Google what is that and how to solve.
Finally, I uninstalled OpenVPN and installed again, loaded config file and everything is working now… How?
After me, 2 clients experienced the same problem, but they could connect via hotspot or another ISP.
Can someone check is there any problem with UDP protocol or driver or VPN or something else?

Client config

dev tun
tls-client

remote X.X.X.X 1194

pull

proto udp

script-security 2

comp-lzo

reneg-sec 0

cipher AES-256-CBC

auth SHA512

auth-user-pass

client-cert-not-required

<ca>
——BEGIN CERTIFICATE——

——END CERTIFICATE——

</ca>

Thanks & Regrads. :)

Edit: The last version of OpenVPN connect is used, 3.2.2 (1455)
OS is Windows 10 (20H2), with latest updates.

Last edited by Pippin on Mon Dec 28, 2020 12:55 pm, edited 1 time in total.

Reason: Formatting


User avatar

stipa

OpenVPN Inc.
Posts: 9
Joined: Mon Nov 03, 2014 10:17 am

Re: OpenVPN W10 socket protect error

Post

by stipa » Tue Dec 29, 2020 1:27 pm

It seems that product in question is OpenVPN Connect, which is a proprietary product by OpenVPN Inc and not a community project. Please contact OpenVPN Connect support.


cika8

OpenVpn Newbie
Posts: 2
Joined: Mon Dec 28, 2020 10:35 am

Re: OpenVPN W10 socket protect error

Post

by cika8 » Tue Jan 05, 2021 10:03 pm

Thanks!
It seems that problem is fixed by switching to fiber optic cable (instead of previous satellite, same ISP) in workplace. Everything is now working good (on every client).
I know that this is not related to topic, but maybe it will be useful for someone.

Wish you happy New year! :)


Titiviking

OpenVpn Newbie
Posts: 2
Joined: Mon Mar 14, 2022 9:17 am

Re: OpenVPN W10 socket protect error

Post

by Titiviking » Mon Mar 14, 2022 9:26 am

Check if the service is disabled or not.
Newer installations of the OpenVPN client rely on an agent installed as a service.
By default it is set to Automatic. However when putting it to manual and rebooting, I faced the same errors.

Reinstall would remove the service and reinstall it with automatic startup. That is why reboot seems to ‘fix’ it.

Service:

Code: Select all

OpenVPN Agent agent_ovpnconnect                          Running             Automatic           Local System
OpenVPN Connect Helper Service                                               Manual              Local System


axsdenied

OpenVpn Newbie
Posts: 1
Joined: Fri Jun 17, 2022 5:40 pm

Re: OpenVPN W10 socket protect error

Post

by axsdenied » Fri Jun 17, 2022 5:43 pm

Good tip on checking the service, that worked for me. That said, the service was already set to automatic so why wasn’t it running? Did the service crash?


Содержание

  1. OpenVPN Support Forum
  2. mac m1 connect error:Transport Error: socket_protect error (UDP)
  3. mac m1 connect error:Transport Error: socket_protect error (UDP)
  4. Re: mac m1 connect error:Transport Error: socket_protect error (UDP)
  5. Error calling protect method on socket [Mac M1] #243
  6. Comments
  7. Footer
  8. bug for mac #139
  9. Comments
  10. Footer
  11. Socket protect error openvpn mac

OpenVPN Support Forum

Community Support Forum

mac m1 connect error:Transport Error: socket_protect error (UDP)

mac m1 connect error:Transport Error: socket_protect error (UDP)

Post by jagger » Mon Jun 06, 2022 1:15 pm

macos system monterey version 12.4
openvpn version: 3.3.6(4368)
error log:
⏎[Jun 6, 2022, 21:04:06] Transport Error: socket_protect error (UDP)
⏎[Jun 6, 2022, 21:04:06] Client terminated, restarting in 2000 ms.
⏎[Jun 6, 2022, 21:04:08] EVENT: RECONNECTING ⏎[Jun 6, 2022, 21:04:08] EVENT: RESOLVE ⏎[Jun 6, 2022, 21:04:08] Contacting 7.6.3.7:11940(host) via UDP
⏎[Jun 6, 2022, 21:04:08] EVENT: WAIT ⏎[Jun 6, 2022, 21:04:08] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
<
«host» : «host»,
«ipv6» : false,
«pid» : 4487
>

⏎[Jun 6, 2022, 21:04:08] Transport Error: socket_protect error (UDP)
⏎[Jun 6, 2022, 21:04:08] Client terminated, restarting in 2000 ms.

Re: mac m1 connect error:Transport Error: socket_protect error (UDP)

Post by openvpn_inc » Fri Jul 15, 2022 3:42 pm

Based on the error logs which is «Transport Error: socket_protect error (UDP)»
This means that Agent (system OpenVPN service) most likely is not running. You should check it in the Services, and the service name is agent_ovpnconnect. If it is not running, start it manually.

Источник

Error calling protect method on socket [Mac M1] #243

This issue is related to #139 which was unfortunately closed without anyone attempting to solve it.

I’m seeing this problem on an M1 Mac.
OpenVPN Connect 3.3.6 (4368): Error calling protect () method on socket. Here’s my log:

The text was updated successfully, but these errors were encountered:

The OpenVPN community would really appreciate if someone could take care of fixing the above problem.

For now, @antonb-taod suggested a good temporary fix that worked for me:

I don’t know what issue other have, but I was able to solve mine today.

I was getting an error calling protected() method and same logs as mentiones above. I figured out that the file /var/run/agent_ovpnconnect.sock didn’t exist and apparently the problem was that for any reason the ovpn agent wasn’t running. To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent manually (I’m using macOS M1 12.2.1).

Hope it will help someone.

This bug tracker is about the OpenVPN3 library.
For problems with OpenVPN Connect (that is a commercial product), please go to https://openvpn.net/support

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

bug for mac #139

Transport Error: socket_protect error (UDP)

I can link normally with my mobile phone, but not with my Mac,
The computer can’t link when the mobile phone is off

The text was updated successfully, but these errors were encountered:

i am use it on m1 and Monterey。same bug

Tunnelblick can work

Closing this bug since has no actual information and there seem to be only a flood of useless «me too» responses that also have no detailed information.

Lmao, did u even tried to investigate it ?

I don’t know what issue other have, but I was able to solve mine today.

I was getting an error calling protected() method and same logs as mentiones above. I figured out that the file /var/run/agent_ovpnconnect.sock didn’t exist and apparently the problem was that for any reason the ovpn agent wasn’t running. To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent manually (I’m using macOS M1 12.2.1).

Hope it will help someone.

@effolkronium the original error is just failing to connect to a UDP server. Any kind of condition can lead to that like no network connection. So without any further information and just hte error message, there is nothing we can do and that is why I closed the ticket.

@schwabe then it would be better to extend logging for this error, so guys will have a chance to send meaningful reports. Just an idea

I don’t know what issue other have, but I was able to solve mine today.

I was getting an error calling protected() method and same logs as mentiones above. I figured out that the file /var/run/agent_ovpnconnect.sock didn’t exist and apparently the problem was that for any reason the ovpn agent wasn’t running. To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent manually (I’m using macOS 12.2.1).

Hope it will help someone.

thanks so much man, all works well now.

I’m seeing the same problem on an M1 Mac.
OpenVPN Connect 3.3.6 (4368): Error calling protect () method on socket. Here’s my log:

To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent manually (I’m using macOS 12.2.1).

This solved it for me, thanks!
It’s bummer that we need to lunch this process ourselves though :-/

@schwabe do you mind reopening this issue? It still persists and needs to be addressed. We will help with the logs and whatever else you need

$ sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent this command is all right! thanks up man! thanks you;

I don’t know what issue other have, but I was able to solve mine today.

I was getting an error calling protected() method and same logs as mentiones above. I figured out that the file /var/run/agent_ovpnconnect.sock didn’t exist and apparently the problem was that for any reason the ovpn agent wasn’t running. To solve this I had to start /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent manually (I’m using macOS M1 12.2.1).

Hope it will help someone.

Thank you @antonb-taod
I’ve been having this issue for a few days now and it’s because I’m using hardware tokens.
I’ve fixed with sudo /Library/Frameworks/OpenVPNConnect.framework/Versions/Current/usr/sbin/ovpnagent .

thanks it work like a charm

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Socket protect error openvpn mac

⏎06.02.2021, 7:58:56 Transport Error: socket_protect error (UDP)
⏎06.02.2021, 7:58:56 Client terminated, restarting in 2000 ms.
⏎06.02.2021, 7:58:58 EVENT: RECONNECTING ⏎06.02.2021, 7:58:58 EVENT: RESOLVE ⏎06.02.2021, 7:58:58 Contacting [2607:5300:61:111:7a::111]:52614 via UDP
⏎06.02.2021, 7:58:58 WinCommandAgent: transmitting bypass route to 2607:5300:61:111:7a::111
<
«host» : «2607:5300:61:111:7a::111»,
«ipv6» : true
>

Ответить | Правка | Cообщить модератору

  • telnet по udp на этот порт коннектится , qwertykma (ok), 12:10 , 29-Мрт-21, (1)
    • не соображу как проверить, вроде нет поддержки ип6 code telnet -6 2607 5300 61 1, lotric (ok), 15:10 , 29-Мрт-21, (2)
      • В любом случае если под пингвина все работает, то все проблемы на стороне виндов, qwertykma (ok), 08:14 , 30-Мрт-21, (3)
      • А Держите меня все Один советует проверить работу UDP программой telnet, втор, Andrey (??), 08:56 , 30-Мрт-21, (4)
        • Ошибаются все Да я не помню что телнет не работает по удп тунельное мышление , qwertykma (ok), 09:20 , 30-Мрт-21, (5)
          • verb 1-11 читать вывод , Andrey (??), 10:24 , 30-Мрт-21, (6)
            • я спрашивал про аналог nc , qwertykma (ok), 10:42 , 30-Мрт-21, (7)
              • у nc есть версия под виндовс, ыы (?), 20:20 , 01-Апр-21, ( 11 )
  • 1 ip6 работает, я могу через putty подключится к этому серверу2 логов сервера , lotric (ok), 12:40 , 30-Мрт-21, (8)
    • Может в этом дело Клиент на винде не может достучаться до сервера и на сервере , Andrey (??), 08:48 , 31-Мрт-21, (10)
    • На обоих концах сделать, может покажет что-то ещё MTU оценить https openvpn n, And (??), 18:48 , 02-Апр-21, ( 12 )
  • Удалить win10 и проблема решена , Аноним (9), 02:24 , 31-Мрт-21, (9) +1
  • Строка proto в конфиге сервера и конфиге клиента точно совпадает А если заменит, Аноним (13), 22:11 , 15-Май-21, ( 13 )
  • Всё точно также Решили как-то , дэнчик (?), 14:17 , 30-Июн-21, ( 14 )

1,8,9,13,14

Сообщения [Сортировка по времени | RSS]

telnet по udp на этот порт коннектится?

1. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от qwertykma (ok), 29-Мрт-21, 12:10
Ответить | Правка | Наверх | Cообщить модератору

2. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от lotric (ok), 29-Мрт-21, 15:10

> telnet по udp на этот порт коннектится?

не соображу как проверить, вроде нет поддержки ип6

telnet -6 2607:5300:61:167:7a::1111 53614
telnet [-a][-e Символ][-f Файл_входа][-l Имя][-t Тип][Узел [Порт]] -l Имя пользователя для входа в удаленную систему при условии, что поддерживается параметр TELNET ENVIRON. -a Попытка автоматического входа в систему. Как и ключ -l, но использует текущее имя пользователя, под которым выполнен вход в систему. -e Служебный символ переключения режима ввода в окне telnet-клиента. -f Имя файла со стороны клиента для выполнения входа в систему. -t Тип telnet-терминала. Поддерживаются только 4 типа терминалов: vt100, vt52, ansi и vtnt. Узел Имя узла или IP-адрес удаленного компьютера, к которому выполняется подключение. Порт Номер порта или имя службы.

тут говно формотировоние все сбивает все в кучу. Причем я тут вижу все норм, сообщение посылаю это форум все уродует на****я

вобшем введеная команда не работает, параметр -6 не поодерживается

Ответить | Правка | Наверх | Cообщить модератору

3. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от qwertykma (ok), 30-Мрт-21, 08:14

> не соображу как проверить, вроде нет поддержки ип6

В любом случае если под пингвина все работает, то все проблемы на стороне виндовс. Или брандмауэр или их тспи 6 — самый тспёвый из тспи. Может тсп 4 попробовать?

Ответить | Правка | Наверх | Cообщить модератору

4. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от Andrey (??), 30-Мрт-21, 08:56

>> telnet по udp на этот порт коннектится?
> не соображу как проверить, вроде нет поддержки ип6
>

> telnet -6 2607:5300:61:167:7a::1111 53614
>

А!! Держите меня все!
Один советует проверить работу UDP программой telnet, второй выполняет это действие. Куда катится мир.
Может начать с азов?

Включите расширенную отладку в клиенте с помощью параметра verb в конфигурационном файле клиента.
Гадать почему у вас не работает, если вы готовы выложить только часть обрезанных логов, никто не будет.
Покажите конфиги, покажите что на винде включен ipv6. Покажите что пишет в логах со стороны сервера (если это в ваших силах).

Ответить | Правка | К родителю #2 | Наверх | Cообщить модератору

5. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от qwertykma (ok), 30-Мрт-21, 09:20

> А!! Держите меня все!
> Один советует проверить работу UDP программой telnet, второй выполняет это действие. Куда
> катится мир.
> Может начать с азов?
> Включите расширенную отладку в клиенте с помощью параметра verb в конфигурационном файле
> клиента.
> Гадать почему у вас не работает, если вы готовы выложить только часть
> обрезанных логов, никто не будет.
> Покажите конфиги, покажите что на винде включен ipv6. Покажите что пишет в
> логах со стороны сервера (если это в ваших силах).

Ошибаются все. Да я не помню что телнет не работает по удп (тунельное мышление). Может вы посоветуете чем это сделать под виндовс? Наверное человек проверил наличие тсп 6 на виндовс, не настолько же все плохо?

Ответить | Правка | Наверх | Cообщить модератору

6. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от Andrey (??), 30-Мрт-21, 10:24

> Может вы посоветуете чем это сделать под виндовс?

verb [1-11]
читать вывод.

> не настолько же все
> плохо?

Ответить | Правка | Наверх | Cообщить модератору

7. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от qwertykma (ok), 30-Мрт-21, 10:42
Ответить | Правка | Наверх | Cообщить модератору

11 . «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от ыы (?), 01-Апр-21, 20:20

у nc есть версия под виндовс

Ответить | Правка | Наверх | Cообщить модератору

8. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от lotric (ok), 30-Мрт-21, 12:40

1. ip6 работает, я могу через putty подключится к этому серверу
2. логов сервера нет от винды, от линукс есть
3. установил на виртуалку винду без всего чистую посталив впн, там таже самая ошибка
на реальном компе с виндой всю защиту отключал, добавлены все исключение по портам и ип
4. на сервере только ip6 доступен

5. лог полный клиента, не обрезанный с бесполезной инфой:
30.03.2021, 12:50:36 OpenVPN core 3.git::662eae9a win x86_64 64-bit built on Oct 27 2020 12:49:07
⏎30.03.2021, 12:50:36 Frame=512/2048/512 mssfix-ctrl=1250
⏎30.03.2021, 12:50:36 UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
9 [verify-x509-name] [server_Z6EBkGPcm1Do5rW7] [name]
11 [auth-nocache]
13 [tls-client]
15 [tls-cipher] [TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256]
16 [block-outside-dns]
17 [verb] [3]
⏎30.03.2021, 12:50:36 EVENT: RESOLVE ⏎30.03.2021, 12:50:36 EVENT: WAIT ⏎30.03.2021, 12:50:36 Contacting [2607:5320:61:167:7a::c111]:53614 via UDP
⏎30.03.2021, 12:50:36 WinCommandAgent: transmitting bypass route to 2607:5320:61:167:7a::c111
<
«host» : «2607:5320:61:167:7a::c111»,
«ipv6» : true
>

⏎30.03.2021, 12:50:36 Transport Error: socket_protect error (UDP)
⏎30.03.2021, 12:50:36 Client terminated, restarting in 2000 ms.
⏎30.03.2021, 12:50:38 EVENT: RECONNECTING ⏎30.03.2021, 12:50:38 EVENT: RESOLVE ⏎30.03.2021, 12:50:38 EVENT: WAIT ⏎30.03.2021, 12:50:38 Contacting [2607:5320:61:167:7a::c111]:53614 via UDP
⏎30.03.2021, 12:50:38 WinCommandAgent: transmitting bypass route to 2607:5320:61:167:7a::c111
<
«host» : «2607:5320:61:167:7a::c111»,
«ipv6» : true
>

Ответить | Правка | Наверх | Cообщить модератору

10. «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от Andrey (??), 31-Мрт-21, 08:48

> 2. логов сервера нет от винды, от линукс есть

Может в этом дело? Клиент на винде не может достучаться до сервера и на сервере поэтому нет логов от подключений виндовой машины? Тогда это не проблема OpenVPN, а проблема винды. Это вам на другой форум.

> 5. лог полный клиента, не обрезанный с бесполезной инфой:

Возьмите другую реализацию VPN. В которой будут только полезные с _вашей_ _точки_ _зрения_ логи.

И третий раз для закрепления: повышайте уровень логирования. Потом изучайте логи.

Ответить | Правка | Наверх | Cообщить модератору

12 . «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от And (??), 02-Апр-21, 18:48

На обоих концах сделать, может покажет что-то ещё. MTU оценить.

-verb n
Set output verbosity to n (default=1). Each level shows all info from the previous levels. Level 3 is recommended if you want a good summary of what’s happening without being swamped by output.0 — No output except fatal errors.
1 to 4 — Normal usage range.
5 — Output R and W characters to the console for each packet read and write, uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets.
6 to 11 — Debug info range (see errlevel.h for additional information on debug levels).

Ответить | Правка | К родителю #8 | Наверх | Cообщить модератору

9. «openvpn не подключается на win10. на линукс все ок.» +1 + / –
Сообщение от Аноним (9), 31-Мрт-21, 02:24

> не подключается на win10. на линукс все ок.

Удалить win10 и проблема решена.

Ответить | Правка | Наверх | Cообщить модератору

13 . «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от Аноним (13), 15-Май-21, 22:11

> ⏎06.02.2021, 7:58:56 Transport Error: socket_protect error (UDP)
> ⏎06.02.2021, 7:58:56 Client terminated, restarting in 2000 ms.
> ⏎06.02.2021, 7:58:58 EVENT: RECONNECTING ⏎06.02.2021, 7:58:58 EVENT: RESOLVE
> ⏎06.02.2021, 7:58:58 Contacting [2607:5300:61:111:7a::111]:52614 via UDP
> ⏎06.02.2021, 7:58:58 WinCommandAgent: transmitting bypass route to 2607:5300:61:111:7a::111
> <
> «host» : «2607:5300:61:111:7a::111»,
> «ipv6» : true
> >

Строка proto в конфиге сервера и конфиге клиента точно совпадает? А если заменить её в обоих конфигах на proto udp4? А на proto udp6? А порт на сервере точно открыт для UDP, не TCP?

Ответить | Правка | Наверх | Cообщить модератору

14 . «openvpn не подключается на win10. на линукс все ок.» + / –
Сообщение от дэнчик (?), 30-Июн-21, 14:17

> ⏎06.02.2021, 7:58:56 Transport Error: socket_protect error (UDP)
> ⏎06.02.2021, 7:58:56 Client terminated, restarting in 2000 ms.
> ⏎06.02.2021, 7:58:58 EVENT: RECONNECTING ⏎06.02.2021, 7:58:58 EVENT: RESOLVE
> ⏎06.02.2021, 7:58:58 Contacting [2607:5300:61:111:7a::111]:52614 via UDP
> ⏎06.02.2021, 7:58:58 WinCommandAgent: transmitting bypass route to 2607:5300:61:111:7a::111
> <
> «host» : «2607:5300:61:111:7a::111»,
> «ipv6» : true
> >

Всё точно также. Решили как-то?

Источник

Adblock
detector

BUG FOR MAC · ISSUE #139 · OPENVPN/OPENVPN3 · GITHUB

Web 2021-01-18 bug for mac #139. Closed. Ran-Xing opened this issue on Jan 18, 2021 · 24 comments.
From github.com


HOW TO FIX A SOCKET ERROR IN MY COMPUTER | TECHWALLA

Web Click on the «Diagnose and repair» link in the left column in the Network and Sharing Center. Click on «View all» in the Task pane if using Windows 7, then click on «Internet Explorer …
From techwalla.com


SOCKET ERROR — APPLE COMMUNITY

Web 2020-02-27 Try booting into Safe Mode…. Restarting in Safe mode can often eliminate a problem or help identify the cause. You can verify that you have started in Safe mode by …
From discussions.apple.com


CLIENT RECEIVES ERROR_SOCKET_COMMUNICATION WHEN USING …

Web 2021-11-29 To confirm that the readWriteTime parameter is being reached, check the SPE log files with Verbose logging configured. Then confirm that one the file is being scanned …
From knowledge.broadcom.com


RE: [OPENVPN-USERS] TRANSPORT ERROR: SOCKET_PROTECT ERROR (UDP)

Web 2020-12-29 OpenVPN3 has been influenced by Android VPN API. It also has a mechanism to ensure that data sent through the socket or to specific IP address is not routed to the …
From mail-archive.com


ERROR 1172 OCCURRED AT ERROR CALLING METHOD …

Web 2014-08-26 See all Driver Software Downloads. NI-DAQmx. Provides support for NI data acquisition and signal conditioning devices. NI-VISA. Provides support for Ethernet, …
From forums.ni.com


OPENVPN W10 SOCKET PROTECT ERROR — OPENVPN SUPPORT FORUM

Web 2020-10-28 Forum & Website Support; Community Project; ↳ Server Administration; ↳ Configuration; ↳ Examples; ↳ Routed Example; ↳ Installation Help
From forums.openvpn.net


OPENVPN W10 SOCKET PROTECT ERROR — OPENVPN SUPPORT …

Web 2022-06-17 Reinstall would remove the service and reinstall it with automatic startup. That is why reboot seems to ‘fix’ it. Service: Code: Select all. OpenVPN Agent …
From forums.openvpn.net


ERROR CALLING PROTECTED() METHOD ON SOCKET 30 TIMES-掘金

Web Android JNI介绍(三)- Java和Native的互相调用. 在上一篇文章中,我们已经了解了第一个JNI工程的一些细节,以及对JNI调用进行了一些简单说明。. 接下来详细介绍下如何 …
From juejin.cn


MAC M1 CONNECT ERROR:TRANSPORT ERROR: SOCKET_PROTECT ERROR (UDP …

Web 2022-07-15 OpenVPN Inc. Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of …
From forums.openvpn.net


ANDROID — PROTECT A SOCKET IN VPNSERVICE — STACK OVERFLOW

Web 2013-11-17 I get the feeling that the reason for this is that at the time of socket creation (and subsequently, the call to VpnService.protect(Socket)), I haven’t set the destination …
From stackoverflow.com


RE: [OPENVPN-USERS] TRANSPORT ERROR: SOCKET_PROTECT ERROR …

Web It also has a mechanism > to ensure that data sent through the socket or to specific IP address > is not routed > to the VPN. The API method is also named «socket_protect». …
From sourceforge.net


THREAD: [OPENVPN-USERS] TRANSPORT ERROR: SOCKET_PROTECT …

Web 2020-12-29 OpenVPN3 has been influenced by Android VPN API. It also has a mechanism to ensure that data sent through the socket or to specific IP address is not routed to the …
From sourceforge.net


ERROR CALLING METHOD -2147023170 — AUTODESK COMMUNITY

Web 2020-02-27 I troubleshoot by modifying the program and I found that the batch utility is stopping once it encounter a some kind of problem with specific dwg model file, but I’m …
From forums.autodesk.com


ERROR CALLING PROTECTED() METHOD ON SOCKET-掘金

Web 2.Tomcat启动阶段 daemon.start(),tomcat的启动阶段分析 getServer().start(),方法启动Server,源码分析 services[i].start(),启动
From juejin.cn


QUESTION — HOW TO I FIX «SAFETYNET API ERROR» ? | XDA FORUMS

Web 2021-05-15 Search only containers. Search titles only By:
From forum.xda-developers.com


OPENVPN ERROR CALLING PROTECT() ON A M1 MACBOOK PRO

Web 2021-12-26 Unfortunately I didn’t take a screenshot so this might not be the exact error, but it is pretty close. The solution is kind of silly, but just download the latest version of OpenVPN from their website and reinstall it over the top of the existing install.
From beerdy.io


Понравилась статья? Поделить с друзьями:
  • Smtp error code 3 mail ru
  • Simulation failed due to partition analysis error s
  • Signup form 200 фейсит ошибка
  • Show error битрикс
  • Recoverable read error