Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

How to increase timeout during initial handshake? #215

Open
houmie opened this issue Jul 21, 2021 · 3 comments
Open

How to increase timeout during initial handshake? #215

houmie opened this issue Jul 21, 2021 · 3 comments

Comments

@houmie
Copy link

houmie commented Jul 21, 2021

Hi @ss-abramchuk

Thanks for the recent 0.8.0 update.

When I try to connect to an OpenVPN server that is far away it keeps failing. Sometimes only after I have tried it for three times then it will connect. If the server is very far away (like San Francisco and I'm in London) it will never connect. But this is never an issue with servers in Europe that are in close proximity to me.

Is there a way in the configuration to increase the timeout for the initial handshake, so that it doesn't timeout too quickly when trying to connect to a OpenVPN server? That would be amazing.

Many Thanks,
Houman

@houmie
Copy link
Author

houmie commented Aug 1, 2021

Sorry Sergey @ss-abramchuk
I was hoping to see if you have any advise about this.

Thank you so much,
Houman

@ss-abramchuk
Copy link
Owner

Hi @houmie,

Sorry for late reply, I'm quite busy on the primary job and my grandma died two weeks ago so it wasn't the best time to answer any question. As for your issue, you may try to set OpenVPNConfiguration.connectionTimeout

@houmie
Copy link
Author

houmie commented Aug 1, 2021

Hi Sergey,

I'm really sorry about your grandfather. My deepest condolences for your loss. I hope that you will find strength to overcome this difficult time.

I will try your suggestion and close the issue once confirmed.

Have a great evening,
Houman

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants