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

Protocol negotiation failed during connection #185

Open
yyforyongyu opened this issue May 19, 2024 · 0 comments
Open

Protocol negotiation failed during connection #185

yyforyongyu opened this issue May 19, 2024 · 0 comments

Comments

@yyforyongyu
Copy link
Contributor

It looks like a CSN cannot connect to a bridge node in regtest environment, and the negotiation fails at due to this wanted service,

wantServices := wire.SFNodeNetwork

Steps to Reproduce

Run a mining node, which is also a bridge node,

./utreexod --debuglevel=debug --regtest --rpcuser=yy --rpcpass=yy --miningaddr=bcrt1pnmrmugapastum8ztvgwcn8hvq2avmcwh2j4ssru7rtyygkpqq98q4wyd6s --rpclisten=127.0.0.1:18335 --listen=127.0.0.1:28335 --utreexoproofindex --nobanning

Run a utreexo node,

./utreexod --debuglevel=debug --regtest --rpcuser=yy --rpcpass=yy --rpclisten=127.0.0.1:18334 --listen=127.0.0.1:28334 --nobanning

Connect the utreexo node to the bridge,

./utreexoctl --regtest --rpcserver=127.0.0.1:18335 --rpcpass=yy --rpcuser=yy addnode "127.0.0.1:28334" add

Got the following error log,

2024-05-19 08:59:25.797 [DBG] SRVR: Rejecting peer 127.0.0.1:28334 (outbound) with services SFNodeNetworkLimited|SFNodeBloom|SFNodeWitness|SFNodeUtreexo due to not providing desired services SFNodeNetwork
2024-05-19 08:59:25.797 [DBG] PEER: Sending reject (cmd version, code REJECT_NONSTANDARD, reason required services 0x1 not offered) to 127.0.0.1:28334 (outbound)
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

1 participant