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

Luci errors on master : RPC call to luci/getFeatures failed with error -32000: Object not found #4555

Closed
curtdept opened this issue Oct 31, 2020 · 14 comments

Comments

@curtdept
Copy link

Fresh master branch build, Luci system rpc seems broken

Screenshot_20201031-004827_Chrome

@hnyman hnyman changed the title Luci errors on master Luci errors on master : RPC call to luci/getFeatures failed with error -32000: Object not found Oct 31, 2020
@hnyman
Copy link
Contributor

hnyman commented Oct 31, 2020

I see the same with LuCI Master (git-20.304.73778-5a485f8) / OpenWrt SNAPSHOT r14809-37ef2197e6

RPCError

RPC call to luci/getFeatures failed with error -32000: Object not found
  at handleCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:11:3)

or

RPCError
RPC call to luci/getFeatures failed with error -32000: Object not found
at handleCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:11:3)
at promise callback*parseCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:9:70)
at promise callback*call (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:5:110)
at declare/

And Firefox shows the exception/breakpoint as

Paused on exception
RPCError: RPC call to luci/getFeatures failed with error -32000: Object not found at handleCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:11:3) at promise callbackparseCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:9:70) at promise callbackcall (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:5:110) at declare/</< (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:23:320) at declare/< (https://192.168.1.1/luci-static/resources/rpc.js?v=git-20.304.73778-5a485f8:20:436) at probeSystemFeatures (https://192.168.1.1/luci-static/resources/luci.js?v=git-20.304.73778-5a485f8:188:162) at setupDOM (https://192.168.1.1/luci-static/resources/luci.js?v=git-20.304.73778-5a485f8:199:378) at promise callback*init (https://192.168.1.1/luci-static/resources/luci.js?v=git-20.304.73778-5a485f8:152:362) at ClassConstructor (https://192.168.1.1/luci-static/resources/luci.js?v=git-20.304.73778-5a485f8:11:78) at (https://192.168.1.1/cgi-bin/luci:38:6)

@ptpt52
Copy link
Contributor

ptpt52 commented Oct 31, 2020

same problem.

@peterwillcn
Copy link

same problem.
Screen Shot 2020-11-01 at 12 19 26 AM

@kiddin9
Copy link

kiddin9 commented Oct 31, 2020

same problem.
image

@MartB
Copy link
Contributor

MartB commented Oct 31, 2020

Can confirm this is indeed broken.

Same for the following and some others, ubus seems to have trouble on the current master.

ubus call luci getSwconfigPortState
Command failed: Not found

Edit:
Found it, its a syntax error.
See #4560 for the fix.

@curtdept
Copy link
Author

Rofl missing quotation mark, someone didn't run test.

@jow-
Copy link
Contributor

jow- commented Oct 31, 2020

Fixed by #4560

@jow- jow- closed this as completed Oct 31, 2020
@lynxthecat
Copy link

This is back, right(?):

RPC call to luci.wireguard/getWgInstances failed with error -32000: Object not found
at ClassConstructor.handleCallReply (http://192.168.1.1/luci-static/resources/rpc.js?v=git-21.226.86205-376af36:11:3)

image

@teqlee
Copy link

teqlee commented Sep 26, 2021

@lynxthecat
Confirm issue come back
RPCError RPC call to luci.wireguard/getWgInstances failed with error -32000: Object not found at ClassConstructor.handleCallReply (https://192.168.16.1/luci-static/resources/rpc.js?v=git-21.267.65414-1d9067b:11:3)

@lynxthecat
Copy link

So this needs to be reopened, right? Let us know what extra info if any needed!

@M95D
Copy link

M95D commented Oct 30, 2021

I think this issue needs to be re-open.
I get the getFeatures error if busybox symlinks are installed in /bin instead of /usr/bin (CONFIG_BUSYBOX_CONFIG_INSTALL_NO_USR).
The error is caused by missing /usr/bin/env. Creating just this symlink to busybox and rebooting fixes the luci error.

@rendiix
Copy link

rendiix commented Nov 10, 2022

same problem
Screenshot_20221110-203709407 (1)

@jow-
Copy link
Contributor

jow- commented Nov 10, 2022

Is rpcd-mod-ucode installed?

@lynxthecat
Copy link

lynxthecat commented Nov 10, 2022

Actually I have a slight suspicion this could be related to just needing to clean browser cache. Did you try that @rendiix? Developer mode -> hard reload in chrome I think.

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