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

v0.15.0-dev doesn't advertise supported protocols #1948

Closed
corverroos opened this issue Mar 27, 2023 · 0 comments
Closed

v0.15.0-dev doesn't advertise supported protocols #1948

corverroos opened this issue Mar 27, 2023 · 0 comments
Assignees
Labels
protocol Protocol Team tickets

Comments

@corverroos
Copy link
Contributor

🐞 Bug Report

Description

We added support for dynamic protocol matching to support both stream-delimited and length-delimited protocols.

This results in v0.14 client-side not being able to detect the supported server-side protocols. This results in peerinfo and some other protocols not to be enabled if one client is v0.14 and the other v0.15.

Proposed solution

See if dynamic protocol matching using tcpNode.SetStreamHandlerMatch can by updated to advertise protocols manually.

If not, first remove the protocol checking from the client side and remove dynamic matching. Release v0.15. Then add dynamic matching after that for v0.16.

@github-actions github-actions bot added the protocol Protocol Team tickets label Mar 27, 2023
@corverroos corverroos self-assigned this Mar 28, 2023
obol-bulldozer bot pushed a commit that referenced this issue Mar 28, 2023
Disable dynamic length delimited protocol negotation, postponing it until v0.16.0-dev release. 

This is because v0.14 still uses the naive `p2p.ProtocolSupported` which doesn't
support dynamically negotiated protocols. It only supports the static advertised protocols.
Our implementation of the length delimited protocol is dynamically negotiated so not supported
by v0.14. The upcoming v0.15.0 release must be compatible with v0.14.

category: bug
ticket: #1948
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocol Protocol Team tickets
Projects
None yet
Development

No branches or pull requests

1 participant