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

LISTEN method throws "invalid method encountered" #736

Open
reactormonk opened this issue Dec 8, 2024 · 1 comment
Open

LISTEN method throws "invalid method encountered" #736

reactormonk opened this issue Dec 8, 2024 · 1 comment

Comments

@reactormonk
Copy link

$ curl -X LISTEN http://localhost:8080/19829181987298719283123   
curl: (52) Empty reply from server

On the dhtnode side:

[238119.236169] [proxy:server] [connection:2] parser error HPE_INVALID_METHOD: Invalid method encountered

The official dhtproxy also gives the same answer:

$ curl -X LISTEN http://dhtproxy.jami.net:80/19829181987298719283123
curl: (52) Empty reply from server

So I suspect that this isn't something I built wrong.

@aberaud
Copy link
Member

aberaud commented Dec 17, 2024

The Github wiki is outdated (working on it)
the server REST API doesn't use custom HTTP methods anymore,
you can use for instance
curl http://dhtproxy.jami.net:80/key/2346ad27d7568ba9896f1b7da6b5991251debdf2/listen

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