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

Sample RPC API code (python) doesn't work #861

Open
achacey opened this issue Dec 11, 2024 · 0 comments
Open

Sample RPC API code (python) doesn't work #861

achacey opened this issue Dec 11, 2024 · 0 comments

Comments

@achacey
Copy link

achacey commented Dec 11, 2024

I've been running this for ages on some ancient ASICs and it's been great. Just for fun, nothing serious. I finally got around to poking at the RPC API just to maybe get some metrics out of it for Prometheus or something, and I'm noticing it doesn't seem to work. I made a couple small changes to the supplied python code (changed the exception syntax, and encoded the command string to bytes for the send function). It sends the command and the other side just disconnects with no response.
It's possible I'm just dumb and it works fine for everyone else, and I know this isn't exactly an active project, but if anyone has any thoughts as to how to get the RPC to respond, that would be awesome.
Of course, I have api-listen on, I've tried with and without 127.0.0.1 explicitly allowed. It's all local to the machine, nothing over the actual network.
Thanks!

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