Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection failed to establish within 5000 milliseconds #164

Open
2 of 6 tasks
AmosNS opened this issue Dec 20, 2017 · 3 comments
Open
2 of 6 tasks

connection failed to establish within 5000 milliseconds #164

AmosNS opened this issue Dec 20, 2017 · 3 comments

Comments

@AmosNS
Copy link

AmosNS commented Dec 20, 2017

WinSshFS

  • stable
  • prerelease
  • custom build
  • Version: <1.6.1.13>

Dokan driver

  • stable
  • prerelease
  • custom build
  • Version: Dokany <1.0.3>

Enviroment

  • Windows version: <10>
  • Architecture:
  • Related software: <typically Windowsc Explorer/Total commander/TortoisseGit etc.>

Support

  • Usage: <personal/commercial> - <testing/development/production>
  • Your personal priority to solve this issue: <dontCare/low/med/high/top/urgent/ASAP/iCanPay/iWillSellMyOrgans>
  • Support ability: <programming .NET, can create pull request / deeptesting / investigate driver issues / donate others / etc.>

Got a message "connection failed to establish within 5000 milliseconds" when I ran "Mount", anyone know the reason?

@skliarie
Copy link

I have the same problem. The connection works properly when I am on a local network. When I am at home connecting to the office over VPN, the connection might take up to 8-15 seconds (putty/winscp). Thus it is clear that 5 seconds of win-sshfs is not enough.
But I could not find option to change the timeout. Please tell me where I can change this or add the option if necessary.

@mayou33
Copy link

mayou33 commented Sep 28, 2018

I have the same problem.

@bit2shift
Copy link

The workaround is to manually add this XML element to the desired drive in the config file:

<timeoutInterval i:type="a:int" xmlns="" xmlns:a="http://www.w3.org/2001/XMLSchema">30</timeoutInterval>

It's an hidden setting that seemingly appeared in PR #141 and, despite appearing to be hard-coded in the current source code, it's used in version 1.6.1.13.
Keep in mind that this setting will go away every time WinSshFS is closed.

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

No branches or pull requests

4 participants