kittoku / Open-SSTP-Client

Open SSTP Client for Android
MIT License
402 stars 104 forks source link

Timeout settings #45

Closed Squeakimous closed 2 years ago

Squeakimous commented 2 years ago

Hi,

Could it be possible to add a timeout setting before disconnect or retry?

Regards,

kittoku commented 2 years ago

Need for what?

Squeakimous commented 2 years ago

Hi,

I'm currently testing your app (which is pretty cool by the way) with a MFA and if i'm fast enough, i'm able to achieve connection by approving connection with the MFA. But almost half the time i miss it because timeout is a bit too short (don't know what is the default timeout un your app).

Regards,

kittoku commented 2 years ago

Could you show me the log? There are several points at which timeout could occur. I want to know where MFA stuck.

Squeakimous commented 2 years ago

Hi,

Sure, there it is 🙂

[2022-01-04 08:16:11.734] Establish VPN connection [2022-01-04 08:16:15.230] The timer was over: proceedChap [2022-01-04 08:16:15.231] PPP layer turned down [2022-01-04 08:16:15.245] Terminate VPN connection

Log is empty when connection is successful though

Regards,

kittoku commented 2 years ago

Thank you for uploading, but please don't expect immediate update...

Squeakimous commented 2 years ago

Hi,

No problem 🙂

Regards,

kittoku commented 2 years ago

Please try this beta.

You can change the timeout period at PPP Authentication Protocol setting.

Squeakimous commented 2 years ago

Hi,

Wonderful it fixed the issue we had when trying to connect through DUO MFA

Many thanks to you for issuing a fix so fast :-D

Regards

Stephane