ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
15.83k stars 2.96k forks source link

websocket: failed to close network connection: close tcp #10416

Open phpmac opened 2 weeks ago

phpmac commented 2 weeks ago

Checklist

Installation method

ipfs-desktop

Version

No response

Config

No response

Description

[a](http://23.95.11.66:3000/projects/a)
/

ipfs

APP
CPU 0.4%
Memory 410.8 MB
Network I/O 244.1 MB / 158.8 MB
Edit to pin a message for this service
initializing IPFS node at /data/ipfs
Initializing daemon...
Kubo version: 0.28.0-e7f0f34
Repo version: 15
System version: amd64/linux
Golang version: go1.22.2
2024/05/04 18:58:32 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
Swarm listening on /ip4/10.0.1.174/tcp/4001
Swarm listening on /ip4/10.0.1.174/udp/4001/quic-v1
Swarm listening on /ip4/10.0.1.174/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /ip4/10.0.2.129/tcp/4001
Swarm listening on /ip4/10.0.2.129/udp/4001/quic-v1
Swarm listening on /ip4/10.0.2.129/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /ip4/172.19.0.20/tcp/4001
Swarm listening on /ip4/172.19.0.20/udp/4001/quic-v1
Swarm listening on /ip4/172.19.0.20/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm announcing /ip4/172.19.0.20/tcp/4001
Swarm announcing /ip4/172.19.0.20/udp/4001/quic-v1
Swarm announcing /ip4/172.19.0.20/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm announcing /ip4/23.95.11.66/udp/32980/quic-v1
Swarm announcing /ip4/23.95.11.66/udp/32980/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
RPC API server listening on /ip4/0.0.0.0/tcp/5001
WebUI: http://0.0.0.0:5001/webui
Gateway server listening on /ip4/0.0.0.0/tcp/8080
Daemon is ready
2024/05/04 18:58:56 websocket: failed to close network connection: close tcp 172.19.0.15:57232->145.40.118.135:443: use of closed network connection
2024/05/04 18:59:38 websocket: failed to close network connection: close tcp 172.19.0.20:58760->145.40.118.135:443: use of closed network connection
2024/05/04 19:00:47 websocket: failed to close network connection: close tcp 172.19.0.20:45834->172.64.144.159:443: use of closed network connection
2024/05/04 19:01:39 websocket: failed to close network connection: close tcp 172.19.0.20:43902->145.40.118.135:443: use of closed network connection
2024/05/04 19:02:04 websocket: failed to close network connection: close tcp 172.19.0.15:35512->145.40.118.135:443: use of closed network connection
2024/05/04 19:02:27 websocket: failed to close network connection: close tcp 172.19.0.20:56978->145.40.118.135:443: use of closed network connection
2024/05/04 19:04:11 websocket: failed to close network connection: close tcp 172.19.0.15:37282->145.40.118.135:443: use of closed network connection
2024/05/04 19:05:23 websocket: failed to close network connection: close tcp 172.19.0.15:33652->145.40.118.135:443: use of closed network connection
Changing user to ipfs
ipfs version 0.28.0
Found IPFS fs-repo at /data/ipfs
Initializing daemon...
Error: lock /data/ipfs/repo.lock: someone else has the lock
Kubo version: 0.28.0-e7f0f34
Repo version: 15
System version: amd64/linux
Golang version: go1.22.2

Use
+
K
to trigger search

Logs
Lines
50
initializing IPFS node at /data/ipfs
Initializing daemon...
Kubo version: 0.28.0-e7f0f34
Repo version: 15
System version: amd64/linux
Golang version: go1.22.2
2024/05/04 18:58:32 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
Swarm listening on /ip4/10.0.1.174/tcp/4001
Swarm listening on /ip4/10.0.1.174/udp/4001/quic-v1
Swarm listening on /ip4/10.0.1.174/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /ip4/10.0.2.129/tcp/4001
Swarm listening on /ip4/10.0.2.129/udp/4001/quic-v1
Swarm listening on /ip4/10.0.2.129/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /ip4/172.19.0.20/tcp/4001
Swarm listening on /ip4/172.19.0.20/udp/4001/quic-v1
Swarm listening on /ip4/172.19.0.20/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm announcing /ip4/172.19.0.20/tcp/4001
Swarm announcing /ip4/172.19.0.20/udp/4001/quic-v1
Swarm announcing /ip4/172.19.0.20/udp/4001/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
Swarm announcing /ip4/23.95.11.66/udp/32980/quic-v1
Swarm announcing /ip4/23.95.11.66/udp/32980/quic-v1/webtransport/certhash/uEiBC1lPftzpyh1tTvr_DmNbimm5r3TRhYrS6B3oB6hDInA/certhash/uEiDtaSGsb2bB2cqNMhCWw5rwGwbrK1eA1DAEqYfA5XyguQ
RPC API server listening on /ip4/0.0.0.0/tcp/5001
WebUI: http://0.0.0.0:5001/webui
Gateway server listening on /ip4/0.0.0.0/tcp/8080
Daemon is ready
2024/05/04 18:58:56 websocket: failed to close network connection: close tcp 172.19.0.15:57232->145.40.118.135:443: use of closed network connection
2024/05/04 18:59:38 websocket: failed to close network connection: close tcp 172.19.0.20:58760->145.40.118.135:443: use of closed network connection
2024/05/04 19:00:47 websocket: failed to close network connection: close tcp 172.19.0.20:45834->172.64.144.159:443: use of closed network connection
2024/05/04 19:01:39 websocket: failed to close network connection: close tcp 172.19.0.20:43902->145.40.118.135:443: use of closed network connection
2024/05/04 19:02:04 websocket: failed to close network connection: close tcp 172.19.0.15:35512->145.40.118.135:443: use of closed network connection
2024/05/04 19:02:27 websocket: failed to close network connection: close tcp 172.19.0.20:56978->145.40.118.135:443: use of closed network connection
2024/05/04 19:04:11 websocket: failed to close network connection: close tcp 172.19.0.15:37282->145.40.118.135:443: use of closed network connection
2024/05/04 19:05:23 websocket: failed to close network connection: close tcp 172.19.0.15:33652->145.40.118.135:443: use of closed network connection
Changing user to ipfs
ipfs version 0.28.0
Found IPFS fs-repo at /data/ipfs
Initializing daemon...
Error: lock /data/ipfs/repo.lock: someone else has the lock
Kubo version: 0.28.0-e7f0f34
Repo version: 15
System version: amd64/linux
Golang version: go1.22.2
pablomendezroyo commented 1 week ago

Can someone give more context about the criticality of this issue, please?

aschmahmann commented 1 week ago

This bug here seems to be obnoxious logging rather than some other underlying issue. It's going to be reverted in the next go-libp2p release (and will get propagated into the following kubo release) https://github.com/libp2p/go-libp2p/issues/2762.

phpmac commented 1 week ago

I built the error with docker. You can try it.

If I need to provide detailed information, it will be a few days later.

2024 年 5 月 6 日星期一 20:04, pablomendezroyo @.***(mailto:2024 年 5 月 6 日星期一 20:04, pablomendezroyo < 来信:

Can someone give more context about the criticality of this issue, please?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>