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

Serve basic HTTP response on the listen address #2963

Open
sisou opened this issue Oct 8, 2024 · 1 comment
Open

Serve basic HTTP response on the listen address #2963

sisou opened this issue Oct 8, 2024 · 1 comment

Comments

@sisou
Copy link
Member

sisou commented Oct 8, 2024

The PoW client served a basic, one-line HTTP 200 OK response on the listen address, and handled Websockets on the /ws path I think. See https://node.v2.test.nimiqwatch.com.

I don't know if it's possible to serve both WebSocket and HTTP response on the same path, and I think the PoS client is listening on the / root path, but could we maybe add another path to check for public availability?

The main reason for this feature request is that many validtors-to-be are struggling with the AutoNAT warning that their node is not publicly reachable and validator functionality won't be working (which is false in itself in my experience, it work's just fine even if you can only connect outbound).

So if we serve a basic HTTP response from the node, we don't have to muck around with telnet, wscat or a custom seed node config to test their public reachability.

@hrxi
Copy link
Contributor

hrxi commented Oct 11, 2024

Sounds useful to me.

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

2 participants