Skip to content

httpnet: move disconnect spam to DEBUG level #954

@lidel

Description

@lidel

Found in ipfs/kubo:master-2025-06-17-eb6cc02 as part of ipfs/kubo#10816:

Jun 17 16:22:34 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:34.752Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:34 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:34.836Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:34 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:34.936Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:35 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:35.571Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:35 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:35.755Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:35 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:35.803Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:35 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:35.869Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:36 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:36.160Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:38 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:38.353Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:38 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:38.795Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:40 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:40.759Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:43 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:43.606Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:43 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:43.671Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors
Jun 17 16:22:44 kubo-staging-us-east-02 ipfs[712417]: 2025-06-17T16:22:44.458Z        ERROR        httpnet        httpnet/msg_sender.go:525        fatal error. Disconnecting from QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp: urls exceeded server errors

I think the disconnect error events produced by automatic disconnect introduced in #919 should be moved to DEBUG level, otherwise it will be 99% of logs everywhere.

cc @hsanjuan thoughts? I would fix it myself, but this seems to be more involved than changing log level.

Metadata

Metadata

Assignees

Labels

need/triageNeeds initial labeling and prioritization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions