Ipfs-desktop: failed update: failed to find latest fs-repo-migrations: net/http: TLS handshake timeout

Created on 25 Feb 2021  Â·  7Comments  Â·  Source: ipfs-shipyard/ipfs-desktop

Please describe what you were doing when this error happened.

Specifications

  • OS: win32
  • IPFS Desktop Version: 0.14.0
  • Electron Version: 11.2.3
  • Chrome Version: 87.0.4280.141

Error

TypeError: ctx.manualCheckForUpdates is not a function
    at click (E:\Program Files\IPFS Desktop\resources\app.asar\src\tray.js:216:30)
    at MenuItem.click (electron/js2c/browser_init.js:73:1683)
    at Object.a._executeCommand (electron/js2c/browser_init.js:81:2343)
arewindows kinbug neeauthor-input

All 7 comments

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@yagamiraku are you able to attach logs?

  1. Find IPFS Desktop/*.log files (usually C:/Windows/Users/$user/AppData/Roaming/IPFS Desktop/)
  2. Attach error.log and combined.log to this issue.

Thank you! I see it fails because it is unable to fetch fs-repo-migrations:

2021-02-27T04:26:15.323Z error: [ipfsd] start daemon Error: Initializing daemon...
go-ipfs version: 0.8.0
Repo version: 11
System version: amd64/windows
Golang version: go1.15.8
Found outdated fs-repo, migrations need to be run.
  => Looking for suitable fs-repo-migrations binary.
  => None found, downloading.
  => Failed to download fs-repo-migrations.
The migrations of fs-repo failed:
  failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmYRLRDKobvg1AXTGeK5Xk6ntWTsjGiHbyNKhWfz7koGpa/fs-repo-migrations/versions": net/http: TLS handshake timeout
If you think this is a bug, please file an issue and include this whole log output.
  https://github.com/ipfs/fs-repo-migrations


 Error: failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmYRLRDKobvg1AXTGeK5Xk6ntWTsjGiHbyNKhWfz7koGpa/fs-repo-migrations/versions": net/http: TLS handshake timeout 

I believe this is a new variant of https://github.com/ipfs-shipyard/ipfs-desktop/issues/1576 but ot fails at TLS handshake level.

@yagamiraku
Are you running any firewall/antivirus software than could be responsible for intercepting web traffic?
Or behind something like The Great Firewall of China?

The Great Firewall, Yes.
I can't open that version URL with out proxy,
Have any way to use socks5 proxy?

Thank you for your patience

@yagamiraku sadly no built-in socks5 support in ipfs-desktop nor go-ipfs at this time. We are determined to improve the upgrade mechanism, so it does not break for users behind the Great Firewall, but for now you need to fix it manually.

I think the way to fix things for you is to:

  1. Manually download the latest version of migration tool (fs-repo-migrations_v1.7.1_windows-amd64.zip) using some proxy
  2. Add unpacked fs-repo-migrations.exe to your PATH – on Windows it means copying .exe to C:\Windows\system32\ or manually adding some other directory via this interface
  3. Quit IPFS Desktop and start it again

Let us know if this worked.

It worked, thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lidel picture lidel  Â·  5Comments

Luflosi picture Luflosi  Â·  5Comments

bertrandfalguiere picture bertrandfalguiere  Â·  3Comments

machawk1 picture machawk1  Â·  5Comments

MicahZoltu picture MicahZoltu  Â·  5Comments