ipfs/fs-repo-migrations

panic: qtls.ClientHelloInfo doesn't match

Peltoche opened this issue · 2 comments

Hello,

I tried to run the binary fs-repo-migration but it panics with the following output:

panic: qtls.ClientHelloInfo doesn't match

goroutine 1 [running]:
github.com/ipfs/fs-repo-migrations/ipfs-10-to-11/_vendor/github.com/marten-seemann/qtls-go1-15.init.0()
	/home/peltoche/go/pkg/mod/github.com/ipfs/fs-repo-migrations@v1.7.1/ipfs-10-to-11/_vendor/github.com/marten-seemann/qtls-go1-15/unsafe.go:20 +0x132

ipfs version: 0.12.2
go version: go1.18.1 linux/amd64
I have installed fs-repo-migration with the following command: go install github.com/ipfs/fs-repo-migrations@latest

I don't know how to resolve the error source but I found a quickfix if you only want to run the migration:

You can go to the distribution page and fetch directly the binary here.

See #156. Basically you need to build with Go 1.15 or Go 1.16 for that migration. Downloading the precompiled binaries does that for you.