{"record":{"id":"8effbe8a7650dbf6","repo":"hyperledger/fabric","slug":"failed-obtaining-gossip-config","errorCode":null,"errorMessage":"failed obtaining gossip config","messagePattern":"failed obtaining gossip config","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/peer/node/start.go","lineNumber":1253,"sourceCode":"\tlocalMSP := mgmt.GetLocalMSP(factory.GetDefault())\n\tdeserManager := peergossip.NewDeserializersManager(localMSP)\n\tmessageCryptoService := peergossip.NewMCS(\n\t\tpolicyMgr,\n\t\tsigner,\n\t\tdeserManager,\n\t\tfactory.GetDefault(),\n\t\tpeerInstance.GetChannelConfig,\n\t)\n\tsecAdv := peergossip.NewSecurityAdvisor(deserManager)\n\tbootstrap := viper.GetStringSlice(\"peer.gossip.bootstrap\")\n\n\tserviceConfig := gossipservice.GlobalConfig()\n\tif serviceConfig.Endpoint != \"\" {\n\t\tpeerAddress = serviceConfig.Endpoint\n\t}\n\tgossipConfig, err := gossipgossip.GlobalConfig(peerAddress, certs, bootstrap...)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"failed obtaining gossip config\")\n\t}\n\n\treturn gossipservice.New(\n\t\tsigner,\n\t\tgossipmetrics.NewGossipMetrics(metricsProvider),\n\t\tpeerAddress,\n\t\tpeerServer.Server(),\n\t\tmessageCryptoService,\n\t\tsecAdv,\n\t\tsecureDialOpts(credSupport),\n\t\tcredSupport,\n\t\tgossipConfig,\n\t\tserviceConfig,\n\t\tprivdataConfig,\n\t\tdeliverServiceConfig,\n\t)\n}\n","sourceCodeStart":1235,"sourceCodeEnd":1271,"githubUrl":"https://github.com/hyperledger/fabric/blob/2736b63f8fd5932511d56fe68b7039d15977f7f6/internal/peer/node/start.go#L1235-L1271","documentation":"Building the gossip layer's global config (gossipgossip.GlobalConfig) from core.yaml peer.gossip settings failed, e.g., an invalid bootstrap address or badly formed endpoint value; the wrapped cause identifies the offending setting.","triggerScenarios":"Thrown at internal/peer/node/start.go:1253 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Review peer.gossip.* settings in core.yaml, especially bootstrap and endpoint","Correct malformed host:port values","Restart the peer after fixing configuration"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2736b63f8fd5932511d56fe68b7039d15977f7f6","analyzedAt":"2026-09-04T08:52:36.465Z","contentChangedAt":"2026-09-04T08:52:36.465Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}