"Error (Error Code 2): Protocol error occurred.

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

"Error (Error Code 2): Protocol error occurred.

Post by Mada » Tue Jan 10, 2017 9:00 am

I have compiled softether from git clone on two servers. One running Ubuntu 16.4.1 and the outer running xubuntu 16.10.

There are differences in the libs versions. Readline 6 vs 7 for example.

Now, when cascading hubs between the two servers I get this problem:

"Error (Error Code 2): Protocol error occurred. Error was returned from the destination server."

Any ide what could be wrong? Can it be the differences in compile machines?

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by Mada » Tue Jan 10, 2017 7:19 pm

I just upgraded so I have two 16.10 mashines. Then recompiled SE.

I´m still getting error 2?

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by Mada » Fri Jan 13, 2017 8:09 pm

I have disabled the fire wall on both sides. No luck. This configuration worked before upgrade.

Anyone having similar issues?

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by Mada » Fri Jan 13, 2017 8:36 pm

Solved it!

Do not use TLS 1.0 can not be checked!

But I do not want to use TLS 1.0. How can I get this function to work?

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: "Error (Error Code 2): Protocol error occurred.

Post by moatazelmasry » Mon Jan 16, 2017 10:21 pm

I'm not really sure whether 16.10 is really tested at all.

Are you getting this problem with 16.04?
What do you mean can not be checked? is it dimmed or nothing happen when you click it?

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by Mada » Sat Jan 21, 2017 11:06 pm

You can click it. "Do not use TLS 1.0" is marked. But hub cascaded to hub do not connect.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: "Error (Error Code 2): Protocol error occurred.

Post by moatazelmasry » Mon Jan 23, 2017 10:30 am

ok. This might not make much sense, but could you please that experiment on both machines 16.04

Also what does the server_log says when this error happen?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by thisjun » Wed Feb 08, 2017 6:50 am

"Do not use TLS 1.0" is an option for using SSL 3.0.
Do you want it really?

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by Mada » Sat Feb 11, 2017 10:29 pm

thisjun wrote:
> "Do not use TLS 1.0" is an option for using SSL 3.0.
> Do you want it really?

No not really... thought it was for TLS 1.2

Sorry about the confusion.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by thisjun » Thu Feb 23, 2017 7:56 am

There is following function in latest version.
>Added the function to allow to configure specific TLS versions to accept / deny. In the VPN Server configuration file you can set Tls_Disable1_0, Tls_Disable1_1 and Tls_Disable1_2 flags to true to disable these TLS versions individually.
http://www.softether.org/5-download/history

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by Mada » Thu Feb 23, 2017 9:36 am

Thank you!

And I can perhaps disable SSL 3 the same way?

thisjun wrote:
> There is following function in latest version.
> >Added the function to allow to configure specific TLS versions to accept / deny.
> In the VPN Server configuration file you can set Tls_Disable1_0, Tls_Disable1_1 and
> Tls_Disable1_2 flags to true to disable these TLS versions individually.
> http://www.softether.org/5-download/history

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: "Error (Error Code 2): Protocol error occurred.

Post by thisjun » Wed Mar 08, 2017 6:31 am

Please turn to true the this line in configuration file.
bool AcceptOnlyTls true

Post Reply