Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: How to modify networkComponentsFactory create failed: no transports defined? pls #5737

Closed
1 task done
coinbase-op opened this issue Nov 25, 2023 · 2 comments
Closed
1 task done

Comments

@coinbase-op
Copy link

coinbase-op commented Nov 25, 2023

Please write the desired question

cmd:
node --log-save --log-level=*:DEBUG,core/dblookupext:WARN --log-logger-name --destination-shard-as-observer=$SHARD --validator-key-pem-file=/egld/keys/validatorKey.pem --rest-api-interface=0.0.0.0:8080

log:


INFO [2023-11-25 05:00:15.968] [factory]             p2p private key: generated a new private key for p2p signing
DEBUG[2023-11-25 05:00:15.968] [factory]             block sign pubkey                        value = b4f6d761593ba65535418daceacac87670de0d91a99f5729464dbad7d59c3d2a089c9cefa949c4b846d932d4d179af0d47f10cab07574221f5557950b6ebae2824406e67e51f872a96f9353db6ff98861dd6fe294966ad3f5dd03bc6125bd00a
DEBUG[2023-11-25 05:00:15.968] [node]                creating network components
DEBUG[2023-11-25 05:00:15.968] [p2p/libp2p]          generating random free port              range = 37373-38383
DEBUG[2023-11-25 05:00:15.970] [p2p/libp2p]          free port chosen                         port = 37763
DEBUG[2023-11-25 05:00:15.970] [p2p/libp2p]          connectionWatcherType                    type = disabled
ERROR[2023-11-25 05:00:15.970] [main]                networkComponentsFactory create failed: no transports defined

Code of Conduct

  • I agree to follow this project's Code of Conduct
@sstanculeanu
Copy link
Contributor

Hello,

This error suggests that your p2p.toml config file does not have any transport defined, so make sure you have the proper configs version. The default config has TCP predefined.

Here is the config section that seems to be missing:

@AdoAdoAdo
Copy link
Contributor

no more questions, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants