js-ceramic icon indicating copy to clipboard operation
js-ceramic copied to clipboard

Error: no supported interface

Open parv3213 opened this issue 1 year ago • 2 comments

Description

Get the following error while trying to run go-ipfs-daemon-

2022/08/08 09:20:55 [zeroconf] no suitable IPv4 interface: udp4: failed to join any of these interfaces: [{10 1500 eth0 02:42:ac:11:00:02 up|broadcast|multicast}]
2022/08/08 09:20:55 [zeroconf] no suitable IPv6 interface: udp6: failed to join any of these interfaces: [{10 1500 eth0 02:42:ac:11:00:02 up|broadcast|multicast}]
2022-08-08T09:20:55.218Z	ERROR	cmd/ipfs	ipfs/daemon.go:430	error from node construction: no supported interface

Technical Information

Steps to reproduce-

➜  ~ docker run\
  -p 5001:5001 \
  -p 8011:8011 \
  ceramicnetwork/go-ipfs-daemon \

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Changing user to ipfs
ipfs version 0.12.0
generating 2048-bit RSA keypair...done
peer identity: QmRJ3ts16isXCp8ayUGRVSizh64bw27K5WVvdqg7JpKW91
initializing IPFS node at /data/ipfs
to get started, enter:

	ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme

sh: true: unknown operand
Initializing daemon...
go-ipfs version: 0.12.0-06191df-dirty
Repo version: 12
System version: amd64/linux
Golang version: go1.16.7
2022/08/08 09:20:55 [zeroconf] no suitable IPv4 interface: udp4: failed to join any of these interfaces: [{10 1500 eth0 02:42:ac:11:00:02 up|broadcast|multicast}]
2022/08/08 09:20:55 [zeroconf] no suitable IPv6 interface: udp6: failed to join any of these interfaces: [{10 1500 eth0 02:42:ac:11:00:02 up|broadcast|multicast}]
2022-08-08T09:20:55.218Z	ERROR	cmd/ipfs	ipfs/daemon.go:430	error from node construction: no supported interface

Error: no supported interface
➜  ~ docker run --platform linux/amd64 \
  -p 5001:5001 \
  -p 8011:8011 \
  ceramicnetwork/go-ipfs-daemon \

Changing user to ipfs
ipfs version 0.12.0
generating 2048-bit RSA keypair...done
peer identity: QmUcJWMiKNx7hadx5WYZXdyny5rJieMyDy6hwUDuVaNj68
initializing IPFS node at /data/ipfs
to get started, enter:

	ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme

sh: true: unknown operand
Initializing daemon...
go-ipfs version: 0.12.0-06191df-dirty
Repo version: 12
System version: amd64/linux
Golang version: go1.16.7
2022/08/08 09:21:04 [zeroconf] no suitable IPv4 interface: udp4: failed to join any of these interfaces: [{12 1500 eth0 02:42:ac:11:00:02 up|broadcast|multicast}]
2022/08/08 09:21:04 [zeroconf] no suitable IPv6 interface: udp6: failed to join any of these interfaces: [{12 1500 eth0 02:42:ac:11:00:02 up|broadcast|multicast}]
2022-08-08T09:21:04.101Z	ERROR	cmd/ipfs	ipfs/daemon.go:430	error from node construction: no supported interface

Error: no supported interface

parv3213 avatar Aug 08 '22 10:08 parv3213

Facing the same issue on my mac m1, it seems related to this issue https://github.com/ipfs/kubo/issues/8645 and fixed in one of the latest kubo releases. I guess the version used in https://github.com/ceramicnetwork/go-ipfs-daemon needs to be updated.

pradel avatar Aug 08 '22 11:08 pradel

Thanks for the report. We are working on upgrading our ceramicnetwork/go-ipfs-daemon package to use the latest version of kubo. Will report back when that is complete

stbrody avatar Aug 17 '22 14:08 stbrody

Hi @parv3213, can you please try this again with the latest go-ipfs-daemon image? We've just updated to a newer version of kubo.

Also, thanks @pradel for the input!

smrz2001 avatar Sep 26 '22 17:09 smrz2001

Closing for now, until more data is available.

smrz2001 avatar Sep 28 '22 13:09 smrz2001