Page 1 of 1

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

Posted: Tue Jan 10, 2017 9:00 am
by Mada
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?

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

Posted: Tue Jan 10, 2017 7:19 pm
by Mada
I just upgraded so I have two 16.10 mashines. Then recompiled SE.

I´m still getting error 2?

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

Posted: Fri Jan 13, 2017 8:09 pm
by Mada
I have disabled the fire wall on both sides. No luck. This configuration worked before upgrade.

Anyone having similar issues?

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

Posted: Fri Jan 13, 2017 8:36 pm
by Mada
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?

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

Posted: Mon Jan 16, 2017 10:21 pm
by moatazelmasry
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?

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

Posted: Sat Jan 21, 2017 11:06 pm
by Mada
You can click it. "Do not use TLS 1.0" is marked. But hub cascaded to hub do not connect.

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

Posted: Mon Jan 23, 2017 10:30 am
by moatazelmasry
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?

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

Posted: Wed Feb 08, 2017 6:50 am
by thisjun
"Do not use TLS 1.0" is an option for using SSL 3.0.
Do you want it really?

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

Posted: Sat Feb 11, 2017 10:29 pm
by Mada
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.

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

Posted: Thu Feb 23, 2017 7:56 am
by thisjun
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

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

Posted: Thu Feb 23, 2017 9:36 am
by Mada
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

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

Posted: Wed Mar 08, 2017 6:31 am
by thisjun
Please turn to true the this line in configuration file.
bool AcceptOnlyTls true