mkschreder / juci

JUCI JavaScript Webgui for embedded devices running OpenWRT
Other
388 stars 108 forks source link

Network connections page protocols error. #83

Closed dbrody2004 closed 6 years ago

dbrody2004 commented 6 years ago

Getting the following error on this page. I don't see protocols listed under ubus.

screen shot 2017-12-15 at 8 52 33 am screen shot 2017-12-15 at 8 53 14 am
mkschreder commented 6 years ago

./orange --host --username --password <juci login> list

This will list rpc objects exported by orangerpcd to juci.

you can find the client here: https://github.com/mkschreder/orangerpcd/blob/master/orange

On Fri, Dec 15, 2017 at 5:54 PM, dbrody2004 notifications@github.com wrote:

Getting the following error on this page. I don't see protocols listed under ubus.

[image: screen shot 2017-12-15 at 8 52 33 am] https://user-images.githubusercontent.com/4682241/34051998-6b1dce04-e175-11e7-86d0-ed1db0ee1f75.png

[image: screen shot 2017-12-15 at 8 53 14 am] https://user-images.githubusercontent.com/4682241/34052014-78222a8c-e175-11e7-916a-2b9398924c7f.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mkschreder/juci/issues/83, or mute the thread https://github.com/notifications/unsubscribe-auth/AERqibi9j0C0D6pidAzL_CxP0FjBsuo8ks5tAqQ1gaJpZM4RDvSE .

mkschreder commented 6 years ago

Check if $rpc.juci.network object exists. You can run orangerpcd with -vvvv flag manually (instead of through init.d) to dump details of all requests going back and forth and possibly figure out what the issue is.

On Fri, Dec 15, 2017 at 10:43 PM, Martin Schroeder < mkschreder.uk@googlemail.com> wrote:

./orange --host --username --password <juci login> list

This will list rpc objects exported by orangerpcd to juci.

you can find the client here: https://github.com/ mkschreder/orangerpcd/blob/master/orange

On Fri, Dec 15, 2017 at 5:54 PM, dbrody2004 notifications@github.com wrote:

Getting the following error on this page. I don't see protocols listed under ubus.

[image: screen shot 2017-12-15 at 8 52 33 am] https://user-images.githubusercontent.com/4682241/34051998-6b1dce04-e175-11e7-86d0-ed1db0ee1f75.png

[image: screen shot 2017-12-15 at 8 53 14 am] https://user-images.githubusercontent.com/4682241/34052014-78222a8c-e175-11e7-916a-2b9398924c7f.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mkschreder/juci/issues/83, or mute the thread https://github.com/notifications/unsubscribe-auth/AERqibi9j0C0D6pidAzL_CxP0FjBsuo8ks5tAqQ1gaJpZM4RDvSE .

mkschreder commented 6 years ago

A request arrives at lighttpd websocket proxy, gets forwarded to locally running orangerpcd websocket server, then gets dispatched to appropriate lua script within orangerpcd, then either through ubus command to ubus object or directly back to the client with structured data from lua which gets translated into json along the way.

On Fri, Dec 15, 2017 at 10:47 PM, Martin Schroeder < mkschreder.uk@googlemail.com> wrote:

Check if $rpc.juci.network object exists. You can run orangerpcd with -vvvv flag manually (instead of through init.d) to dump details of all requests going back and forth and possibly figure out what the issue is.

On Fri, Dec 15, 2017 at 10:43 PM, Martin Schroeder < mkschreder.uk@googlemail.com> wrote:

./orange --host --username --password <juci login> list

This will list rpc objects exported by orangerpcd to juci.

you can find the client here: https://github.com/mksch reder/orangerpcd/blob/master/orange

On Fri, Dec 15, 2017 at 5:54 PM, dbrody2004 notifications@github.com wrote:

Getting the following error on this page. I don't see protocols listed under ubus.

[image: screen shot 2017-12-15 at 8 52 33 am] https://user-images.githubusercontent.com/4682241/34051998-6b1dce04-e175-11e7-86d0-ed1db0ee1f75.png

[image: screen shot 2017-12-15 at 8 53 14 am] https://user-images.githubusercontent.com/4682241/34052014-78222a8c-e175-11e7-916a-2b9398924c7f.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mkschreder/juci/issues/83, or mute the thread https://github.com/notifications/unsubscribe-auth/AERqibi9j0C0D6pidAzL_CxP0FjBsuo8ks5tAqQ1gaJpZM4RDvSE .